From 967d4a183f06ad23a1f79855a18c9d5f21ebcbd9 Mon Sep 17 00:00:00 2001 From: "openapi-sdkautomation[bot]" <37845953+openapi-sdkautomation[bot]@users.noreply.github.com> Date: Fri, 10 Jan 2020 17:09:15 +0800 Subject: [PATCH] Generated from 388db566203544de71b9f5fb0d6c6a4c54c79b6d (#6783) Add new api-versions for frontdoor --- services/frontdoor/mgmt/2019-05-01/frontdoor/client.go | 3 ++- services/frontdoor/mgmt/2019-05-01/frontdoor/endpoints.go | 3 ++- .../mgmt/2019-05-01/frontdoor/frontdoorapi/interfaces.go | 5 +++++ services/frontdoor/mgmt/2019-05-01/frontdoor/frontdoors.go | 3 ++- .../frontdoor/mgmt/2019-05-01/frontdoor/frontendendpoints.go | 4 +++- .../frontdoor/mgmt/2019-05-01/frontdoor/managedrulesets.go | 3 ++- services/frontdoor/mgmt/2019-05-01/frontdoor/policies.go | 3 ++- 7 files changed, 18 insertions(+), 6 deletions(-) diff --git a/services/frontdoor/mgmt/2019-05-01/frontdoor/client.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/client.go index 4ae20818d416..91f605afddb9 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/client.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/endpoints.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/endpoints.go index 45b3caf3f6eb..edb66c36b708 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/endpoints.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/frontdoorapi/interfaces.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/frontdoorapi/interfaces.go index 2fa8bb51b743..29c0dd148748 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/frontdoorapi/interfaces.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/frontdoors.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/frontdoors.go index 69c824ef87ce..8c62d42cfafe 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/frontdoors.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/frontendendpoints.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/frontendendpoints.go index 9fa5f132ff37..f1e0d59f0b8a 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/frontendendpoints.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/managedrulesets.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/managedrulesets.go index 131f3c52f5ef..9ecf69d2c2e6 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/managedrulesets.go +++ b/services/frontdoor/mgmt/2019-05-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-05-01/frontdoor/policies.go b/services/frontdoor/mgmt/2019-05-01/frontdoor/policies.go index 89c4fdb4da6d..7fab8d2c0c9f 100644 --- a/services/frontdoor/mgmt/2019-05-01/frontdoor/policies.go +++ b/services/frontdoor/mgmt/2019-05-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)} }