Skip to content

Commit

Permalink
Add New ApiVersion 2020-03-01 (Azure#9480)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushbindlish2 authored and 00Kai0 committed Oct 12, 2020
1 parent 1dcb1e4 commit aeb211f
Show file tree
Hide file tree
Showing 47 changed files with 6,979 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3864,22 +3864,22 @@
"readOnly": true
},
"uploadStatus": {
"$ref": "#/definitions/ServerEndpointSyncSessionStatus",
"$ref": "#/definitions/SyncSessionStatus",
"description": "Upload Status",
"readOnly": true
},
"downloadStatus": {
"$ref": "#/definitions/ServerEndpointSyncSessionStatus",
"$ref": "#/definitions/SyncSessionStatus",
"description": "Download Status",
"readOnly": true
},
"uploadActivity": {
"$ref": "#/definitions/ServerEndpointSyncActivityStatus",
"$ref": "#/definitions/SyncActivityStatus",
"description": "Upload sync activity",
"readOnly": true
},
"downloadActivity": {
"$ref": "#/definitions/ServerEndpointSyncActivityStatus",
"$ref": "#/definitions/SyncActivityStatus",
"description": "Download sync activity",
"readOnly": true
},
Expand All @@ -3890,7 +3890,7 @@
}
}
},
"ServerEndpointSyncSessionStatus": {
"SyncSessionStatus": {
"type": "object",
"description": "Sync Session status object.",
"properties": {
Expand Down Expand Up @@ -3943,7 +3943,7 @@
}
}
},
"ServerEndpointSyncActivityStatus": {
"SyncActivityStatus": {
"type": "object",
"description": "Sync Session status object.",
"properties": {
Expand Down
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": "2020-03-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=2020-03-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=2020-03-01",
"Retry-After": "10",
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403",
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730"
}
}
}
}
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": "2020-03-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=2020-03-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=2020-03-01",
"Retry-After": "10",
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403",
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb",
"resourceGroupName": "SampleResourceGroup_1",
"storageSyncServiceName": "SampleStorageSyncService_1",
"syncGroupName": "SampleSyncGroup_1",
"cloudEndpointName": "SampleCloudEndpoint_1",
"api-version": "2020-03-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"
},
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb",
"resourceGroupName": "SampleResourceGroup_1",
"storageSyncServiceName": "SampleStorageSyncService_1",
"syncGroupName": "SampleSyncGroup_1",
"api-version": "2020-03-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"
},
"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"
}
]
}
}
}
}
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": "2020-03-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": {
"x-ms-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=2020-03-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"
}
}
}
}
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": "2020-03-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": {
"x-ms-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=2020-03-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"
}
}
}
}
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": "2020-03-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": {
"x-ms-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=2020-03-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"
}
}
}
}
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": "2020-03-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": {
"x-ms-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=2020-03-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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "52b8da2f-61e0-4a1f-8dde-336911f367fb",
"resourceGroupName": "SampleResourceGroup_1",
"storageSyncServiceName": "SampleStorageSyncService_1",
"syncGroupName": "SampleSyncGroup_1",
"cloudEndpointName": "SampleCloudEndpoint_1",
"api-version": "2020-03-01"
},
"responses": {
"200": {
"headers": {
"x-ms-request-id": "74e55a4d-1c6f-46de-9a8d-278e53a47403",
"x-ms-correlation-request-id": "d166ca76-dad2-49df-b409-d2acfd42d730"
}
}
}
}
Loading

0 comments on commit aeb211f

Please sign in to comment.