From e53cb2bc942d386c5e82ccde94a818d99c10751c Mon Sep 17 00:00:00 2001 From: Andre Pinto <31374863+anpint@users.noreply.github.com> Date: Wed, 9 Jun 2021 21:15:12 -0700 Subject: [PATCH] [StorageSync] Publish 2020-09-01 as stable API version (#14407) * DONOT COMMIT: Microsoft.StorageSync : Update Api Version 2020-09-01 (preview) for InitialUploadPolicy feature. (#11392) * update initialuploadpolicy * Update test for InitialUploadPolicy setting Co-authored-by: Manish Duggal * [Microsoft.StorageSync] change enumeration protocol changes for 2020-09-01 (#12793) * change eumeration protocol changes * fix unexpected changes * StorageSync new api version 2020-09-01 (#14005) * change * del * revert * Remove systemData changes (postponed to future API version) * run prettier * Address breaking changes and S360 item for default values * run prettier Co-authored-by: Andre Pinto Co-authored-by: Manishd79 Co-authored-by: Manish Duggal Co-authored-by: ankushbindlish2 <34896519+ankushbindlish2@users.noreply.github.com> --- .../examples/CloudEndpoints_Create.json | 0 .../examples/CloudEndpoints_Delete.json | 0 .../examples/CloudEndpoints_Get.json | 28 +- .../CloudEndpoints_ListBySyncGroup.json | 28 +- .../examples/CloudEndpoints_PostBackup.json | 0 .../examples/CloudEndpoints_PostRestore.json | 0 .../examples/CloudEndpoints_PreBackup.json | 0 .../examples/CloudEndpoints_PreRestore.json | 0 .../CloudEndpoints_RestoreHeatbeat.json | 0 ...CloudEndpoints_TriggerChangeDetection.json | 0 .../examples/OperationStatus_Get.json | 0 .../2020-09-01/examples/Operations_List.json | 0 .../PrivateEndpointConnections_Create.json | 0 .../PrivateEndpointConnections_Delete.json | 0 .../PrivateEndpointConnections_Get.json | 0 ...tConnections_ListByStorageSyncService.json | 0 .../examples/PrivateLinkResources_List.json | 0 .../examples/RegisteredServers_Create.json | 0 .../examples/RegisteredServers_Delete.json | 0 .../examples/RegisteredServers_Get.json | 0 ...teredServers_ListByStorageSyncService.json | 0 .../RegisteredServers_TriggerRollover.json | 0 .../examples/ServerEndpoints_Create.json | 6 +- .../examples/ServerEndpoints_Delete.json | 0 .../examples/ServerEndpoints_Get.json | 1 + .../ServerEndpoints_ListBySyncGroup.json | 4 +- .../examples/ServerEndpoints_Recall.json | 0 .../examples/ServerEndpoints_Update.json | 3 +- ...ceCheckNameAvailability_AlreadyExists.json | 0 ...erviceCheckNameAvailability_Available.json | 0 .../examples/StorageSyncServices_Create.json | 0 .../examples/StorageSyncServices_Delete.json | 0 .../examples/StorageSyncServices_Get.json | 0 ...orageSyncServices_ListByResourceGroup.json | 0 ...torageSyncServices_ListBySubscription.json | 0 .../examples/StorageSyncServices_Update.json | 0 .../examples/SyncGroups_Create.json | 0 .../examples/SyncGroups_Delete.json | 0 .../2020-09-01/examples/SyncGroups_Get.json | 0 .../SyncGroups_ListByStorageSyncService.json | 0 .../2020-09-01/examples/Workflows_Abort.json | 0 .../2020-09-01/examples/Workflows_Get.json | 0 .../Workflows_ListByStorageSyncService.json | 0 .../2020-09-01/storagesync.json | 284 +++++++++++++++--- .../storagesync/resource-manager/readme.go.md | 10 + .../storagesync/resource-manager/readme.md | 38 ++- .../resource-manager/readme.ruby.md | 11 + 47 files changed, 363 insertions(+), 50 deletions(-) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_Create.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_Get.json (57%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json (58%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_PostBackup.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_PostRestore.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_PreBackup.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_PreRestore.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_RestoreHeatbeat.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/CloudEndpoints_TriggerChangeDetection.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/OperationStatus_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/Operations_List.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/PrivateEndpointConnections_Create.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/PrivateEndpointConnections_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/PrivateEndpointConnections_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/PrivateLinkResources_List.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/RegisteredServers_Create.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/RegisteredServers_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/RegisteredServers_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/RegisteredServers_ListByStorageSyncService.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/RegisteredServers_TriggerRollover.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_Create.json (94%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_Get.json (99%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json (98%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_Recall.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/ServerEndpoints_Update.json (97%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_Create.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_ListBySubscription.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/StorageSyncServices_Update.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/SyncGroups_Create.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/SyncGroups_Delete.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/SyncGroups_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/SyncGroups_ListByStorageSyncService.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/Workflows_Abort.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/Workflows_Get.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/examples/Workflows_ListByStorageSyncService.json (100%) rename specification/storagesync/resource-manager/Microsoft.StorageSync/{preview => stable}/2020-09-01/storagesync.json (95%) diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Create.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Create.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Get.json similarity index 57% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Get.json index aa12f906e412..59e089aac143 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_Get.json @@ -23,7 +23,33 @@ "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" + "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" diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json similarity index 58% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json index d7ea0c467cb8..5090a349091a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_ListBySyncGroup.json @@ -24,7 +24,33 @@ "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" + "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" diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PostBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PostBackup.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PostBackup.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PostBackup.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PostRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PostRestore.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PostRestore.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PostRestore.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PreBackup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PreBackup.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PreBackup.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PreBackup.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PreRestore.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PreRestore.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_PreRestore.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_PreRestore.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_RestoreHeatbeat.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_RestoreHeatbeat.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_RestoreHeatbeat.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_RestoreHeatbeat.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_TriggerChangeDetection.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_TriggerChangeDetection.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/CloudEndpoints_TriggerChangeDetection.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/CloudEndpoints_TriggerChangeDetection.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/OperationStatus_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/OperationStatus_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/OperationStatus_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/OperationStatus_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Operations_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Operations_List.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Operations_List.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Operations_List.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Create.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Create.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateEndpointConnections_ListByStorageSyncService.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateLinkResources_List.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateLinkResources_List.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/PrivateLinkResources_List.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/PrivateLinkResources_List.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Create.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Create.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_ListByStorageSyncService.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_ListByStorageSyncService.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_ListByStorageSyncService.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_TriggerRollover.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_TriggerRollover.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/RegisteredServers_TriggerRollover.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/RegisteredServers_TriggerRollover.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Create.json similarity index 94% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Create.json index 25a3b2868d2c..788706e294e5 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Create.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Create.json @@ -15,7 +15,8 @@ "offlineDataTransfer": "on", "offlineDataTransferShareName": "myfileshare", "initialDownloadPolicy": "NamespaceThenModifiedFiles", - "localCacheMode": "UpdateLocallyCachedFiles" + "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "ServerAuthoritative" } }, "api-version": "2020-09-01" @@ -47,7 +48,8 @@ "cloudTieringStatus": null, "recallStatus": null, "initialDownloadPolicy": "NamespaceThenModifiedFiles", - "localCacheMode": "UpdateLocallyCachedFiles" + "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "ServerAuthoritative" }, "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Get.json similarity index 99% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Get.json index 67a99648af47..a99cfe0b568a 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Get.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Get.json @@ -75,6 +75,7 @@ "offlineDataTransferShareName": "myfileshare", "initialDownloadPolicy": "NamespaceThenModifiedFiles", "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "Merge", "cloudTieringStatus": { "lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z", "health": "Error", diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json similarity index 98% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json index 7b1f1e3acb73..eaff18580bb0 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_ListBySyncGroup.json @@ -61,7 +61,8 @@ "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "offlineDataTransferShareName": "myfileshare", "initialDownloadPolicy": "NamespaceThenModifiedFiles", - "localCacheMode": "UpdateLocallyCachedFiles" + "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "Merge" }, "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" @@ -81,6 +82,7 @@ "tierFilesOlderThanDays": 5, "initialDownloadPolicy": "NamespaceThenModifiedFiles", "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "Merge", "syncStatus": { "downloadHealth": "Healthy", "uploadHealth": "Healthy", diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Recall.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Recall.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Recall.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Recall.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json similarity index 97% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Update.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json index 9f1970e01f07..bb93e80863d1 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/ServerEndpoints_Update.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/ServerEndpoints_Update.json @@ -70,7 +70,8 @@ "offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "offlineDataTransferShareName": "myfileshare", "initialDownloadPolicy": "NamespaceThenModifiedFiles", - "localCacheMode": "UpdateLocallyCachedFiles" + "localCacheMode": "UpdateLocallyCachedFiles", + "initialUploadPolicy": "Merge" }, "id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_1", "type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints" diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_AlreadyExists.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServiceCheckNameAvailability_Available.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Create.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Create.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListByResourceGroup.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_ListBySubscription.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListBySubscription.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_ListBySubscription.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_ListBySubscription.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Update.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Update.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/StorageSyncServices_Update.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/StorageSyncServices_Update.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Create.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Create.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Create.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Create.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Delete.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Delete.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Delete.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Delete.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_ListByStorageSyncService.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/SyncGroups_ListByStorageSyncService.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/SyncGroups_ListByStorageSyncService.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_Abort.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_Abort.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_Abort.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_Abort.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_Get.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_Get.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_Get.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_Get.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_ListByStorageSyncService.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_ListByStorageSyncService.json similarity index 100% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/examples/Workflows_ListByStorageSyncService.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/examples/Workflows_ListByStorageSyncService.json diff --git a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/storagesync.json b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/storagesync.json similarity index 95% rename from specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/storagesync.json rename to specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/storagesync.json index 14a65f0b4501..6ca36b30eac1 100644 --- a/specification/storagesync/resource-manager/Microsoft.StorageSync/preview/2020-09-01/storagesync.json +++ b/specification/storagesync/resource-manager/Microsoft.StorageSync/stable/2020-09-01/storagesync.json @@ -3416,7 +3416,8 @@ "type": "integer", "minimum": 0, "maximum": 100, - "description": "Level of free space to be maintained by Cloud Tiering if it is enabled." + "description": "Level of free space to be maintained by Cloud Tiering if it is enabled.", + "default": 20 }, "tierFilesOlderThanDays": { "type": "integer", @@ -3442,11 +3443,18 @@ }, "initialDownloadPolicy": { "$ref": "#/definitions/InitialDownloadPolicy", - "description": "Policy for how namespace and files are recalled during FastDr." + "description": "Policy for how namespace and files are recalled during FastDr.", + "default": "NamespaceThenModifiedFiles" }, "localCacheMode": { "$ref": "#/definitions/LocalCacheMode", - "description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access." + "description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access.", + "default": "UpdateLocallyCachedFiles" + }, + "initialUploadPolicy": { + "$ref": "#/definitions/InitialUploadPolicy", + "description": "Policy for how the initial upload sync session is performed.", + "default": "Merge" } } }, @@ -4097,28 +4105,23 @@ "properties": { "lastStepName": { "type": "string", - "description": "last step name", - "readOnly": true + "description": "last step name" }, "status": { "$ref": "#/definitions/WorkflowStatus", - "description": "workflow status.", - "readOnly": true + "description": "workflow status." }, "operation": { "$ref": "#/definitions/OperationDirection", - "description": "operation direction.", - "readOnly": true + "description": "operation direction." }, "steps": { "type": "string", - "description": "workflow steps", - "readOnly": true + "description": "workflow steps" }, "lastOperationId": { "type": "string", - "description": "workflow last operation identifier.", - "readOnly": true + "description": "workflow last operation identifier." }, "commandName": { "type": "string", @@ -4184,19 +4187,15 @@ }, "serverManagementErrorCode": { "type": "integer", - "description": "Registered Server Management Error Code", - "readOnly": true + "description": "Registered Server Management Error Code" }, "lastHeartBeat": { "type": "string", - "format": "date-time", - "description": "Registered Server last heart beat", - "readOnly": true + "description": "Registered Server last heart beat" }, "provisioningState": { "type": "string", - "description": "Registered Server Provisioning State", - "readOnly": true + "description": "Registered Server Provisioning State" }, "serverRole": { "type": "string", @@ -4216,33 +4215,27 @@ }, "storageSyncServiceUid": { "type": "string", - "description": "Registered Server storageSyncServiceUid", - "readOnly": true + "description": "Registered Server storageSyncServiceUid" }, "lastWorkflowId": { "type": "string", - "description": "Registered Server lastWorkflowId", - "readOnly": true + "description": "Registered Server lastWorkflowId" }, "lastOperationName": { "type": "string", - "description": "Resource Last Operation Name", - "readOnly": true + "description": "Resource Last Operation Name" }, "discoveryEndpointUri": { "type": "string", - "description": "Resource discoveryEndpointUri", - "readOnly": true + "description": "Resource discoveryEndpointUri" }, "resourceLocation": { "type": "string", - "description": "Resource Location", - "readOnly": true + "description": "Resource Location" }, "serviceLocation": { "type": "string", - "description": "Service Location", - "readOnly": true + "description": "Service Location" }, "friendlyName": { "type": "string", @@ -4250,18 +4243,15 @@ }, "managementEndpointUri": { "type": "string", - "description": "Management Endpoint Uri", - "readOnly": true + "description": "Management Endpoint Uri" }, "monitoringEndpointUri": { "type": "string", - "description": "Telemetry Endpoint Uri", - "readOnly": true + "description": "Telemetry Endpoint Uri" }, "monitoringConfiguration": { "type": "string", - "description": "Monitoring Configuration", - "readOnly": true + "description": "Monitoring Configuration" }, "serverName": { "type": "string", @@ -4310,6 +4300,12 @@ "lastOperationName": { "type": "string", "description": "Resource Last Operation Name" + }, + "changeEnumerationStatus": { + "type": "object", + "$ref": "#/definitions/CloudEndpointChangeEnumerationStatus", + "description": "Cloud endpoint change enumeration status", + "readOnly": true } } }, @@ -4438,6 +4434,10 @@ "$ref": "#/definitions/LocalCacheMode", "description": "Policy for enabling follow-the-sun business models: link local cache to cloud behavior to pre-populate before local access." }, + "initialUploadPolicy": { + "$ref": "#/definitions/InitialUploadPolicy", + "description": "Policy for how the initial upload sync session is performed." + }, "serverName": { "type": "string", "description": "Server name", @@ -4621,6 +4621,13 @@ "$ref": "#/definitions/ServerEndpointSyncMode", "description": "Sync mode", "readOnly": true + }, + "sessionMinutesRemaining": { + "type": "integer", + "format": "int32", + "minimum": 0, + "description": "Session minutes remaining (if available)", + "readOnly": true } } }, @@ -4660,6 +4667,12 @@ "description": "Timestamp when properties were updated", "readOnly": true }, + "startedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when the operation started", + "readOnly": true + }, "percentProgress": { "type": "integer", "format": "int32", @@ -4753,6 +4766,18 @@ "modelAsString": true } }, + "InitialUploadPolicy": { + "type": "string", + "description": "Policy for how the initial upload sync session is performed.", + "enum": [ + "ServerAuthoritative", + "Merge" + ], + "x-ms-enum": { + "name": "InitialUploadPolicy", + "modelAsString": true + } + }, "ServerEndpointHealthState": { "type": "string", "description": "Type of the server endpoint health state", @@ -5162,6 +5187,189 @@ "name": "RegisteredServerAgentVersionStatus", "modelAsString": true } + }, + "CloudEndpointChangeEnumerationStatus": { + "type": "object", + "description": "Cloud endpoint change enumeration status object", + "properties": { + "lastUpdatedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last updated timestamp", + "readOnly": true + }, + "lastEnumerationStatus": { + "$ref": "#/definitions/CloudEndpointLastChangeEnumerationStatus", + "description": "Status of last completed change enumeration", + "readOnly": true + }, + "activity": { + "$ref": "#/definitions/CloudEndpointChangeEnumerationActivity", + "description": "Change enumeration activity", + "readOnly": true + } + } + }, + "CloudEndpointLastChangeEnumerationStatus": { + "type": "object", + "description": "Cloud endpoint change enumeration status object", + "properties": { + "startedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when change enumeration started", + "readOnly": true + }, + "completedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when change enumeration completed", + "readOnly": true + }, + "namespaceFilesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Count of files in the namespace", + "readOnly": true + }, + "namespaceDirectoriesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Count of directories in the namespace", + "readOnly": true + }, + "namespaceSizeBytes": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Namespace size in bytes", + "readOnly": true + }, + "nextRunTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp of when change enumeration is expected to run again", + "readOnly": true + } + } + }, + "CloudEndpointChangeEnumerationActivity": { + "type": "object", + "description": "Cloud endpoint change enumeration activity object", + "properties": { + "lastUpdatedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Last updated timestamp", + "readOnly": true + }, + "operationState": { + "$ref": "#/definitions/CloudEndpointChangeEnumerationActivityState", + "description": "Change enumeration operation state", + "readOnly": true + }, + "statusCode": { + "type": "integer", + "format": "int32", + "description": "When non-zero, indicates an issue that is delaying change enumeration", + "readOnly": true + }, + "startedTimestamp": { + "type": "string", + "format": "date-time", + "description": "Timestamp when change enumeration started", + "readOnly": true + }, + "processedFilesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Count of files processed", + "readOnly": true + }, + "processedDirectoriesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Count of directories processed", + "readOnly": true + }, + "totalFilesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Total count of files enumerated", + "readOnly": true + }, + "totalDirectoriesCount": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Total count of directories enumerated", + "readOnly": true + }, + "totalSizeBytes": { + "type": "integer", + "format": "int64", + "minimum": 0, + "description": "Total enumerated size in bytes", + "readOnly": true + }, + "progressPercent": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 100, + "description": "Progress percentage for change enumeration run, excluding processing of deletes", + "readOnly": true + }, + "minutesRemaining": { + "type": "integer", + "format": "int32", + "minimum": 0, + "description": "Estimate of time remaining for the enumeration run", + "readOnly": true + }, + "totalCountsState": { + "$ref": "#/definitions/CloudEndpointChangeEnumerationTotalCountsState", + "description": "Change enumeration total counts state", + "readOnly": true + }, + "deletesProgressPercent": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 100, + "description": "Progress percentage for processing deletes. This is done separately from the rest of the enumeration run", + "readOnly": true + } + } + }, + "CloudEndpointChangeEnumerationActivityState": { + "type": "string", + "description": "State of change enumeration activity", + "enum": [ + "InitialEnumerationInProgress", + "EnumerationInProgress" + ], + "x-ms-enum": { + "name": "CloudEndpointChangeEnumerationActivityState", + "modelAsString": true + } + }, + "CloudEndpointChangeEnumerationTotalCountsState": { + "type": "string", + "description": "State of the total counts of change enumeration activity", + "enum": [ + "Calculating", + "Final" + ], + "x-ms-enum": { + "name": "CloudEndpointChangeEnumerationTotalCountsState", + "modelAsString": true + } } }, "parameters": { diff --git a/specification/storagesync/resource-manager/readme.go.md b/specification/storagesync/resource-manager/readme.go.md index b3fdfce2d55b..2141845ca154 100644 --- a/specification/storagesync/resource-manager/readme.go.md +++ b/specification/storagesync/resource-manager/readme.go.md @@ -13,6 +13,7 @@ go: ``` yaml $(go) && $(multiapi) batch: + - tag: package-2020-09-01 - tag: package-2020-03-01 - tag: package-2019-10-01 - tag: package-2019-06-01 @@ -22,6 +23,15 @@ batch: - tag: package-2018-04-02 ``` +### Tag: package-2020-09-01 and go + +These settings apply only when `--tag=package-2020-09-01 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-09-01' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2020-09-01/$(namespace) +``` + ### Tag: package-2020-03-01 and go These settings apply only when `--tag=package-2020-03-01 --go` is specified on the command line. diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index abfbbe513a00..a92f035e71ca 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -26,17 +26,17 @@ These are the global settings for the Storage Sync API. ``` yaml openapi-type: arm -tag: package-preview-2020-09-01 +tag: package-2020-09-01 ``` -### Tag: package-preview-2020-09-01 +### Tag: package-2020-09-01 -These settings apply only when `--tag=package-preview-2020-09-01` is specified on the command line. +These settings apply only when `--tag=package-2020-09-01` is specified on the command line. -```yaml $(tag) == 'package-preview-2020-09-01' +```yaml $(tag) == 'package-2020-09-01' input-file: - - Microsoft.StorageSync/preview/2020-09-01/storagesync.json + - Microsoft.StorageSync/stable/2020-09-01/storagesync.json ``` ### Tag: package-2020-03-01 @@ -158,7 +158,33 @@ csharp: ## Python -See configuration in [readme.python.md](./readme.python.md) +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.storagesync + package-name: azure-mgmt-storagesync + package-version: 1.0.0 + clear-output-folder: true +``` + +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync +``` + +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync +``` ## Go diff --git a/specification/storagesync/resource-manager/readme.ruby.md b/specification/storagesync/resource-manager/readme.ruby.md index fc40a959dbd7..50b3a6cdd110 100644 --- a/specification/storagesync/resource-manager/readme.ruby.md +++ b/specification/storagesync/resource-manager/readme.ruby.md @@ -12,6 +12,7 @@ azure-arm: true ``` yaml $(ruby) && $(multiapi) batch: + - tag: package-2020-09-01 - tag: package-2020-03-01 - tag: package-2019-02-01 - tag: package-2018-10-01 @@ -19,6 +20,16 @@ batch: - tag: package-2018-04-02 ``` +### Tag: package-2020-09-01 and ruby + +These settings apply only when `--tag=package-2020-09-01 --ruby` is specified on the command line. +Please also specify `--ruby-sdks-folder=`. + +``` yaml $(tag) == 'package-2020-09-01' && $(ruby) +namespace: "Azure::StorageSync::Mgmt::V2020_09_01" +output-folder: $(ruby-sdks-folder)/management/azure_mgmt_storagesync_management/lib +``` + ### Tag: package-2020-03-01 and ruby These settings apply only when `--tag=package-2020-03-01 --ruby` is specified on the command line.