diff --git a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/client.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/client.go index fd8b2d59dc06..614fcf83ad76 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/client.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/endpoints.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/endpoints.go index da4d214c740a..9e2215d46574 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/endpoints.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoorapi/interfaces.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoorapi/interfaces.go index c5c2c2f4be03..145e2e39009e 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoorapi/interfaces.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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.WebApplicationFirewallPolicy1, err error) List(ctx context.Context, resourceGroupName string) (result frontdoor.WebApplicationFirewallPolicyListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result frontdoor.WebApplicationFirewallPolicyListResultIterator, err error) } var _ PoliciesClientAPI = (*frontdoor.PoliciesClient)(nil) diff --git a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoors.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoors.go index b372223232b9..23ff5feb329f 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontdoors.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontendendpoints.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontendendpoints.go index 227ccc3cd765..1cc84a6e1199 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/frontendendpoints.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/policies.go b/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/policies.go index 252010661f5d..e1b9393430c3 100644 --- a/services/preview/frontdoor/mgmt/2018-08-01-preview/frontdoor/policies.go +++ b/services/preview/frontdoor/mgmt/2018-08-01-preview/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)} }