From 6882152df1412cec698747e5e98fa7c90c15e003 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 7 Jan 2020 07:30:51 +0000 Subject: [PATCH] Generated from c24cd8185bf8c9b61280fee78ea13eb2a131e4c0 Revert "[SRP] Add default response status code (#8065)" This reverts commit f7475a752a8019712b1195cdf876d8cc169f4c08. --- services/storage/mgmt/2015-06-15/storage/accounts.go | 3 ++- services/storage/mgmt/2015-06-15/storage/client.go | 3 ++- services/storage/mgmt/2015-06-15/storage/usage.go | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/services/storage/mgmt/2015-06-15/storage/accounts.go b/services/storage/mgmt/2015-06-15/storage/accounts.go index 38d47fc4c791..0d7b7968cdaf 100644 --- a/services/storage/mgmt/2015-06-15/storage/accounts.go +++ b/services/storage/mgmt/2015-06-15/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/2015-06-15/storage/client.go b/services/storage/mgmt/2015-06-15/storage/client.go index cbabb1bc67a0..d6c5caf1235c 100644 --- a/services/storage/mgmt/2015-06-15/storage/client.go +++ b/services/storage/mgmt/2015-06-15/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/2015-06-15/storage/usage.go b/services/storage/mgmt/2015-06-15/storage/usage.go index 6f3231b2b17f..c820fcb85081 100644 --- a/services/storage/mgmt/2015-06-15/storage/usage.go +++ b/services/storage/mgmt/2015-06-15/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)} }