Skip to content

Commit fdd0dda

Browse files
Removing x-ms-flatten property (Azure#13929)
* manual changes for swagger * changes for long-running operations * changes for validate for backup and restore * removing 204 from operationResults * changes for a monitoring * adding format * removing date-time from duration * changing to readonly * changes for listRPs * fixes swagger * reverting readonly for scheduleTimes * fixes for checkgates * prettier fixes * cahnges for friendlyname checks * fixing gates * removing tracking-via * model validation fixes * powershell changes * adding stable version * changes for PatchResourceRequestInput * change for req fields * changes for description * changes * Updated swagger json for item level restore target info objects * Fixed spelling errors * Added missing required properties * removed auth credentials property * prettier fixes * Prettier fix * pr comments fixes * fixing readme * changes for go readme * Removed x-ms-flatten property (#2) * removed flatten prop * removing x-ms-flatten * removing friendlyName from req prop Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com> Co-authored-by: Mayank Aggarwal <mayaggar@microsoft.com> Co-authored-by: FAREAST\zakinkh <zakinkh@microsoft.com>
1 parent 45f4f47 commit fdd0dda

File tree

2 files changed

+12
-26
lines changed

2 files changed

+12
-26
lines changed

specification/dataprotection/resource-manager/Microsoft.DataProtection/preview/2021-02-01-preview/dataprotection.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,8 +2353,7 @@
23532353
"properties": {
23542354
"properties": {
23552355
"$ref": "#/definitions/AzureBackupRecoveryPoint",
2356-
"description": "AzureBackupRecoveryPointResource properties",
2357-
"x-ms-client-flatten": true
2356+
"description": "AzureBackupRecoveryPointResource properties"
23582357
}
23592358
},
23602359
"title": "AzureBackupRecoveryPointResource"
@@ -2572,7 +2571,6 @@
25722571
"BackupInstance": {
25732572
"description": "Backup Instance",
25742573
"required": [
2575-
"friendlyName",
25762574
"dataSourceInfo",
25772575
"policyInfo",
25782576
"objectType"
@@ -2648,8 +2646,7 @@
26482646
"properties": {
26492647
"properties": {
26502648
"$ref": "#/definitions/BackupInstance",
2651-
"description": "BackupInstanceResource properties",
2652-
"x-ms-client-flatten": true
2649+
"description": "BackupInstanceResource properties"
26532650
}
26542651
},
26552652
"title": "BackupInstanceResource"
@@ -2772,8 +2769,7 @@
27722769
"properties": {
27732770
"properties": {
27742771
"$ref": "#/definitions/BackupVault",
2775-
"description": "BackupVaultResource properties",
2776-
"x-ms-client-flatten": true
2772+
"description": "BackupVaultResource properties"
27772773
}
27782774
},
27792775
"required": [
@@ -2833,8 +2829,7 @@
28332829
"properties": {
28342830
"properties": {
28352831
"$ref": "#/definitions/BaseBackupPolicy",
2836-
"description": "BaseBackupPolicyResource properties",
2837-
"x-ms-client-flatten": true
2832+
"description": "BaseBackupPolicyResource properties"
28382833
}
28392834
},
28402835
"title": "BaseBackupPolicyResource"
@@ -3016,8 +3011,7 @@
30163011
},
30173012
"properties": {
30183013
"$ref": "#/definitions/ClientDiscoveryForProperties",
3019-
"description": "Properties for the given operation.",
3020-
"x-ms-client-flatten": true
3014+
"description": "Properties for the given operation."
30213015
}
30223016
},
30233017
"title": "ClientDiscoveryValueForSingleApi",
@@ -3835,8 +3829,7 @@
38353829
},
38363830
"properties": {
38373831
"$ref": "#/definitions/OperationExtendedInfo",
3838-
"description": "End time of the operation",
3839-
"x-ms-client-flatten": true
3832+
"description": "End time of the operation"
38403833
},
38413834
"startTime": {
38423835
"description": "Start time of the operation",

specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2021-01-01/dataprotection.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,8 +2353,7 @@
23532353
"properties": {
23542354
"properties": {
23552355
"$ref": "#/definitions/AzureBackupRecoveryPoint",
2356-
"description": "AzureBackupRecoveryPointResource properties",
2357-
"x-ms-client-flatten": true
2356+
"description": "AzureBackupRecoveryPointResource properties"
23582357
}
23592358
},
23602359
"title": "AzureBackupRecoveryPointResource"
@@ -2572,7 +2571,6 @@
25722571
"BackupInstance": {
25732572
"description": "Backup Instance",
25742573
"required": [
2575-
"friendlyName",
25762574
"dataSourceInfo",
25772575
"policyInfo",
25782576
"objectType"
@@ -2648,8 +2646,7 @@
26482646
"properties": {
26492647
"properties": {
26502648
"$ref": "#/definitions/BackupInstance",
2651-
"description": "BackupInstanceResource properties",
2652-
"x-ms-client-flatten": true
2649+
"description": "BackupInstanceResource properties"
26532650
}
26542651
},
26552652
"title": "BackupInstanceResource"
@@ -2772,8 +2769,7 @@
27722769
"properties": {
27732770
"properties": {
27742771
"$ref": "#/definitions/BackupVault",
2775-
"description": "BackupVaultResource properties",
2776-
"x-ms-client-flatten": true
2772+
"description": "BackupVaultResource properties"
27772773
}
27782774
},
27792775
"required": [
@@ -2833,8 +2829,7 @@
28332829
"properties": {
28342830
"properties": {
28352831
"$ref": "#/definitions/BaseBackupPolicy",
2836-
"description": "BaseBackupPolicyResource properties",
2837-
"x-ms-client-flatten": true
2832+
"description": "BaseBackupPolicyResource properties"
28382833
}
28392834
},
28402835
"title": "BaseBackupPolicyResource"
@@ -3016,8 +3011,7 @@
30163011
},
30173012
"properties": {
30183013
"$ref": "#/definitions/ClientDiscoveryForProperties",
3019-
"description": "Properties for the given operation.",
3020-
"x-ms-client-flatten": true
3014+
"description": "Properties for the given operation."
30213015
}
30223016
},
30233017
"title": "ClientDiscoveryValueForSingleApi",
@@ -3835,8 +3829,7 @@
38353829
},
38363830
"properties": {
38373831
"$ref": "#/definitions/OperationExtendedInfo",
3838-
"description": "End time of the operation",
3839-
"x-ms-client-flatten": true
3832+
"description": "End time of the operation"
38403833
},
38413834
"startTime": {
38423835
"description": "Start time of the operation",

0 commit comments

Comments
 (0)