Skip to content

Commit

Permalink
[StorageSync] Publish 2020-09-01 as stable API version (Azure#14407)
Browse files Browse the repository at this point in the history
* DONOT COMMIT: Microsoft.StorageSync : Update Api Version 2020-09-01 (preview) for InitialUploadPolicy feature. (Azure#11392)

* update initialuploadpolicy

* Update test for InitialUploadPolicy setting

Co-authored-by: Manish Duggal <[email protected]>

* [Microsoft.StorageSync] change enumeration protocol changes for 2020-09-01 (Azure#12793)

* change eumeration protocol changes

* fix unexpected changes

* StorageSync new api version 2020-09-01 (Azure#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 <[email protected]>

Co-authored-by: Manishd79 <[email protected]>
Co-authored-by: Manish Duggal <[email protected]>
Co-authored-by: ankushbindlish2 <[email protected]>
  • Loading branch information
4 people authored and Andrew Sager committed Jun 24, 2021
1 parent 2369221 commit 441740d
Show file tree
Hide file tree
Showing 47 changed files with 363 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"offlineDataTransfer": "on",
"offlineDataTransferShareName": "myfileshare",
"initialDownloadPolicy": "NamespaceThenModifiedFiles",
"localCacheMode": "UpdateLocallyCachedFiles"
"localCacheMode": "UpdateLocallyCachedFiles",
"initialUploadPolicy": "ServerAuthoritative"
}
},
"api-version": "2020-09-01"
Expand Down Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"offlineDataTransferShareName": "myfileshare",
"initialDownloadPolicy": "NamespaceThenModifiedFiles",
"localCacheMode": "UpdateLocallyCachedFiles",
"initialUploadPolicy": "Merge",
"cloudTieringStatus": {
"lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z",
"health": "Error",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -81,6 +82,7 @@
"tierFilesOlderThanDays": 5,
"initialDownloadPolicy": "NamespaceThenModifiedFiles",
"localCacheMode": "UpdateLocallyCachedFiles",
"initialUploadPolicy": "Merge",
"syncStatus": {
"downloadHealth": "Healthy",
"uploadHealth": "Healthy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading

0 comments on commit 441740d

Please sign in to comment.