diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/backupapi/interfaces.go b/services/recoveryservices/mgmt/2019-05-13/backup/backupapi/interfaces.go index 4ee451609fcf..ca8cad292e2d 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/backupapi/interfaces.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/backupapi/interfaces.go @@ -51,6 +51,7 @@ var _ ProtectedItemOperationResultsClientAPI = (*backup.ProtectedItemOperationRe type RecoveryPointsClientAPI interface { Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, recoveryPointID string) (result backup.RecoveryPointResource, err error) List(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result backup.RecoveryPointResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result backup.RecoveryPointResourceListIterator, err error) } var _ RecoveryPointsClientAPI = (*backup.RecoveryPointsClient)(nil) @@ -65,6 +66,7 @@ var _ RestoresClientAPI = (*backup.RestoresClient)(nil) // PoliciesClientAPI contains the set of methods on the PoliciesClient type. type PoliciesClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result backup.ProtectionPolicyResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result backup.ProtectionPolicyResourceListIterator, err error) } var _ PoliciesClientAPI = (*backup.PoliciesClient)(nil) @@ -88,6 +90,7 @@ var _ ProtectionPolicyOperationResultsClientAPI = (*backup.ProtectionPolicyOpera // JobsClientAPI contains the set of methods on the JobsClient type. type JobsClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.JobResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.JobResourceListIterator, err error) } var _ JobsClientAPI = (*backup.JobsClient)(nil) @@ -130,6 +133,7 @@ var _ JobsGroupClientAPI = (*backup.JobsGroupClient)(nil) // ProtectedItemsGroupClientAPI contains the set of methods on the ProtectedItemsGroupClient type. type ProtectedItemsGroupClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.ProtectedItemResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.ProtectedItemResourceListIterator, err error) } var _ ProtectedItemsGroupClientAPI = (*backup.ProtectedItemsGroupClient)(nil) @@ -168,6 +172,7 @@ var _ FeatureSupportClientAPI = (*backup.FeatureSupportClient)(nil) // ProtectionIntentGroupClientAPI contains the set of methods on the ProtectionIntentGroupClient type. type ProtectionIntentGroupClientAPI interface { List(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.ProtectionIntentResourceListPage, err error) + ListComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.ProtectionIntentResourceListIterator, err error) } var _ ProtectionIntentGroupClientAPI = (*backup.ProtectionIntentGroupClient)(nil) @@ -183,6 +188,7 @@ var _ UsageSummariesClientAPI = (*backup.UsageSummariesClient)(nil) 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) @@ -197,6 +203,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) @@ -215,6 +222,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) @@ -272,6 +280,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) @@ -279,6 +288,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) @@ -302,6 +312,7 @@ var _ ResourceStorageConfigsClientAPI = (*backup.ResourceStorageConfigsClient)(n // OperationsClientAPI contains the set of methods on the OperationsClient type. type OperationsClientAPI interface { List(ctx context.Context) (result backup.ClientDiscoveryResponsePage, err error) + ListComplete(ctx context.Context) (result backup.ClientDiscoveryResponseIterator, err error) } var _ OperationsClientAPI = (*backup.OperationsClient)(nil) diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/backups.go b/services/recoveryservices/mgmt/2019-05-13/backup/backups.go index a8efbd3c56ba..2a389bc1f90f 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/backups.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/client.go b/services/recoveryservices/mgmt/2019-05-13/backup/client.go index 46ea059ebaf8..ee93a5b9b32b 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/client.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/engines.go b/services/recoveryservices/mgmt/2019-05-13/backup/engines.go index b12a52d19b6c..fc9aa41d61e5 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/engines.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/exportjobsoperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go index 18c3bc00319a..20baa3e1a1ee 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/exportjobsoperationresults.go @@ -35,7 +35,9 @@ func NewExportJobsOperationResultsClient(subscriptionID string) ExportJobsOperat return NewExportJobsOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient client. +// NewExportJobsOperationResultsClientWithBaseURI creates an instance of the ExportJobsOperationResultsClient 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 NewExportJobsOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ExportJobsOperationResultsClient { return ExportJobsOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go b/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go index 6f7d732b6e93..92881d841fd9 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/featuresupport.go @@ -35,7 +35,8 @@ func NewFeatureSupportClient(subscriptionID string) FeatureSupportClient { return NewFeatureSupportClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewFeatureSupportClientWithBaseURI creates an instance of the FeatureSupportClient client. +// NewFeatureSupportClientWithBaseURI creates an instance of the FeatureSupportClient 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 NewFeatureSupportClientWithBaseURI(baseURI string, subscriptionID string) FeatureSupportClient { return FeatureSupportClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go b/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go index bfde3e76ee52..d6ba8b5e4037 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/itemlevelrecoveryconnections.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/jobcancellations.go b/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go index 406e01345970..8bb1babb2581 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/jobcancellations.go @@ -35,7 +35,9 @@ func NewJobCancellationsClient(subscriptionID string) JobCancellationsClient { return NewJobCancellationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient client. +// NewJobCancellationsClientWithBaseURI creates an instance of the JobCancellationsClient 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 NewJobCancellationsClientWithBaseURI(baseURI string, subscriptionID string) JobCancellationsClient { return JobCancellationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go b/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go index 3a1c4bb385f1..4395dd59a3c2 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/jobdetails.go @@ -35,7 +35,8 @@ func NewJobDetailsClient(subscriptionID string) JobDetailsClient { return NewJobDetailsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient client. +// NewJobDetailsClientWithBaseURI creates an instance of the JobDetailsClient 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 NewJobDetailsClientWithBaseURI(baseURI string, subscriptionID string) JobDetailsClient { return JobDetailsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go index 89b5865ac595..72c63dbbd2e4 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/joboperationresults.go @@ -35,7 +35,9 @@ func NewJobOperationResultsClient(subscriptionID string) JobOperationResultsClie return NewJobOperationResultsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient client. +// NewJobOperationResultsClientWithBaseURI creates an instance of the JobOperationResultsClient 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 NewJobOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) JobOperationResultsClient { return JobOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go b/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go index e371ecfb1e01..750077af8d1d 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/jobs.go @@ -35,7 +35,8 @@ func NewJobsClient(subscriptionID string) JobsClient { return NewJobsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewJobsClientWithBaseURI creates an instance of the JobsClient client. +// NewJobsClientWithBaseURI creates an instance of the JobsClient 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 NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient { return JobsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go b/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go index 338edb73f8e9..7127ad9a597d 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/jobsgroup.go @@ -35,7 +35,8 @@ func NewJobsGroupClient(subscriptionID string) JobsGroupClient { return NewJobsGroupClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewJobsGroupClientWithBaseURI creates an instance of the JobsGroupClient client. +// NewJobsGroupClientWithBaseURI creates an instance of the JobsGroupClient 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 NewJobsGroupClientWithBaseURI(baseURI string, subscriptionID string) JobsGroupClient { return JobsGroupClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/operation.go b/services/recoveryservices/mgmt/2019-05-13/backup/operation.go index dc66321c1f6c..26f04ada6cc7 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/operation.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/operation.go @@ -35,7 +35,8 @@ func NewOperationClient(subscriptionID string) OperationClient { return NewOperationClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewOperationClientWithBaseURI creates an instance of the OperationClient client. +// NewOperationClientWithBaseURI creates an instance of the OperationClient 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 NewOperationClientWithBaseURI(baseURI string, subscriptionID string) OperationClient { return OperationClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go index e82ace5af78d..4b9e75433bb0 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/operationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/operations.go b/services/recoveryservices/mgmt/2019-05-13/backup/operations.go index 53f59482812e..188a37bf8c15 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/operations.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/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/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go b/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go index b5c7ef6eebff..c8c1b383eb8e 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/operationstatuses.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/policies.go b/services/recoveryservices/mgmt/2019-05-13/backup/policies.go index ac93925c96c9..ea3b37bdba2a 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/policies.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/policies.go @@ -35,7 +35,8 @@ func NewPoliciesClient(subscriptionID string) PoliciesClient { return NewPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient client. +// NewPoliciesClientWithBaseURI creates an instance of the PoliciesClient 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 NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient { return PoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go index 0467090aa353..6340a1c1fd61 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectablecontainers.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectableitems.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go index 18b8d7f3f683..137522a855fb 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectableitems.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protecteditemoperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go index 956a7ccb55e4..2f8c59afd361 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationresults.go @@ -36,7 +36,8 @@ func NewProtectedItemOperationResultsClient(subscriptionID string) ProtectedItem } // NewProtectedItemOperationResultsClientWithBaseURI creates an instance of the ProtectedItemOperationResultsClient -// 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 NewProtectedItemOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemOperationResultsClient { return ProtectedItemOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go index 5f5153a60b4f..2c488d23be42 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemoperationstatuses.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protecteditems.go b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go index 9c50fa811d38..6596587fc467 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditems.go @@ -35,7 +35,8 @@ func NewProtectedItemsClient(subscriptionID string) ProtectedItemsClient { return NewProtectedItemsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient client. +// NewProtectedItemsClientWithBaseURI creates an instance of the ProtectedItemsClient 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 NewProtectedItemsClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsClient { return ProtectedItemsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go index 0003d05eb5ed..6f016aaeb02d 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protecteditemsgroup.go @@ -35,7 +35,9 @@ func NewProtectedItemsGroupClient(subscriptionID string) ProtectedItemsGroupClie return NewProtectedItemsGroupClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectedItemsGroupClientWithBaseURI creates an instance of the ProtectedItemsGroupClient client. +// NewProtectedItemsGroupClientWithBaseURI creates an instance of the ProtectedItemsGroupClient 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 NewProtectedItemsGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectedItemsGroupClient { return ProtectedItemsGroupClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go index 7509f1f533a5..6e8533cf1194 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontaineroperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectioncontainerrefreshoperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go index 423b836635c3..5fde7c63f5c0 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainerrefreshoperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectioncontainers.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go index 60649b4cbfc0..7c40fe0d2cc9 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainers.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectioncontainersgroup.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go index 5895c5e0db01..7d6de9dcfcea 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectioncontainersgroup.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectionintent.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go index b7bdac33115b..13ebf02ea8fc 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protectionintent.go @@ -35,7 +35,9 @@ func NewProtectionIntentClient(subscriptionID string) ProtectionIntentClient { return NewProtectionIntentClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectionIntentClientWithBaseURI creates an instance of the ProtectionIntentClient client. +// NewProtectionIntentClientWithBaseURI creates an instance of the ProtectionIntentClient 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 NewProtectionIntentClientWithBaseURI(baseURI string, subscriptionID string) ProtectionIntentClient { return ProtectionIntentClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go index a94ebda293ae..8dd9d8768722 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protectionintentgroup.go @@ -35,7 +35,9 @@ func NewProtectionIntentGroupClient(subscriptionID string) ProtectionIntentGroup return NewProtectionIntentGroupClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProtectionIntentGroupClientWithBaseURI creates an instance of the ProtectionIntentGroupClient client. +// NewProtectionIntentGroupClientWithBaseURI creates an instance of the ProtectionIntentGroupClient 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 NewProtectionIntentGroupClientWithBaseURI(baseURI string, subscriptionID string) ProtectionIntentGroupClient { return ProtectionIntentGroupClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go index 83f2afa24f43..8adbc8243fa8 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicies.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/protectionpolicyoperationresults.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go index 4f004b44d86f..99e395cb23ea 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationresults.go @@ -36,7 +36,8 @@ func NewProtectionPolicyOperationResultsClient(subscriptionID string) Protection } // NewProtectionPolicyOperationResultsClientWithBaseURI creates an instance of the -// ProtectionPolicyOperationResultsClient client. +// ProtectionPolicyOperationResultsClient 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 NewProtectionPolicyOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) ProtectionPolicyOperationResultsClient { return ProtectionPolicyOperationResultsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go b/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go index ac06686b3816..e22d4d8ed8be 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/protectionpolicyoperationstatuses.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/recoverypoints.go b/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go index 52e2f8698015..a376ad1e3b25 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/recoverypoints.go @@ -35,7 +35,8 @@ func NewRecoveryPointsClient(subscriptionID string) RecoveryPointsClient { return NewRecoveryPointsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient client. +// NewRecoveryPointsClientWithBaseURI creates an instance of the RecoveryPointsClient 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 NewRecoveryPointsClientWithBaseURI(baseURI string, subscriptionID string) RecoveryPointsClient { return RecoveryPointsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go b/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go index ef3d82a86cd9..cdbfd329774b 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/resourcestorageconfigs.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/resourcevaultconfigs.go b/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go index be1d140227b9..58a49e322e20 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/resourcevaultconfigs.go @@ -35,7 +35,9 @@ func NewResourceVaultConfigsClient(subscriptionID string) ResourceVaultConfigsCl return NewResourceVaultConfigsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewResourceVaultConfigsClientWithBaseURI creates an instance of the ResourceVaultConfigsClient client. +// NewResourceVaultConfigsClientWithBaseURI creates an instance of the ResourceVaultConfigsClient 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 NewResourceVaultConfigsClientWithBaseURI(baseURI string, subscriptionID string) ResourceVaultConfigsClient { return ResourceVaultConfigsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/restores.go b/services/recoveryservices/mgmt/2019-05-13/backup/restores.go index ae81caf616b1..09dbfea0e029 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/restores.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/restores.go @@ -35,7 +35,8 @@ func NewRestoresClient(subscriptionID string) RestoresClient { return NewRestoresClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRestoresClientWithBaseURI creates an instance of the RestoresClient client. +// NewRestoresClientWithBaseURI creates an instance of the RestoresClient 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 NewRestoresClientWithBaseURI(baseURI string, subscriptionID string) RestoresClient { return RestoresClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go b/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go index 281905c96c53..c34b255d99fd 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/securitypins.go +++ b/services/recoveryservices/mgmt/2019-05-13/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/2019-05-13/backup/status.go b/services/recoveryservices/mgmt/2019-05-13/backup/status.go index 65843f448fc1..c0cf0a6839a1 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/status.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/status.go @@ -35,7 +35,8 @@ func NewStatusClient(subscriptionID string) StatusClient { return NewStatusClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewStatusClientWithBaseURI creates an instance of the StatusClient client. +// NewStatusClientWithBaseURI creates an instance of the StatusClient 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 NewStatusClientWithBaseURI(baseURI string, subscriptionID string) StatusClient { return StatusClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go b/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go index f671a15223ae..6f8638ddb749 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go +++ b/services/recoveryservices/mgmt/2019-05-13/backup/usagesummaries.go @@ -35,7 +35,8 @@ func NewUsageSummariesClient(subscriptionID string) UsageSummariesClient { return NewUsageSummariesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewUsageSummariesClientWithBaseURI creates an instance of the UsageSummariesClient client. +// NewUsageSummariesClientWithBaseURI creates an instance of the UsageSummariesClient 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 NewUsageSummariesClientWithBaseURI(baseURI string, subscriptionID string) UsageSummariesClient { return UsageSummariesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go b/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go index 8523e8ce4bb6..b5585cf4ea5f 100644 --- a/services/recoveryservices/mgmt/2019-05-13/backup/workloaditems.go +++ b/services/recoveryservices/mgmt/2019-05-13/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)} }