diff --git a/services/recoveryservices/mgmt/2016-06-01/backup/backupapi/interfaces.go b/services/recoveryservices/mgmt/2016-06-01/backup/backupapi/interfaces.go index 830e4cf62968..38503cf36c07 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/backupapi/interfaces.go +++ b/services/recoveryservices/mgmt/2016-06-01/backup/backupapi/interfaces.go @@ -121,6 +121,7 @@ type ProtectedItemsClientAPI interface { Delete(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string) (result autorest.Response, err error) Get(ctx context.Context, vaultName string, resourceGroupName string, fabricName string, containerName string, protectedItemName string, filter string) (result backup.ProtectedItemResource, err error) 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 _ ProtectedItemsClientAPI = (*backup.ProtectedItemsClient)(nil) @@ -128,6 +129,7 @@ var _ ProtectedItemsClientAPI = (*backup.ProtectedItemsClient)(nil) // 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) @@ -150,6 +152,7 @@ var _ JobOperationResultsClientAPI = (*backup.JobOperationResultsClient)(nil) type JobsClientAPI interface { Export(ctx context.Context, vaultName string, resourceGroupName string, filter string) (result autorest.Response, err error) 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) @@ -185,6 +188,7 @@ var _ OperationResultsClientAPI = (*backup.OperationResultsClient)(nil) // EnginesClientAPI contains the set of methods on the EnginesClient type. type EnginesClientAPI interface { Get(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.EngineBaseResourceListPage, err error) + GetComplete(ctx context.Context, vaultName string, resourceGroupName string, filter string, skipToken string) (result backup.EngineBaseResourceListIterator, err error) } var _ EnginesClientAPI = (*backup.EnginesClient)(nil) diff --git a/services/recoveryservices/mgmt/2016-06-01/backup/backups.go b/services/recoveryservices/mgmt/2016-06-01/backup/backups.go index 52e131599379..cfb30c19cc76 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/backups.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/client.go b/services/recoveryservices/mgmt/2016-06-01/backup/client.go index 368e7dd02114..ed8404645edc 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/client.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/engines.go b/services/recoveryservices/mgmt/2016-06-01/backup/engines.go index 533df8592111..b31192f79ce5 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/engines.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/exportjobsoperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/exportjobsoperationresults.go index 12424d8713aa..85b51089e162 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/exportjobsoperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/itemlevelrecoveryconnections.go b/services/recoveryservices/mgmt/2016-06-01/backup/itemlevelrecoveryconnections.go index df59215ad771..391312c0d4f5 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/itemlevelrecoveryconnections.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/jobcancellations.go b/services/recoveryservices/mgmt/2016-06-01/backup/jobcancellations.go index ac2a8f853a16..295a25a34853 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/jobcancellations.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/jobdetails.go b/services/recoveryservices/mgmt/2016-06-01/backup/jobdetails.go index f9761255f21c..8eda6dac3d0f 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/jobdetails.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/joboperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/joboperationresults.go index 790fbca69bd5..334c3f98a37d 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/joboperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/jobs.go b/services/recoveryservices/mgmt/2016-06-01/backup/jobs.go index faa52601e34f..c274e2b49ddf 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/jobs.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/operationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/operationresults.go index ef8f7550a1cb..2934e5bf68ae 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/operationresults.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/operationstatuses.go b/services/recoveryservices/mgmt/2016-06-01/backup/operationstatuses.go index d65f482e45fc..7d4794d1ee66 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/operationstatuses.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protectableitems.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectableitems.go index b82d4aec26f2..aba1781243c9 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectableitems.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protecteditemoperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/protecteditemoperationresults.go index a1d7584f5d63..718a39d2664d 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protecteditemoperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/protecteditemoperationstatuses.go b/services/recoveryservices/mgmt/2016-06-01/backup/protecteditemoperationstatuses.go index 8d8ae8689472..f659bfcf5daa 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protecteditemoperationstatuses.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protecteditems.go b/services/recoveryservices/mgmt/2016-06-01/backup/protecteditems.go index 511eec0d350f..00728575563d 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protecteditems.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/protectioncontaineroperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontaineroperationresults.go index cb5ecf7edc78..6cbca6583b4e 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontaineroperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protectioncontainerrefreshoperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontainerrefreshoperationresults.go index 69f82d00cef3..10015f58e0c1 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontainerrefreshoperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protectioncontainers.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontainers.go index 174c877b9c82..88cee588bfb9 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectioncontainers.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protectionpolicies.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicies.go index 094e38c96ebb..619c609455a5 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicies.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/protectionpolicyoperationresults.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicyoperationresults.go index 700d6dd8fffb..fb70af9e6aad 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicyoperationresults.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/protectionpolicyoperationstatuses.go b/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicyoperationstatuses.go index cef01e97e4e9..834e056423ee 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/protectionpolicyoperationstatuses.go +++ b/services/recoveryservices/mgmt/2016-06-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-06-01/backup/recoverypoints.go b/services/recoveryservices/mgmt/2016-06-01/backup/recoverypoints.go index 274f2f09af07..ecfd3a45b9e9 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/recoverypoints.go +++ b/services/recoveryservices/mgmt/2016-06-01/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/2016-06-01/backup/restores.go b/services/recoveryservices/mgmt/2016-06-01/backup/restores.go index eb2b3f1906a2..62bbe01f2a38 100644 --- a/services/recoveryservices/mgmt/2016-06-01/backup/restores.go +++ b/services/recoveryservices/mgmt/2016-06-01/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)} }