Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.StorageSync : Update Api Version 2020-09-01 (preview) for InitialUploadPolicy feature. #11392

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number Diff line number Diff line change
Expand Up @@ -3447,6 +3447,10 @@
"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."
},
"initialUploadPolicy": {
"$ref": "#/definitions/InitialUploadPolicy",
"description": "Policy for how the initial upload sync session is performed."
}
}
},
Expand Down Expand Up @@ -4438,6 +4442,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",
Expand Down Expand Up @@ -4753,6 +4761,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",
Expand Down