From 3272c5131866f63bc8dff173020ced7e60596dc8 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 7 Jan 2020 07:30:38 +0000 Subject: [PATCH] Generated from c24cd8185bf8c9b61280fee78ea13eb2a131e4c0 Revert "[SRP] Add default response status code (#8065)" This reverts commit f7475a752a8019712b1195cdf876d8cc169f4c08. --- .../storage/mgmt/2015-05-01-preview/storage/accounts.go | 3 ++- .../preview/storage/mgmt/2015-05-01-preview/storage/client.go | 3 ++- .../mgmt/2015-05-01-preview/storage/storageapi/interfaces.go | 2 ++ .../preview/storage/mgmt/2015-05-01-preview/storage/usage.go | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/services/preview/storage/mgmt/2015-05-01-preview/storage/accounts.go b/services/preview/storage/mgmt/2015-05-01-preview/storage/accounts.go index aaef4ee8560f..334aa2761510 100644 --- a/services/preview/storage/mgmt/2015-05-01-preview/storage/accounts.go +++ b/services/preview/storage/mgmt/2015-05-01-preview/storage/accounts.go @@ -35,7 +35,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/preview/storage/mgmt/2015-05-01-preview/storage/client.go b/services/preview/storage/mgmt/2015-05-01-preview/storage/client.go index fae01bddfa74..4001962c50be 100644 --- a/services/preview/storage/mgmt/2015-05-01-preview/storage/client.go +++ b/services/preview/storage/mgmt/2015-05-01-preview/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/preview/storage/mgmt/2015-05-01-preview/storage/storageapi/interfaces.go b/services/preview/storage/mgmt/2015-05-01-preview/storage/storageapi/interfaces.go index 7175f7d682e3..044f9060105d 100644 --- a/services/preview/storage/mgmt/2015-05-01-preview/storage/storageapi/interfaces.go +++ b/services/preview/storage/mgmt/2015-05-01-preview/storage/storageapi/interfaces.go @@ -30,7 +30,9 @@ type AccountsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error) GetProperties(ctx context.Context, resourceGroupName string, accountName string) (result storage.Account, err error) List(ctx context.Context) (result storage.AccountListResultPage, err error) + ListComplete(ctx context.Context) (result storage.AccountListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result storage.AccountListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result storage.AccountListResultIterator, err error) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result storage.AccountKeys, err error) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, regenerateKey storage.AccountRegenerateKeyParameters) (result storage.AccountKeys, err error) Update(ctx context.Context, resourceGroupName string, accountName string, parameters storage.AccountUpdateParameters) (result storage.Account, err error) diff --git a/services/preview/storage/mgmt/2015-05-01-preview/storage/usage.go b/services/preview/storage/mgmt/2015-05-01-preview/storage/usage.go index 21c3e7739487..c4e6bd2c323c 100644 --- a/services/preview/storage/mgmt/2015-05-01-preview/storage/usage.go +++ b/services/preview/storage/mgmt/2015-05-01-preview/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)} }