Skip to content

Az.StorageSync update for 2019-02-01 API version#8976

Merged
markcowl merged 8 commits intoAzure:masterfrom
anpint:updates-2019-02-01
Apr 22, 2019
Merged

Az.StorageSync update for 2019-02-01 API version#8976
markcowl merged 8 commits intoAzure:masterfrom
anpint:updates-2019-02-01

Conversation

@anpint
Copy link
Member

@anpint anpint commented Apr 9, 2019

Description

This PR contains changes required to support the new API version of Microsoft.StorageSync, 2019-02-01.
Swagger changes: Azure/azure-rest-api-specs#5210
SDK changes: Azure/azure-sdk-for-net#5596
The changes are as follows:

  • rename "StorageAccountShareName" property to "AzureFileShareName" in New-AzStorageSyncCloudEndpoint
  • Changes to SyncStatus property of Server Endpoint object to support parallel upload/download activity.

Checklist

@adxsdkps
Copy link
Collaborator

adxsdkps commented Apr 9, 2019

Can one of the admins verify this patch?

@maddieclayton
Copy link
Contributor

@azuresdkci Add to whitelist

@anpint
Copy link
Member Author

anpint commented Apr 10, 2019

Regarding these breaking changes:
3010 The property 'CurrentProgress' of type 'Microsoft.Azure.Commands.StorageSync.Models.PSServerEndpointHealth' has been removed.
3030 The generic type for 'property LastSyncPerItemErrorCount' has been changed from 'System.Nullable1[System.Int32]' to 'System.Nullable1[System.Int64]'.

Both of these changes reflect changes in our 2019-02-01 API version. CurrentProgress is no longer available in the protocol, nor does it make sense to keep it considering the new protocol behavior. LastSyncPerItemErrorCount was incorrectly defined as int32 in our protocol, and this has been corrected in the 2019-02-01 API version

…s, using Get-Location for resource group location, removing output breaking change attributes
@anpint anpint requested a review from maddieclayton April 20, 2019 01:50
@anpint anpint changed the title [Awaiting SDK Release] Az.StorageSync update for 2019-02-01 API version Az.StorageSync update for 2019-02-01 API version Apr 20, 2019
@markcowl markcowl assigned markcowl and unassigned anpint Apr 22, 2019
@markcowl markcowl merged commit 563486e into Azure:master Apr 22, 2019
shpimpal pushed a commit to shpimpal/azure-powershell that referenced this pull request May 2, 2019
Az.StorageSync update for 2019-02-01 API version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants