From b77525d4606ee988dea320f9669a11a923703a87 Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 7 Jan 2020 07:31:44 +0000 Subject: [PATCH] Generated from c24cd8185bf8c9b61280fee78ea13eb2a131e4c0 Revert "[SRP] Add default response status code (#8065)" This reverts commit f7475a752a8019712b1195cdf876d8cc169f4c08. --- services/storage/mgmt/2018-11-01/storage/accounts.go | 3 ++- services/storage/mgmt/2018-11-01/storage/blobcontainers.go | 3 ++- services/storage/mgmt/2018-11-01/storage/blobservices.go | 3 ++- services/storage/mgmt/2018-11-01/storage/client.go | 3 ++- .../storage/mgmt/2018-11-01/storage/managementpolicies.go | 4 +++- services/storage/mgmt/2018-11-01/storage/operations.go | 3 ++- services/storage/mgmt/2018-11-01/storage/skus.go | 3 ++- services/storage/mgmt/2018-11-01/storage/usages.go | 3 ++- 8 files changed, 17 insertions(+), 8 deletions(-) diff --git a/services/storage/mgmt/2018-11-01/storage/accounts.go b/services/storage/mgmt/2018-11-01/storage/accounts.go index dc50e28c923b..31ab90fde19e 100644 --- a/services/storage/mgmt/2018-11-01/storage/accounts.go +++ b/services/storage/mgmt/2018-11-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-11-01/storage/blobcontainers.go b/services/storage/mgmt/2018-11-01/storage/blobcontainers.go index 65f4c1e8a1c3..3ca9ddd5f1dc 100644 --- a/services/storage/mgmt/2018-11-01/storage/blobcontainers.go +++ b/services/storage/mgmt/2018-11-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-11-01/storage/blobservices.go b/services/storage/mgmt/2018-11-01/storage/blobservices.go index 6b34c3d85c49..b2a81a221beb 100644 --- a/services/storage/mgmt/2018-11-01/storage/blobservices.go +++ b/services/storage/mgmt/2018-11-01/storage/blobservices.go @@ -36,7 +36,8 @@ func NewBlobServicesClient(subscriptionID string) BlobServicesClient { return NewBlobServicesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewBlobServicesClientWithBaseURI creates an instance of the BlobServicesClient client. +// NewBlobServicesClientWithBaseURI creates an instance of the BlobServicesClient 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 NewBlobServicesClientWithBaseURI(baseURI string, subscriptionID string) BlobServicesClient { return BlobServicesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/storage/mgmt/2018-11-01/storage/client.go b/services/storage/mgmt/2018-11-01/storage/client.go index 5829ae1bcfe7..2baff1343d16 100644 --- a/services/storage/mgmt/2018-11-01/storage/client.go +++ b/services/storage/mgmt/2018-11-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-11-01/storage/managementpolicies.go b/services/storage/mgmt/2018-11-01/storage/managementpolicies.go index d13c73cdc14b..20bbab8450a5 100644 --- a/services/storage/mgmt/2018-11-01/storage/managementpolicies.go +++ b/services/storage/mgmt/2018-11-01/storage/managementpolicies.go @@ -36,7 +36,9 @@ func NewManagementPoliciesClient(subscriptionID string) ManagementPoliciesClient return NewManagementPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewManagementPoliciesClientWithBaseURI creates an instance of the ManagementPoliciesClient client. +// NewManagementPoliciesClientWithBaseURI creates an instance of the ManagementPoliciesClient 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 NewManagementPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ManagementPoliciesClient { return ManagementPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/storage/mgmt/2018-11-01/storage/operations.go b/services/storage/mgmt/2018-11-01/storage/operations.go index 24e030d7e821..4d33309e9b1d 100644 --- a/services/storage/mgmt/2018-11-01/storage/operations.go +++ b/services/storage/mgmt/2018-11-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-11-01/storage/skus.go b/services/storage/mgmt/2018-11-01/storage/skus.go index 717fc8451364..c5ef20fdda98 100644 --- a/services/storage/mgmt/2018-11-01/storage/skus.go +++ b/services/storage/mgmt/2018-11-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-11-01/storage/usages.go b/services/storage/mgmt/2018-11-01/storage/usages.go index a8ee0162d763..1e65be886b15 100644 --- a/services/storage/mgmt/2018-11-01/storage/usages.go +++ b/services/storage/mgmt/2018-11-01/storage/usages.go @@ -36,7 +36,8 @@ func NewUsagesClient(subscriptionID string) UsagesClient { return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client. +// NewUsagesClientWithBaseURI creates an instance of the UsagesClient 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 NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient { return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)} }