diff --git a/services/netapp/mgmt/2019-10-01/netapp/accounts.go b/services/netapp/mgmt/2019-10-01/netapp/accounts.go index 00f10b69d6f5..dff6930354b7 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/accounts.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/client.go b/services/netapp/mgmt/2019-10-01/netapp/client.go index 0dfd8925e16e..b1a502897598 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/client.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/models.go b/services/netapp/mgmt/2019-10-01/netapp/models.go index e7f905978a96..1b10ff7f112b 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/models.go +++ b/services/netapp/mgmt/2019-10-01/netapp/models.go @@ -1497,7 +1497,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 type volumes include an object containing details of the replication diff --git a/services/netapp/mgmt/2019-10-01/netapp/mounttargets.go b/services/netapp/mgmt/2019-10-01/netapp/mounttargets.go index 13e7dcbd3de9..c430ebbdc833 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/mounttargets.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/operations.go b/services/netapp/mgmt/2019-10-01/netapp/operations.go index cd2ea139ad24..346138d170d1 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/operations.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/pools.go b/services/netapp/mgmt/2019-10-01/netapp/pools.go index e7b76159b131..0f60e17fa525 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/pools.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/resource.go b/services/netapp/mgmt/2019-10-01/netapp/resource.go index 98e2f1503c95..3feec30322ed 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/resource.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/snapshots.go b/services/netapp/mgmt/2019-10-01/netapp/snapshots.go index 19dbca87d9d3..b9722bef1029 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/snapshots.go +++ b/services/netapp/mgmt/2019-10-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-10-01/netapp/volumes.go b/services/netapp/mgmt/2019-10-01/netapp/volumes.go index 718315cc37e2..70d794f24788 100644 --- a/services/netapp/mgmt/2019-10-01/netapp/volumes.go +++ b/services/netapp/mgmt/2019-10-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)} }