diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/client.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/client.go index 31795304aa33..85a96011ad7d 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/client.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/client.go @@ -46,7 +46,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/frontdoor/mgmt/2019-04-01/frontdoor/endpoints.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/endpoints.go index 935523490056..2af2c8cdec9d 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/endpoints.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/endpoints.go @@ -36,7 +36,8 @@ func NewEndpointsClient(subscriptionID string) EndpointsClient { return NewEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient client. +// NewEndpointsClientWithBaseURI creates an instance of the EndpointsClient 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 NewEndpointsClientWithBaseURI(baseURI string, subscriptionID string) EndpointsClient { return EndpointsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoorapi/interfaces.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoorapi/interfaces.go index f7fa78530e1e..1ef5a46f5623 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoorapi/interfaces.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoorapi/interfaces.go @@ -36,7 +36,9 @@ type FrontDoorsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, frontDoorName string) (result frontdoor.FrontDoorsDeleteFutureType, err error) Get(ctx context.Context, resourceGroupName string, frontDoorName string) (result frontdoor.FrontDoor, err error) List(ctx context.Context) (result frontdoor.ListResultPage, err error) + ListComplete(ctx context.Context) (result frontdoor.ListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result frontdoor.ListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result frontdoor.ListResultIterator, err error) ValidateCustomDomain(ctx context.Context, resourceGroupName string, frontDoorName string, customDomainProperties frontdoor.ValidateCustomDomainInput) (result frontdoor.ValidateCustomDomainOutput, err error) } @@ -48,6 +50,7 @@ type FrontendEndpointsClientAPI interface { EnableHTTPS(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string, customHTTPSConfiguration frontdoor.CustomHTTPSConfiguration) (result frontdoor.FrontendEndpointsEnableHTTPSFuture, err error) Get(ctx context.Context, resourceGroupName string, frontDoorName string, frontendEndpointName string) (result frontdoor.FrontendEndpoint, err error) ListByFrontDoor(ctx context.Context, resourceGroupName string, frontDoorName string) (result frontdoor.FrontendEndpointsListResultPage, err error) + ListByFrontDoorComplete(ctx context.Context, resourceGroupName string, frontDoorName string) (result frontdoor.FrontendEndpointsListResultIterator, err error) } var _ FrontendEndpointsClientAPI = (*frontdoor.FrontendEndpointsClient)(nil) @@ -65,6 +68,7 @@ type PoliciesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, policyName string) (result frontdoor.PoliciesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, policyName string) (result frontdoor.WebApplicationFirewallPolicy, err error) List(ctx context.Context, resourceGroupName string) (result frontdoor.WebApplicationFirewallPolicyListPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result frontdoor.WebApplicationFirewallPolicyListIterator, err error) } var _ PoliciesClientAPI = (*frontdoor.PoliciesClient)(nil) @@ -72,6 +76,7 @@ var _ PoliciesClientAPI = (*frontdoor.PoliciesClient)(nil) // ManagedRuleSetsClientAPI contains the set of methods on the ManagedRuleSetsClient type. type ManagedRuleSetsClientAPI interface { List(ctx context.Context) (result frontdoor.ManagedRuleSetDefinitionListPage, err error) + ListComplete(ctx context.Context) (result frontdoor.ManagedRuleSetDefinitionListIterator, err error) } var _ ManagedRuleSetsClientAPI = (*frontdoor.ManagedRuleSetsClient)(nil) diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoors.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoors.go index 6c1133caf17e..64bf2061380d 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoors.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontdoors.go @@ -36,7 +36,8 @@ func NewFrontDoorsClient(subscriptionID string) FrontDoorsClient { return NewFrontDoorsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewFrontDoorsClientWithBaseURI creates an instance of the FrontDoorsClient client. +// NewFrontDoorsClientWithBaseURI creates an instance of the FrontDoorsClient 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 NewFrontDoorsClientWithBaseURI(baseURI string, subscriptionID string) FrontDoorsClient { return FrontDoorsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontendendpoints.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontendendpoints.go index c05303c37ea4..2bc8cd0f7619 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/frontendendpoints.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/frontendendpoints.go @@ -36,7 +36,9 @@ func NewFrontendEndpointsClient(subscriptionID string) FrontendEndpointsClient { return NewFrontendEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewFrontendEndpointsClientWithBaseURI creates an instance of the FrontendEndpointsClient client. +// NewFrontendEndpointsClientWithBaseURI creates an instance of the FrontendEndpointsClient 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 NewFrontendEndpointsClientWithBaseURI(baseURI string, subscriptionID string) FrontendEndpointsClient { return FrontendEndpointsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/managedrulesets.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/managedrulesets.go index 131f3c52f5ef..9ecf69d2c2e6 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/managedrulesets.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/managedrulesets.go @@ -35,7 +35,8 @@ func NewManagedRuleSetsClient(subscriptionID string) ManagedRuleSetsClient { return NewManagedRuleSetsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewManagedRuleSetsClientWithBaseURI creates an instance of the ManagedRuleSetsClient client. +// NewManagedRuleSetsClientWithBaseURI creates an instance of the ManagedRuleSetsClient 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 NewManagedRuleSetsClientWithBaseURI(baseURI string, subscriptionID string) ManagedRuleSetsClient { return ManagedRuleSetsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/frontdoor/mgmt/2019-04-01/frontdoor/policies.go b/services/frontdoor/mgmt/2019-04-01/frontdoor/policies.go index 89c4fdb4da6d..7fab8d2c0c9f 100644 --- a/services/frontdoor/mgmt/2019-04-01/frontdoor/policies.go +++ b/services/frontdoor/mgmt/2019-04-01/frontdoor/policies.go @@ -36,7 +36,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)} }