From cee2b47de0b099ee39cbf68f3520ed05be4bf7b7 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Thu, 23 Jan 2020 02:41:09 +0000 Subject: [PATCH] Generated from 0469c826da18dcc7bd25716418bac47fdbe2c93e Fix Prettier Check --- .../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)} }