From c1a3d8da6b2a69bed2638bafb9e97c11cd15abda Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Tue, 21 Jan 2020 20:08:27 +0000 Subject: [PATCH] Generated from 11f057694733f7f28d22a3ea618c0e65ac4ea4eb Add new api-version 2019-06-15 for go sdk --- .../mgmt/2016-12-01/backup/backupapi/interfaces.go | 5 +++++ services/recoveryservices/mgmt/2016-12-01/backup/backups.go | 3 ++- services/recoveryservices/mgmt/2016-12-01/backup/client.go | 3 ++- services/recoveryservices/mgmt/2016-12-01/backup/engines.go | 3 ++- .../mgmt/2016-12-01/backup/itemlevelrecoveryconnections.go | 3 ++- .../mgmt/2016-12-01/backup/operationresults.go | 4 +++- .../mgmt/2016-12-01/backup/operationstatuses.go | 4 +++- .../mgmt/2016-12-01/backup/protectablecontainers.go | 4 +++- .../mgmt/2016-12-01/backup/protectableitems.go | 4 +++- .../mgmt/2016-12-01/backup/protecteditemoperationstatuses.go | 3 ++- .../2016-12-01/backup/protectioncontaineroperationresults.go | 3 ++- .../backup/protectioncontainerrefreshoperationresults.go | 3 ++- .../mgmt/2016-12-01/backup/protectioncontainers.go | 4 +++- .../mgmt/2016-12-01/backup/protectioncontainersgroup.go | 4 +++- .../mgmt/2016-12-01/backup/protectionpolicies.go | 4 +++- .../2016-12-01/backup/protectionpolicyoperationstatuses.go | 3 ++- .../mgmt/2016-12-01/backup/resourcestorageconfigs.go | 4 +++- .../recoveryservices/mgmt/2016-12-01/backup/securitypins.go | 3 ++- .../recoveryservices/mgmt/2016-12-01/backup/workloaditems.go | 3 ++- 19 files changed, 49 insertions(+), 18 deletions(-) diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/backupapi/interfaces.go b/services/recoveryservices/mgmt/2016-12-01/backup/backupapi/interfaces.go index 151f504f7d2a..25d881efd18e 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/backupapi/interfaces.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/backupapi/interfaces.go @@ -27,6 +27,7 @@ import ( type EnginesClientAPI interface { Get(ctx context.Context, vaultName string, resourceGroupName string, backupEngineName string, filter string, skipToken string) (result backup.EngineBaseResource, err error) List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.EngineBaseResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.EngineBaseResourceListIterator, err error) } var _ EnginesClientAPI = (*backup.EnginesClient)(nil) @@ -41,6 +42,7 @@ var _ ProtectionContainerRefreshOperationResultsClientAPI = (*backup.ProtectionC // ProtectableContainersClientAPI contains the set of methods on the ProtectableContainersClient type. type ProtectableContainersClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, filter string) (result backup.ProtectableContainerResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, filter string) (result backup.ProtectableContainerResourceListIterator, err error) } var _ ProtectableContainersClientAPI = (*backup.ProtectableContainersClient)(nil) @@ -59,6 +61,7 @@ var _ ProtectionContainersClientAPI = (*backup.ProtectionContainersClient)(nil) // WorkloadItemsClientAPI contains the set of methods on the WorkloadItemsClient type. type WorkloadItemsClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, filter string, skipToken string) (result backup.WorkloadItemResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, filter string, skipToken string) (result backup.WorkloadItemResourceListIterator, err error) } var _ WorkloadItemsClientAPI = (*backup.WorkloadItemsClient)(nil) @@ -123,6 +126,7 @@ var _ ProtectionPolicyOperationStatusesClientAPI = (*backup.ProtectionPolicyOper // ProtectableItemsClientAPI contains the set of methods on the ProtectableItemsClient type. type ProtectableItemsClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.WorkloadProtectableItemResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.WorkloadProtectableItemResourceListIterator, err error) } var _ ProtectableItemsClientAPI = (*backup.ProtectableItemsClient)(nil) @@ -130,6 +134,7 @@ var _ ProtectableItemsClientAPI = (*backup.ProtectableItemsClient)(nil) // ProtectionContainersGroupClientAPI contains the set of methods on the ProtectionContainersGroupClient type. type ProtectionContainersGroupClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result backup.ProtectionContainerResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result backup.ProtectionContainerResourceListIterator, err error) } var _ ProtectionContainersGroupClientAPI = (*backup.ProtectionContainersGroupClient)(nil) diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/backups.go b/services/recoveryservices/mgmt/2016-12-01/backup/backups.go index a8efbd3c56ba..2a389bc1f90f 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/backups.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/backups.go @@ -35,7 +35,8 @@ func NewBackupsClient(subscriptionID string) BackupsClient { return NewBackupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewBackupsClientWithBaseURI creates an instance of the BackupsClient client. +// NewBackupsClientWithBaseURI creates an instance of the BackupsClient 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 NewBackupsClientWithBaseURI(baseURI string, subscriptionID string) BackupsClient { return BackupsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/client.go b/services/recoveryservices/mgmt/2016-12-01/backup/client.go index fb9c2765dc84..3c1348186fa1 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/client.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/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/recoveryservices/mgmt/2016-12-01/backup/engines.go b/services/recoveryservices/mgmt/2016-12-01/backup/engines.go index b12a52d19b6c..fc9aa41d61e5 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/engines.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/engines.go @@ -35,7 +35,8 @@ func NewEnginesClient(subscriptionID string) EnginesClient { return NewEnginesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewEnginesClientWithBaseURI creates an instance of the EnginesClient client. +// NewEnginesClientWithBaseURI creates an instance of the EnginesClient 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 NewEnginesClientWithBaseURI(baseURI string, subscriptionID string) EnginesClient { return EnginesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/itemlevelrecoveryconnections.go b/services/recoveryservices/mgmt/2016-12-01/backup/itemlevelrecoveryconnections.go index bfde3e76ee52..d6ba8b5e4037 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/itemlevelrecoveryconnections.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/itemlevelrecoveryconnections.go @@ -36,7 +36,8 @@ func NewItemLevelRecoveryConnectionsClient(subscriptionID string) ItemLevelRecov } // NewItemLevelRecoveryConnectionsClientWithBaseURI creates an instance of the ItemLevelRecoveryConnectionsClient -// client. +// 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 NewItemLevelRecoveryConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ItemLevelRecoveryConnectionsClient { return ItemLevelRecoveryConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/operationresults.go b/services/recoveryservices/mgmt/2016-12-01/backup/operationresults.go index e82ace5af78d..4b9e75433bb0 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/operationresults.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/operationresults.go @@ -35,7 +35,9 @@ func NewOperationResultsClient(subscriptionID string) OperationResultsClient { return NewOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client. +// NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient 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 NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient { return OperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/operationstatuses.go b/services/recoveryservices/mgmt/2016-12-01/backup/operationstatuses.go index b5c7ef6eebff..c8c1b383eb8e 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/operationstatuses.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/operationstatuses.go @@ -35,7 +35,9 @@ func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient { return NewOperationStatusesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client. +// NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient 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 NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient { return OperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectablecontainers.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectablecontainers.go index 0467090aa353..6340a1c1fd61 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectablecontainers.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectablecontainers.go @@ -35,7 +35,9 @@ func NewProtectableContainersClient(subscriptionID string) ProtectableContainers return NewProtectableContainersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectableContainersClientWithBaseURI creates an instance of the ProtectableContainersClient client. +// NewProtectableContainersClientWithBaseURI creates an instance of the ProtectableContainersClient 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 NewProtectableContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectableContainersClient { return ProtectableContainersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectableitems.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectableitems.go index 18b8d7f3f683..137522a855fb 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectableitems.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectableitems.go @@ -35,7 +35,9 @@ func NewProtectableItemsClient(subscriptionID string) ProtectableItemsClient { return NewProtectableItemsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient client. +// NewProtectableItemsClientWithBaseURI creates an instance of the ProtectableItemsClient 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 NewProtectableItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectableItemsClient { return ProtectableItemsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protecteditemoperationstatuses.go b/services/recoveryservices/mgmt/2016-12-01/backup/protecteditemoperationstatuses.go index 5f5153a60b4f..2c488d23be42 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protecteditemoperationstatuses.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protecteditemoperationstatuses.go @@ -36,7 +36,8 @@ func NewProtectedItemOperationStatusesClient(subscriptionID string) ProtectedIte } // NewProtectedItemOperationStatusesClientWithBaseURI creates an instance of the ProtectedItemOperationStatusesClient -// client. +// 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 NewProtectedItemOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationStatusesClient { return ProtectedItemOperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontaineroperationresults.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontaineroperationresults.go index 7509f1f533a5..6e8533cf1194 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontaineroperationresults.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontaineroperationresults.go @@ -37,7 +37,8 @@ func NewProtectionContainerOperationResultsClient(subscriptionID string) Protect } // NewProtectionContainerOperationResultsClientWithBaseURI creates an instance of the -// ProtectionContainerOperationResultsClient client. +// ProtectionContainerOperationResultsClient 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 NewProtectionContainerOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerOperationResultsClient { return ProtectionContainerOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainerrefreshoperationresults.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainerrefreshoperationresults.go index 423b836635c3..5fde7c63f5c0 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainerrefreshoperationresults.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainerrefreshoperationresults.go @@ -37,7 +37,8 @@ func NewProtectionContainerRefreshOperationResultsClient(subscriptionID string) } // NewProtectionContainerRefreshOperationResultsClientWithBaseURI creates an instance of the -// ProtectionContainerRefreshOperationResultsClient client. +// ProtectionContainerRefreshOperationResultsClient 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 NewProtectionContainerRefreshOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainerRefreshOperationResultsClient { return ProtectionContainerRefreshOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainers.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainers.go index 60649b4cbfc0..7c40fe0d2cc9 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainers.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainers.go @@ -35,7 +35,9 @@ func NewProtectionContainersClient(subscriptionID string) ProtectionContainersCl return NewProtectionContainersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectionContainersClientWithBaseURI creates an instance of the ProtectionContainersClient client. +// NewProtectionContainersClientWithBaseURI creates an instance of the ProtectionContainersClient 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 NewProtectionContainersClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersClient { return ProtectionContainersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainersgroup.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainersgroup.go index 5895c5e0db01..7d6de9dcfcea 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainersgroup.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectioncontainersgroup.go @@ -35,7 +35,9 @@ func NewProtectionContainersGroupClient(subscriptionID string) ProtectionContain return NewProtectionContainersGroupClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectionContainersGroupClientWithBaseURI creates an instance of the ProtectionContainersGroupClient client. +// NewProtectionContainersGroupClientWithBaseURI creates an instance of the ProtectionContainersGroupClient 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 NewProtectionContainersGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectionContainersGroupClient { return ProtectionContainersGroupClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicies.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicies.go index 91701ff371aa..7dcff62aaa8e 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicies.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicies.go @@ -35,7 +35,9 @@ func NewProtectionPoliciesClient(subscriptionID string) ProtectionPoliciesClient return NewProtectionPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient client. +// NewProtectionPoliciesClientWithBaseURI creates an instance of the ProtectionPoliciesClient 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 NewProtectionPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPoliciesClient { return ProtectionPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicyoperationstatuses.go b/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicyoperationstatuses.go index ac06686b3816..e22d4d8ed8be 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicyoperationstatuses.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/protectionpolicyoperationstatuses.go @@ -37,7 +37,8 @@ func NewProtectionPolicyOperationStatusesClient(subscriptionID string) Protectio } // NewProtectionPolicyOperationStatusesClientWithBaseURI creates an instance of the -// ProtectionPolicyOperationStatusesClient client. +// ProtectionPolicyOperationStatusesClient 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 NewProtectionPolicyOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationStatusesClient { return ProtectionPolicyOperationStatusesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/resourcestorageconfigs.go b/services/recoveryservices/mgmt/2016-12-01/backup/resourcestorageconfigs.go index ef3d82a86cd9..cdbfd329774b 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/resourcestorageconfigs.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/resourcestorageconfigs.go @@ -35,7 +35,9 @@ func NewResourceStorageConfigsClient(subscriptionID string) ResourceStorageConfi return NewResourceStorageConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewResourceStorageConfigsClientWithBaseURI creates an instance of the ResourceStorageConfigsClient client. +// NewResourceStorageConfigsClientWithBaseURI creates an instance of the ResourceStorageConfigsClient 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 NewResourceStorageConfigsClientWithBaseURI(baseURI string, subscriptionID string) ResourceStorageConfigsClient { return ResourceStorageConfigsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/securitypins.go b/services/recoveryservices/mgmt/2016-12-01/backup/securitypins.go index 281905c96c53..c34b255d99fd 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/securitypins.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/securitypins.go @@ -35,7 +35,8 @@ func NewSecurityPINsClient(subscriptionID string) SecurityPINsClient { return NewSecurityPINsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSecurityPINsClientWithBaseURI creates an instance of the SecurityPINsClient client. +// NewSecurityPINsClientWithBaseURI creates an instance of the SecurityPINsClient 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 NewSecurityPINsClientWithBaseURI(baseURI string, subscriptionID string) SecurityPINsClient { return SecurityPINsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2016-12-01/backup/workloaditems.go b/services/recoveryservices/mgmt/2016-12-01/backup/workloaditems.go index 8523e8ce4bb6..b5585cf4ea5f 100644 --- a/services/recoveryservices/mgmt/2016-12-01/backup/workloaditems.go +++ b/services/recoveryservices/mgmt/2016-12-01/backup/workloaditems.go @@ -35,7 +35,8 @@ func NewWorkloadItemsClient(subscriptionID string) WorkloadItemsClient { return NewWorkloadItemsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewWorkloadItemsClientWithBaseURI creates an instance of the WorkloadItemsClient client. +// NewWorkloadItemsClientWithBaseURI creates an instance of the WorkloadItemsClient 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 NewWorkloadItemsClientWithBaseURI(baseURI string, subscriptionID string) WorkloadItemsClient { return WorkloadItemsClient{NewWithBaseURI(baseURI, subscriptionID)} }