From ba65b00fd55acdf5a72e8494fad917bca4a754a6 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 7 Jan 2020 01:57:55 +0000 Subject: [PATCH] Generated from 40703e6be5fb9549d3484bf41b7c3bffa740b2b5 Add default response --- services/storage/mgmt/2018-02-01/storage/accounts.go | 3 ++- services/storage/mgmt/2018-02-01/storage/blobcontainers.go | 3 ++- services/storage/mgmt/2018-02-01/storage/client.go | 3 ++- services/storage/mgmt/2018-02-01/storage/operations.go | 3 ++- services/storage/mgmt/2018-02-01/storage/skus.go | 3 ++- services/storage/mgmt/2018-02-01/storage/usage.go | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/services/storage/mgmt/2018-02-01/storage/accounts.go b/services/storage/mgmt/2018-02-01/storage/accounts.go index 5d8f264a1c95..440fbba38a54 100644 --- a/services/storage/mgmt/2018-02-01/storage/accounts.go +++ b/services/storage/mgmt/2018-02-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/2018-02-01/storage/blobcontainers.go b/services/storage/mgmt/2018-02-01/storage/blobcontainers.go index 1089a4abc2b0..6b82816cad2e 100644 --- a/services/storage/mgmt/2018-02-01/storage/blobcontainers.go +++ b/services/storage/mgmt/2018-02-01/storage/blobcontainers.go @@ -36,7 +36,8 @@ func NewBlobContainersClient(subscriptionID string) BlobContainersClient { return NewBlobContainersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewBlobContainersClientWithBaseURI creates an instance of the BlobContainersClient client. +// NewBlobContainersClientWithBaseURI creates an instance of the BlobContainersClient 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 NewBlobContainersClientWithBaseURI(baseURI string, subscriptionID string) BlobContainersClient { return BlobContainersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/storage/mgmt/2018-02-01/storage/client.go b/services/storage/mgmt/2018-02-01/storage/client.go index 5b934e74e152..a7a0777c38a0 100644 --- a/services/storage/mgmt/2018-02-01/storage/client.go +++ b/services/storage/mgmt/2018-02-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/2018-02-01/storage/operations.go b/services/storage/mgmt/2018-02-01/storage/operations.go index e8f624ce4256..9783cd6344c9 100644 --- a/services/storage/mgmt/2018-02-01/storage/operations.go +++ b/services/storage/mgmt/2018-02-01/storage/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/storage/mgmt/2018-02-01/storage/skus.go b/services/storage/mgmt/2018-02-01/storage/skus.go index 08da4a4876bc..55cad9f42a26 100644 --- a/services/storage/mgmt/2018-02-01/storage/skus.go +++ b/services/storage/mgmt/2018-02-01/storage/skus.go @@ -36,7 +36,8 @@ func NewSkusClient(subscriptionID string) SkusClient { return NewSkusClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSkusClientWithBaseURI creates an instance of the SkusClient client. +// NewSkusClientWithBaseURI creates an instance of the SkusClient 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 NewSkusClientWithBaseURI(baseURI string, subscriptionID string) SkusClient { return SkusClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/storage/mgmt/2018-02-01/storage/usage.go b/services/storage/mgmt/2018-02-01/storage/usage.go index f62e4326d4ce..75923e8e1799 100644 --- a/services/storage/mgmt/2018-02-01/storage/usage.go +++ b/services/storage/mgmt/2018-02-01/storage/usage.go @@ -36,7 +36,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)} }