-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.StorageSync to add versi…
…on stable/2022-09-01 (#26082) * Adds base for updating Microsoft.StorageSync from version stable/2022-06-01 to version 2022-09-01 * Updates readme * Updates API version in new specs and examples * Update 2022-09-01 Api version with Managed IDentity and FAst Drv2 features * prettier fix cd D:\code\azure-rest-api-specs\specification\storagesync npm install npx prettier --check **/*.json npx prettier --write **/*.json * Model Validation Fix D:\code\azure-rest-api-specs\specification\storagesync>oav validate-example D:\code\azure-rest-api-specs\specification\storagesync\resource-manager\Microsoft.StorageSync\stable\2022-09-01\storagesync.json Issues : Casing in properties Identity request and response type incorrect property name * Location header name fix * Linter fixes * Update storagesync.json * Fix Identity and useidentity linter errors * Update RegisteredServers_Update.json * Update * Fix x-ms-identifiers * Updating identity to put server to unblock sdk build * Update storagesync.json * revert * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update storagesync.json * Update * update * Update storagesync.json * Update storagesync.json
- Loading branch information
1 parent
afa158e
commit 077f1f8
Showing
49 changed files
with
9,219 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...Sync/stable/2022-09-01/examples/CloudEndpoints_AfsShareMetadataCertificatePublicKeys.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
}, | ||
"body": { | ||
"firstKey": "key1", | ||
"secondKey": "key2" | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...ource-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01", | ||
"parameters": { | ||
"properties": { | ||
"storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", | ||
"azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", | ||
"storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", | ||
"friendlyName": "ankushbsubscriptionmgmtmab" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
}, | ||
"body": { | ||
"name": "SampleCloudEndpoint_1", | ||
"properties": { | ||
"backupEnabled": "false", | ||
"provisioningState": "Succeeded", | ||
"storageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/tminienv59svc/providers/Microsoft.Storage/storageAccounts/tminienv59storage", | ||
"azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4", | ||
"storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"", | ||
"friendlyName": "ankushbsubscriptionmgmtmab", | ||
"lastWorkflowId": "storageSyncServices/GATest/workflows/24ba0c4a-348e-419b-8f7a-091d0d9f07a4", | ||
"partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8RjhDODcwQTItMkFGNi00NDUyLTgzMDgtRjJCQTZEQjI3RkEwfEdFTkVSSUN8NTJCOERBMkYtNjFFMC00QTFGLThEREUtMzM2OTExRjM2N0ZC", | ||
"lastOperationName": "ICreateCloudEndpointWorkflow" | ||
}, | ||
"id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1", | ||
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operations/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2022-09-01", | ||
"Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncservice_1/workflows/c1d54be7-4738-4898-8212-cc36774314f8/operationresults/7ce689b2-0eca-48f5-86f0-0b8d6ceef14a?api-version=2022-09-01", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ource-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operations/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2022-09-01", | ||
"Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/78a71465-77ef-4509-a026-2c0cd8b30208/operationresults/2d7f573a-7acd-4a3c-9425-fed7d029c69d?api-version=2022-09-01", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
...resource-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
}, | ||
"body": { | ||
"name": "SampleCloudEndpoint_1", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"storageAccountResourceId": "", | ||
"azureFileShareName": "", | ||
"storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", | ||
"lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", | ||
"friendlyName": "SampleAzureFileShareName_1", | ||
"partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5USEZTVjJ8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", | ||
"lastOperationName": "ICreateCloudEndpointWorkflow", | ||
"changeEnumerationStatus": { | ||
"lastUpdatedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"lastEnumerationStatus": { | ||
"startedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"completedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"namespaceFilesCount": 3489, | ||
"namespaceDirectoriesCount": 28, | ||
"namespaceSizeBytes": 3248804, | ||
"nextRunTimestamp": "2019-04-17T19:14:59.0961891Z" | ||
}, | ||
"activity": { | ||
"lastUpdatedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"operationState": "EnumerationInProgress", | ||
"statusCode": 0, | ||
"startedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"processedFilesCount": 6948, | ||
"processedDirectoriesCount": 364, | ||
"totalFilesCount": 12834, | ||
"totalDirectoriesCount": 694, | ||
"totalSizeBytes": 5782301239408, | ||
"progressPercent": 67, | ||
"minutesRemaining": 589, | ||
"totalCountsState": "Final", | ||
"deletesProgressPercent": 12 | ||
} | ||
} | ||
}, | ||
"id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", | ||
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" | ||
} | ||
} | ||
} | ||
} |
62 changes: 62 additions & 0 deletions
62
...ager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_ListBySyncGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "CEP_Restore_08-08_Test112", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"storageAccountResourceId": "", | ||
"azureFileShareName": "", | ||
"storageAccountTenantId": "\"a4d1b191-c1af-4cef-a14b-f670e0beea52\"", | ||
"lastWorkflowId": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/workflows/a377fdd5-949a-40ab-9629-06cd0e9852f9", | ||
"friendlyName": "SampleAzureFileShareName_1", | ||
"partnershipId": "1|U0VSVkVSQVNTWU5DQ0xJRU5Udfsdfdsfs8MTkxNjYwQ0QtNkExQS00RjhDLTk3ODctQTZCRUQyMDZBMUREfEdFTkVSSUN8M0EwNDgyODMtMzM4Ri00MDAyLUE5REQtQTUwRkRBRENCMzky", | ||
"lastOperationName": "ICreateCloudEndpointWorkflow", | ||
"changeEnumerationStatus": { | ||
"lastUpdatedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"lastEnumerationStatus": { | ||
"startedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"completedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"namespaceFilesCount": 3489, | ||
"namespaceDirectoriesCount": 28, | ||
"namespaceSizeBytes": 3248804, | ||
"nextRunTimestamp": "2019-04-17T19:14:59.0961891Z" | ||
}, | ||
"activity": { | ||
"lastUpdatedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"operationState": "Delayed", | ||
"statusCode": -1, | ||
"startedTimestamp": "2019-04-17T19:14:59.0961891Z", | ||
"processedFilesCount": 6948, | ||
"processedDirectoriesCount": 364, | ||
"totalFilesCount": 12834, | ||
"totalDirectoriesCount": 694, | ||
"totalSizeBytes": 5782301239408, | ||
"progressPercent": 67, | ||
"minutesRemaining": 589, | ||
"totalCountsState": "Calculating", | ||
"deletesProgressPercent": null | ||
} | ||
} | ||
}, | ||
"id": "/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SyncGroup_Restore_08-08_Test112/cloudEndpoints/CEP_Restore_08-08_Test112", | ||
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...e-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_PostBackup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"parameters": { | ||
"azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" | ||
}, | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
}, | ||
"body": { | ||
"backupMetadata": { | ||
"cloudEndpointName": "subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/cloudEndpoints/SampleCloudEndpoint_1" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/baa40401-b043-4d1b-a80b-cb4e79fa1398?api-version=2022-09-01&resourcetype=PostBackupResourceType&ifxctx3=1847a938-7638-4d1b-943c-96ff2f8a2ec8", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_PostRestore.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"parameters": { | ||
"azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", | ||
"sourceAzureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", | ||
"status": "Succeeded", | ||
"restoreFileSpec": [ | ||
{ | ||
"path": "text1.txt", | ||
"isdir": false | ||
}, | ||
{ | ||
"path": "MyDir", | ||
"isdir": true | ||
}, | ||
{ | ||
"path": "MyDir/SubDir", | ||
"isdir": false | ||
}, | ||
{ | ||
"path": "MyDir/SubDir/File1.pdf", | ||
"isdir": false | ||
} | ||
] | ||
}, | ||
"api-version": "2022-09-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2022-09-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...ce-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_PreBackup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01", | ||
"parameters": { | ||
"azureFileShare": "https://sampleserver.file.core.test-cint.azure-test.net/sampleFileShare" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2022-09-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
} | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
...e-manager/Microsoft.StorageSync/stable/2022-09-01/examples/CloudEndpoints_PreRestore.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb", | ||
"resourceGroupName": "SampleResourceGroup_1", | ||
"storageSyncServiceName": "SampleStorageSyncService_1", | ||
"syncGroupName": "SampleSyncGroup_1", | ||
"cloudEndpointName": "SampleCloudEndpoint_1", | ||
"api-version": "2022-09-01", | ||
"parameters": { | ||
"azureFileShareUri": "https://hfsazbackupdevintncus2.file.core.test-cint.azure-test.net/sampleFileShare", | ||
"restoreFileSpec": [ | ||
{ | ||
"path": "text1.txt", | ||
"isdir": false | ||
}, | ||
{ | ||
"path": "MyDir", | ||
"isdir": true | ||
}, | ||
{ | ||
"path": "MyDir/SubDir", | ||
"isdir": false | ||
}, | ||
{ | ||
"path": "MyDir/SubDir/File1.pdf", | ||
"isdir": false | ||
} | ||
] | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Location": "https: //management.azure.com/subscriptions/3a048283-338f-4002-a9dd-a50fdadcb392/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/HfsMabFS1/syncGroups/HfsMabDS1/cloudEndpoints/HfsMabCE1/operationresults/d67cfb91-1b13-4710-8226-83467bb5b66d?api-version=2022-09-01&resourcetype=preBackupResourceType&ifxctx3=005909ad-d156-4514-a26e-dd1cc566db64", | ||
"Retry-After": "10", | ||
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403", | ||
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.