Skip to content

Commit

Permalink
Swagger changes for MFA work (Azure#15577)
Browse files Browse the repository at this point in the history
* Baseline changes for API version 2021-07-01

* Made the new changes related to API version 2021-07-01

* Fixing Lintdiff failure

* resolved PR comments

* Fixing validation failures

* Fix the validation failures

* Made lintdiff failures

* Resolved PR comments

* Fixing validation failures

* Resolved PR comments

Co-authored-by: Madhumanti Dey <madhude@microsoft.com>
  • Loading branch information
deymadhumanti and madhude authored Aug 19, 2021
1 parent 597969d commit 30d1537
Show file tree
Hide file tree
Showing 145 changed files with 24,423 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "000pikumar",
"vaultName": "PratikPrivatePreviewVault1",
"backupInstanceName": "testInstance1",
"api-version": "2021-07-01"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-07-01",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/providers/Microsoft.DataProtection/locations/westus/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2021-07-01",
"Retry-After": "60"
}
},
"204": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "Blob-Backup",
"vaultName": "ZBlobBackupVaultBVTD3",
"backupInstanceName": "zblobbackuptestsa58",
"api-version": "2021-07-01",
"parameters": {
"sourceDataStoreType": "OperationalStore",
"startTime": "2020-10-17T23:28:17.6829685Z",
"endTime": "2021-02-24T00:35:17.6829685Z"
}
},
"responses": {
"200": {
"body": {
"id": "zblobbackuptestsa58",
"type": "Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges",
"properties": {
"restorableTimeRanges": [
{
"startTime": "2021-02-23T18:33:51.6349708Z",
"endTime": "2021-02-24T00:35:17.0000000Z",
"objectType": "RestorableTimeRange"
}
],
"objectType": "AzureBackupFindRestorableTimeRangesResponse"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "000pikumar",
"vaultName": "PratikPrivatePreviewVault1",
"api-version": "2021-07-01",
"backupInstanceName": "testInstance1"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2"
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioning",
"objectType": "BackupInstance"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "000pikumar",
"vaultName": "PratikPrivatePreviewVault1",
"api-version": "2021-07-01",
"backupInstanceName": "testInstance1",
"recoveryPointId": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
"name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
"type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints",
"properties": {
"objectType": "AzureBackupDiscreteRecoveryPoint",
"recoveryPointTime": "2019-03-01T13:00:00Z",
"recoveryPointType": "Full",
"friendlyName": "panbha4",
"recoveryPointDataStoresDetails": [
{
"id": "0ff03512-b333-4509-a6c7-12164c8b1dce",
"type": "Snapshot",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
},
{
"id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1",
"type": "BackupStorage",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "000pikumar",
"vaultName": "PratikPrivatePreviewVault1",
"api-version": "2021-07-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/harshitbi2",
"name": "harshitbi2",
"type": "Microsoft.DataProtection/backupVaults/backupInstances",
"properties": {
"friendlyName": "harshitbi2",
"dataSourceInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest/databases/testdb",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "testdb",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "Datasource"
},
"dataSourceSetInfo": {
"resourceID": "/subscriptions/f75d8d8b-6735-4697-82e1-1a7a3ff0d5d4/resourceGroups/viveksipgtest/providers/Microsoft.DBforPostgreSQL/servers/viveksipgtest",
"resourceUri": "",
"datasourceType": "OssDB",
"resourceName": "viveksipgtest",
"resourceType": "OssDB",
"resourceLocation": "",
"objectType": "DatasourceSet"
},
"policyInfo": {
"policyId": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupPolicies/PratikPolicy1",
"policyVersion": "3.2"
},
"protectionStatus": {
"status": "NotProtected"
},
"provisioningState": "Provisioning",
"objectType": "BackupInstance"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"parameters": {
"subscriptionId": "04cf684a-d41f-4550-9f70-7708a3a2283b",
"resourceGroupName": "000pikumar",
"vaultName": "PratikPrivatePreviewVault1",
"api-version": "2021-07-01",
"backupInstanceName": "testInstance1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
"name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5e35",
"type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints",
"properties": {
"objectType": "AzureBackupDiscreteRecoveryPoint",
"recoveryPointTime": "2019-03-01T13:00:00Z",
"recoveryPointType": "Full",
"friendlyName": "panbha4",
"recoveryPointDataStoresDetails": [
{
"id": "0ff03512-b333-4509-a6c7-12164c8b1dce",
"type": "Snapshot",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
},
{
"id": "5d8cfd30-722e-4bab-85f6-4a9d01ffc6f1",
"type": "BackupStorage",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
}
]
}
},
{
"id": "/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/HelloTest/providers/Microsoft.DataProtection/backupVaults/HelloTestVault/backupInstances/653213d-c5b3-44f6-a0d9-db3c4f9d8e34/recoveryPoints/7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
"name": "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25",
"type": "microsoft.dataprotection/backupvaults/backupInstances/recoveryPoints",
"properties": {
"objectType": "AzureBackupDiscreteRecoveryPoint",
"recoveryPointTime": "2019-03-01T13:00:00Z",
"recoveryPointType": "Full",
"friendlyName": "panbha4",
"recoveryPointDataStoresDetails": [
{
"id": "808cfd30-722e-4bab-85f6-4a9d01ffc6f2",
"type": "Snapshot",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
},
{
"id": "798cfd30-722e-4bab-85f6-4a9d01ffc6f3",
"type": "BackupStorage",
"creationTime": "2019-03-01T13:00:00Z",
"metaData": "123456"
}
]
}
}
]
}
}
}
}
Loading

0 comments on commit 30d1537

Please sign in to comment.