Skip to content

Commit

Permalink
Update StorageSync 2019-06-01 protocol with cloud tiering and recall …
Browse files Browse the repository at this point in the history
…status (#7161)

* introduce cloud tiering and recall status

* fix validation errors

* Additional validation fixes
  • Loading branch information
anpint authored and Juliehzl committed Sep 15, 2019
1 parent a2749ee commit 565b2be
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"azureFileShareName": "cvcloud-afscv-0719-058-a94a1354-a1fd-4e9a-9a50-919fad8c4ba4",
"storageAccountTenantId": "\"72f988bf-86f1-41af-91ab-2d7cd011db47\"",
"friendlyName": "ankushbsubscriptionmgmtmab"
},
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/cloudEndpoints"
}
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,13 @@
"storageSyncServiceName": "SampleStorageSyncService_1",
"serverId": "\"080d4133-bdb5-40a0-96a0-71a6057bfe9a\"",
"parameters": {
"name": "SampleServer-prod3.redmond.corp.microsoft.com",
"properties": {
"serverRole": "Standalone",
"serverCertificate": "\"MIIDFjCCAf6gAwIBAgIQQS+DS8uhc4VNzUkTw7wbRjANBgkqhkiG9w0BAQ0FADAzMTEwLwYDVQQDEyhhbmt1c2hiLXByb2QzLnJlZG1vbmQuY29ycC5taWNyb3NvZnQuY29tMB4XDTE3MDgwMzE3MDQyNFoXDTE4MDgwNDE3MDQyNFowMzExMC8GA1UEAxMoYW5rdXNoYi1wcm9kMy5yZWRtb25kLmNvcnAubWljcm9zb2Z0LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALDRvV4gmsIy6jGDPiHsXmvgVP749NNP7DopdlbHaNhjFmYINHl0uWylyaZmgJrROt2mnxN/zEyJtGnqYHlzUr4xvGq/qV5pqgdB9tag/sw9i22gfe9PRZ0FmSOZnXMbLYgLiDFqLtut5gHcOuWMj03YnkfoBEKlFBxWbagvW2yxz/Sxi9OVSJOKCaXra0RpcIHrO/KFl6ho2eE1/7Ykmfa8hZvSdoPd5gHdLiQcMB/pxq+mWp1fI6c8vFZoDu7Atn+NXTzYPKUxKzaisF12TsaKpohUsJpbB3Wocb0F5frn614D2pg14ERB5otjAMWw1m65csQWPI6dP8KIYe0+QPkCAwEAAaMmMCQwIgYDVR0lAQH/BBgwFgYIKwYBBQUHAwIGCisGAQQBgjcKAwwwDQYJKoZIhvcNAQENBQADggEBAA4RhVIBkw34M1RwakJgHvtjsOFxF1tVQA941NtLokx1l2Z8+GFQkcG4xpZSt+UN6wLerdCbnNhtkCErWUDeaT0jxk4g71Ofex7iM04crT4iHJr8mi96/XnhnkTUs+GDk12VgdeeNEczMZz+8Mxw9dJ5NCnYgTwO0SzGlclRsDvjzkLo8rh2ZG6n/jKrEyNXXo+hOqhupij0QbRP2Tvexdfw201kgN1jdZify8XzJ8Oi0bTS0KpJf2pNPOlooK2bjMUei9ANtEdXwwfVZGWvVh6tJjdv6k14wWWJ1L7zhA1IIVb1J+sQUzJji5iX0DrezjTz1Fg+gAzITaA/WsuujlM=\"",
"lastHeartBeat": "\"2017-08-08T18:29:06.470652Z\"",
"serverOSVersion": "10.0.14393.0",
"agentVersion": "1.0.277.0"
},
"type": "Microsoft.StorageSync/storageSyncServices/registeredServers"
}
},
"api-version": "2019-06-01"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"tierFilesOlderThanDays": 0,
"offlineDataTransfer": "on",
"offlineDataTransferShareName": "myfileshare"
},
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints"
}
},
"api-version": "2019-06-01"
},
Expand All @@ -41,7 +40,9 @@
"offlineDataTransfer": "on",
"offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa",
"offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"offlineDataTransferShareName": "myfileshare"
"offlineDataTransferShareName": "myfileshare",
"cloudTieringStatus": null,
"recallStatus": null
},
"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 @@ -17,7 +17,7 @@
"name": "SampleServerEndpoint_1",
"properties": {
"serverLocalPath": "D:\\SampleServerEndpoint_1",
"cloudTiering": "off",
"cloudTiering": "on",
"volumeFreeSpacePercent": 100,
"friendlyName": "somemachine.redmond.corp.microsoft.com",
"serverResourceId": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/registeredServers/080d4133-bdb5-40a0-96a0-71a6057bfe9a",
Expand Down Expand Up @@ -71,7 +71,31 @@
"offlineDataTransfer": "on",
"offlineDataTransferStorageAccountResourceId": "/subscriptions/744f4d70-6d17-4921-8970-a765d14f763f/resourceGroups/myRG/providers/Microsoft.Storage/storageAccounts/mysa",
"offlineDataTransferStorageAccountTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"offlineDataTransferShareName": "myfileshare"
"offlineDataTransferShareName": "myfileshare",
"cloudTieringStatus": {
"lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z",
"health": "Error",
"lastCloudTieringResult": -2134347771,
"lastSuccessTimestamp": "2018-06-11T23:32:51.1057915Z"
},
"recallStatus": {
"lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z",
"totalRecallErrorsCount": 30,
"recallErrors": [
{
"errorCode": -2134347775,
"count": 5
},
{
"errorCode": -2134347774,
"count": 10
},
{
"errorCode": -2134347773,
"count": 15
}
]
}
},
"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 @@ -111,7 +111,31 @@
"downloadActivity": null,
"offlineDataTransferStatus": "NotRunning"
},
"offlineDataTransfer": "off"
"offlineDataTransfer": "off",
"cloudTieringStatus": {
"lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z",
"health": "Error",
"lastCloudTieringResult": -2134347771,
"lastSuccessTimestamp": "2018-06-11T23:32:51.1057915Z"
},
"recallStatus": {
"lastUpdatedTimestamp": "2018-06-11T23:32:51.1057915Z",
"totalRecallErrorsCount": 30,
"recallErrors": [
{
"errorCode": -2134347775,
"count": 5
},
{
"errorCode": -2134347774,
"count": 10
},
{
"errorCode": -2134347773,
"count": 15
}
]
}
},
"id": "/subscriptions/52b8da2f-61e0-4a1f-8dde-336911f367fb/resourceGroups/SampleResourceGroup_1/providers/Microsoft.StorageSync/storageSyncServices/SampleStorageSyncService_1/syncGroups/SampleSyncGroup_1/serverEndpoints/SampleServerEndpoint_2",
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups/serverEndpoints"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"syncGroupName": "SampleSyncGroup_1",
"api-version": "2019-06-01",
"parameters": {
"type": "Microsoft.StorageSync/storageSyncServices/syncGroups"
"properties": {}
}
},
"responses": {
Expand Down
Loading

0 comments on commit 565b2be

Please sign in to comment.