From 5e7a1e427f71b84a2f7c255064fc6f90246341d5 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 4 Jun 2019 10:40:54 -0700 Subject: [PATCH] [AutoPR netapp/resource-manager] Essential corrections to R4 standard swagger for GA (#4861) * Generated from 3c2d64eec013f8a6a4666a83a2e3daf9fd44b821 Merge pull request #25 from leonardbf/NFSAAS-2436-R4-corrections NFSAAS-2436 corrections to R4 standard * Generated from f897f2476e09958144c8dd8f3db8699ee6636763 Merge pull request #26 from leonardbf/NFSAAS-2436-R4-corrections NFSAAS-2436 corrections to R4 standard * Generated from 81ff9dd1f123face9e3dae304a8971234c6a5542 Merge pull request #28 from leonardbf/NFSAAS-2436-R4-corrections NFSAAS-2436 corrections to R4 standard --- profiles/latest/netapp/mgmt/netapp/models.go | 8 +++--- profiles/preview/netapp/mgmt/netapp/models.go | 8 +++--- .../netapp/mgmt/2019-05-01/netapp/accounts.go | 10 +++---- .../netapp/mgmt/2019-05-01/netapp/client.go | 4 +-- .../netapp/mgmt/2019-05-01/netapp/models.go | 28 +++++++++++-------- .../mgmt/2019-05-01/netapp/mounttargets.go | 2 +- .../mgmt/2019-05-01/netapp/operations.go | 2 +- .../netapp/mgmt/2019-05-01/netapp/pools.go | 12 ++++---- .../mgmt/2019-05-01/netapp/snapshots.go | 10 +++---- .../netapp/mgmt/2019-05-01/netapp/volumes.go | 13 +++++---- 10 files changed, 51 insertions(+), 46 deletions(-) diff --git a/profiles/latest/netapp/mgmt/netapp/models.go b/profiles/latest/netapp/mgmt/netapp/models.go index f656a6efb6d3..5ae786950017 100644 --- a/profiles/latest/netapp/mgmt/netapp/models.go +++ b/profiles/latest/netapp/mgmt/netapp/models.go @@ -28,10 +28,10 @@ const ( type CheckNameResourceTypes = original.CheckNameResourceTypes const ( - MicrosoftNetAppnetAppAccount CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccount - MicrosoftNetAppnetAppAccountcapacityPools CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPools - MicrosoftNetAppnetAppAccountcapacityPoolsvolumes CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPoolsvolumes - MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots + MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccounts + MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPools + MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPoolsvolumes + MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ) type InAvailabilityReasonType = original.InAvailabilityReasonType diff --git a/profiles/preview/netapp/mgmt/netapp/models.go b/profiles/preview/netapp/mgmt/netapp/models.go index 31a1c929ce1b..68076506ba75 100644 --- a/profiles/preview/netapp/mgmt/netapp/models.go +++ b/profiles/preview/netapp/mgmt/netapp/models.go @@ -28,10 +28,10 @@ const ( type CheckNameResourceTypes = original.CheckNameResourceTypes const ( - MicrosoftNetAppnetAppAccount CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccount - MicrosoftNetAppnetAppAccountcapacityPools CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPools - MicrosoftNetAppnetAppAccountcapacityPoolsvolumes CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPoolsvolumes - MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots + MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccounts + MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPools + MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPoolsvolumes + MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = original.MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ) type InAvailabilityReasonType = original.InAvailabilityReasonType diff --git a/services/netapp/mgmt/2019-05-01/netapp/accounts.go b/services/netapp/mgmt/2019-05-01/netapp/accounts.go index 15c8614f2dff..19ac181e2f4d 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/accounts.go +++ b/services/netapp/mgmt/2019-05-01/netapp/accounts.go @@ -90,7 +90,7 @@ func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, body Ac "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -180,7 +180,7 @@ func (client AccountsClient) DeletePreparer(ctx context.Context, resourceGroupNa "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -270,7 +270,7 @@ func (client AccountsClient) GetPreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -353,7 +353,7 @@ func (client AccountsClient) ListPreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -439,7 +439,7 @@ func (client AccountsClient) UpdatePreparer(ctx context.Context, body AccountPat "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/client.go b/services/netapp/mgmt/2019-05-01/netapp/client.go index d823bb39d989..a8290eb76d50 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/client.go +++ b/services/netapp/mgmt/2019-05-01/netapp/client.go @@ -96,7 +96,7 @@ func (client BaseClient) CheckFilePathAvailabilityPreparer(ctx context.Context, "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -171,7 +171,7 @@ func (client BaseClient) CheckNameAvailabilityPreparer(ctx context.Context, loca "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/models.go b/services/netapp/mgmt/2019-05-01/netapp/models.go index 8ac6e44e2093..e2988668a85d 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/models.go +++ b/services/netapp/mgmt/2019-05-01/netapp/models.go @@ -33,19 +33,19 @@ const fqdn = "github.com/Azure/azure-sdk-for-go/services/netapp/mgmt/2019-05-01/ type CheckNameResourceTypes string const ( - // MicrosoftNetAppnetAppAccount ... - MicrosoftNetAppnetAppAccount CheckNameResourceTypes = "Microsoft.NetApp/netAppAccount" - // MicrosoftNetAppnetAppAccountcapacityPools ... - MicrosoftNetAppnetAppAccountcapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccount/capacityPools" - // MicrosoftNetAppnetAppAccountcapacityPoolsvolumes ... - MicrosoftNetAppnetAppAccountcapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccount/capacityPools/volumes" - // MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots ... - MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccount/capacityPools/volumes/snapshots" + // MicrosoftNetAppnetAppAccounts ... + MicrosoftNetAppnetAppAccounts CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts" + // MicrosoftNetAppnetAppAccountscapacityPools ... + MicrosoftNetAppnetAppAccountscapacityPools CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools" + // MicrosoftNetAppnetAppAccountscapacityPoolsvolumes ... + MicrosoftNetAppnetAppAccountscapacityPoolsvolumes CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes" + // MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots ... + MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots CheckNameResourceTypes = "Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots" ) // PossibleCheckNameResourceTypesValues returns an array of possible values for the CheckNameResourceTypes const type. func PossibleCheckNameResourceTypesValues() []CheckNameResourceTypes { - return []CheckNameResourceTypes{MicrosoftNetAppnetAppAccount, MicrosoftNetAppnetAppAccountcapacityPools, MicrosoftNetAppnetAppAccountcapacityPoolsvolumes, MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots} + return []CheckNameResourceTypes{MicrosoftNetAppnetAppAccounts, MicrosoftNetAppnetAppAccountscapacityPools, MicrosoftNetAppnetAppAccountscapacityPoolsvolumes, MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots} } // InAvailabilityReasonType enumerates the values for in availability reason type. @@ -937,7 +937,7 @@ type ResourceNameAvailability struct { type ResourceNameAvailabilityRequest struct { // Name - Resource name to verify. Name *string `json:"name,omitempty"` - // Type - Resource type used for verification. Possible values include: 'MicrosoftNetAppnetAppAccount', 'MicrosoftNetAppnetAppAccountcapacityPools', 'MicrosoftNetAppnetAppAccountcapacityPoolsvolumes', 'MicrosoftNetAppnetAppAccountcapacityPoolsvolumessnapshots' + // Type - Resource type used for verification. Possible values include: 'MicrosoftNetAppnetAppAccounts', 'MicrosoftNetAppnetAppAccountscapacityPools', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumes', 'MicrosoftNetAppnetAppAccountscapacityPoolsvolumessnapshots' Type CheckNameResourceTypes `json:"type,omitempty"` // ResourceGroup - Resource group name. ResourceGroup *string `json:"resourceGroup,omitempty"` @@ -1339,7 +1339,7 @@ func (vp *VolumePatch) UnmarshalJSON(body []byte) error { type VolumePatchProperties struct { // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra' ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"` - // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. + // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. UsageThreshold *int64 `json:"usageThreshold,omitempty"` // ExportPolicy - Set of export policy rules ExportPolicy *VolumePatchPropertiesExportPolicy `json:"exportPolicy,omitempty"` @@ -1359,10 +1359,12 @@ type VolumeProperties struct { CreationToken *string `json:"creationToken,omitempty"` // ServiceLevel - The service level of the file system. Possible values include: 'Standard', 'Premium', 'Ultra' ServiceLevel ServiceLevel `json:"serviceLevel,omitempty"` - // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. + // UsageThreshold - Maximum storage quota allowed for a file system in bytes. This is a soft quota used for alerting only. Minimum size is 100 GiB. Upper limit is 100TiB. Specified in bytes. UsageThreshold *int64 `json:"usageThreshold,omitempty"` // ExportPolicy - Set of export policy rules ExportPolicy *VolumePropertiesExportPolicy `json:"exportPolicy,omitempty"` + // ProtocolTypes - Set of protocol types + ProtocolTypes *[]string `json:"protocolTypes,omitempty"` // ProvisioningState - READ-ONLY; Azure lifecycle management ProvisioningState *string `json:"provisioningState,omitempty"` // SnapshotID - UUID v4 used to identify the Snapshot @@ -1371,6 +1373,8 @@ type VolumeProperties struct { BaremetalTenantID *string `json:"baremetalTenantId,omitempty"` // SubnetID - The Azure Resource URI for a delegated subnet. Must have the delegation Microsoft.NetApp/volumes SubnetID *string `json:"subnetId,omitempty"` + // MountTargets - List of mount targets + MountTargets interface{} `json:"mountTargets,omitempty"` } // VolumePropertiesExportPolicy set of export policy rules diff --git a/services/netapp/mgmt/2019-05-01/netapp/mounttargets.go b/services/netapp/mgmt/2019-05-01/netapp/mounttargets.go index a8fab35f6ac9..a8943de0d7ac 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/mounttargets.go +++ b/services/netapp/mgmt/2019-05-01/netapp/mounttargets.go @@ -97,7 +97,7 @@ func (client MountTargetsClient) ListPreparer(ctx context.Context, resourceGroup "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/operations.go b/services/netapp/mgmt/2019-05-01/netapp/operations.go index 3227a1068d1b..b64ddf24963b 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/operations.go +++ b/services/netapp/mgmt/2019-05-01/netapp/operations.go @@ -75,7 +75,7 @@ func (client OperationsClient) List(ctx context.Context) (result OperationListRe // ListPreparer prepares the List request. func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) { - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/pools.go b/services/netapp/mgmt/2019-05-01/netapp/pools.go index ce542fde76d6..87c2304a2afd 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/pools.go +++ b/services/netapp/mgmt/2019-05-01/netapp/pools.go @@ -67,7 +67,7 @@ func (client PoolsClient) CreateOrUpdate(ctx context.Context, body CapacityPool, {Target: "body.PoolProperties.PoolID", Name: validation.MinLength, Rule: 36, Chain: nil}, {Target: "body.PoolProperties.PoolID", Name: validation.Pattern, Rule: `^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$`, Chain: nil}, }}, - {Target: "body.PoolProperties.Size", Name: validation.Null, Rule: false, + {Target: "body.PoolProperties.Size", Name: validation.Null, Rule: true, Chain: []validation.Constraint{{Target: "body.PoolProperties.Size", Name: validation.InclusiveMaximum, Rule: int64(549755813888000), Chain: nil}, {Target: "body.PoolProperties.Size", Name: validation.InclusiveMinimum, Rule: 4398046511104, Chain: nil}, }}, @@ -103,7 +103,7 @@ func (client PoolsClient) CreateOrUpdatePreparer(ctx context.Context, body Capac "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -195,7 +195,7 @@ func (client PoolsClient) DeletePreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -287,7 +287,7 @@ func (client PoolsClient) GetPreparer(ctx context.Context, resourceGroupName str "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -372,7 +372,7 @@ func (client PoolsClient) ListPreparer(ctx context.Context, resourceGroupName st "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -460,7 +460,7 @@ func (client PoolsClient) UpdatePreparer(ctx context.Context, body CapacityPoolP "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/snapshots.go b/services/netapp/mgmt/2019-05-01/netapp/snapshots.go index 3c2fb4b67d0c..e4d1f128f2b9 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/snapshots.go +++ b/services/netapp/mgmt/2019-05-01/netapp/snapshots.go @@ -108,7 +108,7 @@ func (client SnapshotsClient) CreatePreparer(ctx context.Context, body Snapshot, "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -204,7 +204,7 @@ func (client SnapshotsClient) DeletePreparer(ctx context.Context, resourceGroupN "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -300,7 +300,7 @@ func (client SnapshotsClient) GetPreparer(ctx context.Context, resourceGroupName "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -389,7 +389,7 @@ func (client SnapshotsClient) ListPreparer(ctx context.Context, resourceGroupNam "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -481,7 +481,7 @@ func (client SnapshotsClient) UpdatePreparer(ctx context.Context, body SnapshotP "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } diff --git a/services/netapp/mgmt/2019-05-01/netapp/volumes.go b/services/netapp/mgmt/2019-05-01/netapp/volumes.go index a66bf8a851a6..e8ece1f7d737 100644 --- a/services/netapp/mgmt/2019-05-01/netapp/volumes.go +++ b/services/netapp/mgmt/2019-05-01/netapp/volumes.go @@ -69,7 +69,7 @@ func (client VolumesClient) CreateOrUpdate(ctx context.Context, body Volume, res {Target: "body.VolumeProperties.FileSystemID", Name: validation.Pattern, Rule: `^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$`, Chain: nil}, }}, {Target: "body.VolumeProperties.CreationToken", Name: validation.Null, Rule: true, Chain: nil}, - {Target: "body.VolumeProperties.UsageThreshold", Name: validation.Null, Rule: false, + {Target: "body.VolumeProperties.UsageThreshold", Name: validation.Null, Rule: true, Chain: []validation.Constraint{{Target: "body.VolumeProperties.UsageThreshold", Name: validation.InclusiveMaximum, Rule: int64(109951162777600), Chain: nil}, {Target: "body.VolumeProperties.UsageThreshold", Name: validation.InclusiveMinimum, Rule: 107374182400, Chain: nil}, }}, @@ -83,6 +83,7 @@ func (client VolumesClient) CreateOrUpdate(ctx context.Context, body Volume, res {Target: "body.VolumeProperties.BaremetalTenantID", Name: validation.MinLength, Rule: 36, Chain: nil}, {Target: "body.VolumeProperties.BaremetalTenantID", Name: validation.Pattern, Rule: `^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$`, Chain: nil}, }}, + {Target: "body.VolumeProperties.SubnetID", Name: validation.Null, Rule: true, Chain: nil}, }}}}, {TargetValue: resourceGroupName, Constraints: []validation.Constraint{{Target: "resourceGroupName", Name: validation.MaxLength, Rule: 90, Chain: nil}, @@ -116,7 +117,7 @@ func (client VolumesClient) CreateOrUpdatePreparer(ctx context.Context, body Vol "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -210,7 +211,7 @@ func (client VolumesClient) DeletePreparer(ctx context.Context, resourceGroupNam "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -304,7 +305,7 @@ func (client VolumesClient) GetPreparer(ctx context.Context, resourceGroupName s "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -391,7 +392,7 @@ func (client VolumesClient) ListPreparer(ctx context.Context, resourceGroupName "subscriptionId": autorest.Encode("path", client.SubscriptionID), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, } @@ -481,7 +482,7 @@ func (client VolumesClient) UpdatePreparer(ctx context.Context, body VolumePatch "volumeName": autorest.Encode("path", volumeName), } - const APIVersion = "2017-08-15" + const APIVersion = "2019-05-01" queryParameters := map[string]interface{}{ "api-version": APIVersion, }