From 1e1b5fe59d1d55758d611eec329c8dfefc2f7c97 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 21 Jan 2020 06:22:30 +0000 Subject: [PATCH] Generated from e58d11a15ad7a0b624cb0e0e5cc4531733f537f0 Fix missing type in netapp --- services/netapp/mgmt/2019-08-01/netapp/accounts.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/client.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/models.go | 2 +- services/netapp/mgmt/2019-08-01/netapp/mounttargets.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/operations.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/pools.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/resource.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/snapshots.go | 3 ++- services/netapp/mgmt/2019-08-01/netapp/volumes.go | 3 ++- 9 files changed, 17 insertions(+), 9 deletions(-) diff --git a/services/netapp/mgmt/2019-08-01/netapp/accounts.go b/services/netapp/mgmt/2019-08-01/netapp/accounts.go index a46253efe2eb..c8d7e0926fc6 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/accounts.go +++ b/services/netapp/mgmt/2019-08-01/netapp/accounts.go @@ -36,7 +36,8 @@ func NewAccountsClient(subscriptionID string) AccountsClient { return NewAccountsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client. +// NewAccountsClientWithBaseURI creates an instance of the AccountsClient client using a custom endpoint. Use this +// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient { return AccountsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/client.go b/services/netapp/mgmt/2019-08-01/netapp/client.go index 6449c8d73307..33a2279ee69f 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/client.go +++ b/services/netapp/mgmt/2019-08-01/netapp/client.go @@ -41,7 +41,8 @@ func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewWithBaseURI creates an instance of the BaseClient client. +// NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with +// an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ Client: autorest.NewClientWithUserAgent(UserAgent()), diff --git a/services/netapp/mgmt/2019-08-01/netapp/models.go b/services/netapp/mgmt/2019-08-01/netapp/models.go index 92bc727b5234..c547a662a72c 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/models.go +++ b/services/netapp/mgmt/2019-08-01/netapp/models.go @@ -1406,7 +1406,7 @@ type VolumeProperties struct { // 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"` + MountTargets *[]MountTargetList `json:"mountTargets,omitempty"` // VolumeType - What type of volume is this VolumeType *string `json:"volumeType,omitempty"` // DataProtection - DataProtection volume, can have a replication object diff --git a/services/netapp/mgmt/2019-08-01/netapp/mounttargets.go b/services/netapp/mgmt/2019-08-01/netapp/mounttargets.go index d226e9d97e03..361b359f54a9 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/mounttargets.go +++ b/services/netapp/mgmt/2019-08-01/netapp/mounttargets.go @@ -36,7 +36,8 @@ func NewMountTargetsClient(subscriptionID string) MountTargetsClient { return NewMountTargetsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewMountTargetsClientWithBaseURI creates an instance of the MountTargetsClient client. +// NewMountTargetsClientWithBaseURI creates an instance of the MountTargetsClient client using a custom endpoint. Use +// this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewMountTargetsClientWithBaseURI(baseURI string, subscriptionID string) MountTargetsClient { return MountTargetsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/operations.go b/services/netapp/mgmt/2019-08-01/netapp/operations.go index c17bf985aef0..41be244a26ee 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/operations.go +++ b/services/netapp/mgmt/2019-08-01/netapp/operations.go @@ -35,7 +35,8 @@ func NewOperationsClient(subscriptionID string) OperationsClient { return NewOperationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client. +// NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this +// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient { return OperationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/pools.go b/services/netapp/mgmt/2019-08-01/netapp/pools.go index 0d3876e34ed4..302013274a5e 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/pools.go +++ b/services/netapp/mgmt/2019-08-01/netapp/pools.go @@ -36,7 +36,8 @@ func NewPoolsClient(subscriptionID string) PoolsClient { return NewPoolsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPoolsClientWithBaseURI creates an instance of the PoolsClient client. +// NewPoolsClientWithBaseURI creates an instance of the PoolsClient client using a custom endpoint. Use this when +// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewPoolsClientWithBaseURI(baseURI string, subscriptionID string) PoolsClient { return PoolsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/resource.go b/services/netapp/mgmt/2019-08-01/netapp/resource.go index 60a415debaf4..87cb519e40a0 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/resource.go +++ b/services/netapp/mgmt/2019-08-01/netapp/resource.go @@ -36,7 +36,8 @@ func NewResourceClient(subscriptionID string) ResourceClient { return NewResourceClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewResourceClientWithBaseURI creates an instance of the ResourceClient client. +// NewResourceClientWithBaseURI creates an instance of the ResourceClient client using a custom endpoint. Use this +// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewResourceClientWithBaseURI(baseURI string, subscriptionID string) ResourceClient { return ResourceClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/snapshots.go b/services/netapp/mgmt/2019-08-01/netapp/snapshots.go index 5acd303e4848..e129016264f2 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/snapshots.go +++ b/services/netapp/mgmt/2019-08-01/netapp/snapshots.go @@ -36,7 +36,8 @@ func NewSnapshotsClient(subscriptionID string) SnapshotsClient { return NewSnapshotsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client. +// NewSnapshotsClientWithBaseURI creates an instance of the SnapshotsClient client using a custom endpoint. Use this +// when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient { return SnapshotsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/netapp/mgmt/2019-08-01/netapp/volumes.go b/services/netapp/mgmt/2019-08-01/netapp/volumes.go index af20eef487f9..6ea60b69d1bf 100644 --- a/services/netapp/mgmt/2019-08-01/netapp/volumes.go +++ b/services/netapp/mgmt/2019-08-01/netapp/volumes.go @@ -36,7 +36,8 @@ func NewVolumesClient(subscriptionID string) VolumesClient { return NewVolumesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVolumesClientWithBaseURI creates an instance of the VolumesClient client. +// NewVolumesClientWithBaseURI creates an instance of the VolumesClient client using a custom endpoint. Use this when +// interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack). func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient { return VolumesClient{NewWithBaseURI(baseURI, subscriptionID)} }