diff --git a/services/storage/mgmt/2016-01-01/storage/accounts.go b/services/storage/mgmt/2016-01-01/storage/accounts.go index 4d553ca2238c..bf880d9a9849 100644 --- a/services/storage/mgmt/2016-01-01/storage/accounts.go +++ b/services/storage/mgmt/2016-01-01/storage/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/storage/mgmt/2016-01-01/storage/client.go b/services/storage/mgmt/2016-01-01/storage/client.go index 483dfc6d01cf..1794c725e6af 100644 --- a/services/storage/mgmt/2016-01-01/storage/client.go +++ b/services/storage/mgmt/2016-01-01/storage/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/storage/mgmt/2016-01-01/storage/usage.go b/services/storage/mgmt/2016-01-01/storage/usage.go index cc6ce3315fbe..65e4a3eb5ada 100644 --- a/services/storage/mgmt/2016-01-01/storage/usage.go +++ b/services/storage/mgmt/2016-01-01/storage/usage.go @@ -35,7 +35,8 @@ func NewUsageClient(subscriptionID string) UsageClient { return NewUsageClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewUsageClientWithBaseURI creates an instance of the UsageClient client. +// NewUsageClientWithBaseURI creates an instance of the UsageClient 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 NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient { return UsageClient{NewWithBaseURI(baseURI, subscriptionID)} }