From 839c25a183b9aaacd1a5016800e34168315bc2ec Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Wed, 15 Jan 2020 14:34:14 +0000 Subject: [PATCH] Generated from 2b5e6d599bc3eeb78c0fe2bd3a0967357a7175a2 Network December release # Conflicts: # package.json # preproduction-azure-pipelines.yml --- .../2019-07-01/network/applicationgateways.go | 4 +- .../network/applicationsecuritygroups.go | 4 +- .../network/availabledelegations.go | 4 +- .../network/availableendpointservices.go | 4 +- .../network/availableprivateendpointtypes.go | 3 +- .../availableresourcegroupdelegations.go | 3 +- .../network/azurefirewallfqdntags.go | 4 +- .../mgmt/2019-07-01/network/azurefirewalls.go | 3 +- .../mgmt/2019-07-01/network/bastionhosts.go | 3 +- .../network/bgpservicecommunities.go | 4 +- .../network/mgmt/2019-07-01/network/client.go | 3 +- .../2019-07-01/network/connectionmonitors.go | 4 +- .../2019-07-01/network/ddoscustompolicies.go | 4 +- .../2019-07-01/network/ddosprotectionplans.go | 4 +- .../network/defaultsecurityrules.go | 4 +- .../expressroutecircuitauthorizations.go | 3 +- .../network/expressroutecircuitconnections.go | 3 +- .../network/expressroutecircuitpeerings.go | 4 +- .../network/expressroutecircuits.go | 4 +- .../network/expressrouteconnections.go | 4 +- .../expressroutecrossconnectionpeerings.go | 3 +- .../network/expressroutecrossconnections.go | 3 +- .../network/expressroutegateways.go | 4 +- .../2019-07-01/network/expressroutelinks.go | 4 +- .../2019-07-01/network/expressrouteports.go | 4 +- .../network/expressrouteportslocations.go | 4 +- .../network/expressrouteserviceproviders.go | 3 +- .../2019-07-01/network/firewallpolicies.go | 4 +- .../network/firewallpolicyrulegroups.go | 4 +- .../network/hubvirtualnetworkconnections.go | 3 +- .../2019-07-01/network/inboundnatrules.go | 3 +- .../network/interfaceipconfigurations.go | 4 +- .../network/interfaceloadbalancers.go | 4 +- .../2019-07-01/network/interfacesgroup.go | 3 +- .../network/interfacetapconfigurations.go | 4 +- .../loadbalancerbackendaddresspools.go | 3 +- .../loadbalancerfrontendipconfigurations.go | 3 +- .../network/loadbalancerloadbalancingrules.go | 3 +- .../network/loadbalancernetworkinterfaces.go | 3 +- .../network/loadbalanceroutboundrules.go | 4 +- .../2019-07-01/network/loadbalancerprobes.go | 4 +- .../mgmt/2019-07-01/network/loadbalancers.go | 3 +- .../network/localnetworkgateways.go | 4 +- .../mgmt/2019-07-01/network/natgateways.go | 3 +- .../network/networkapi/interfaces.go | 114 ++++++++++++++++++ .../mgmt/2019-07-01/network/operations.go | 3 +- .../mgmt/2019-07-01/network/p2svpngateways.go | 3 +- .../network/p2svpnserverconfigurations.go | 4 +- .../mgmt/2019-07-01/network/packetcaptures.go | 3 +- .../peerexpressroutecircuitconnections.go | 3 +- .../2019-07-01/network/privateendpoints.go | 4 +- .../2019-07-01/network/privatelinkservices.go | 4 +- .../mgmt/2019-07-01/network/profiles.go | 3 +- .../2019-07-01/network/publicipaddresses.go | 4 +- .../2019-07-01/network/publicipprefixes.go | 4 +- .../network/resourcenavigationlinks.go | 4 +- .../2019-07-01/network/routefilterrules.go | 4 +- .../mgmt/2019-07-01/network/routefilters.go | 3 +- .../network/mgmt/2019-07-01/network/routes.go | 3 +- .../mgmt/2019-07-01/network/routetables.go | 3 +- .../mgmt/2019-07-01/network/securitygroups.go | 3 +- .../mgmt/2019-07-01/network/securityrules.go | 3 +- .../network/serviceassociationlinks.go | 4 +- .../network/serviceendpointpolicies.go | 4 +- .../serviceendpointpolicydefinitions.go | 3 +- .../mgmt/2019-07-01/network/servicetags.go | 3 +- .../mgmt/2019-07-01/network/subnets.go | 3 +- .../network/mgmt/2019-07-01/network/usages.go | 3 +- .../mgmt/2019-07-01/network/virtualhubs.go | 3 +- .../virtualnetworkgatewayconnections.go | 3 +- .../network/virtualnetworkgateways.go | 4 +- .../network/virtualnetworkpeerings.go | 4 +- .../2019-07-01/network/virtualnetworks.go | 3 +- .../2019-07-01/network/virtualnetworktaps.go | 4 +- .../network/virtualrouterpeerings.go | 4 +- .../mgmt/2019-07-01/network/virtualrouters.go | 3 +- .../mgmt/2019-07-01/network/virtualwans.go | 3 +- .../mgmt/2019-07-01/network/vpnconnections.go | 3 +- .../mgmt/2019-07-01/network/vpngateways.go | 3 +- .../2019-07-01/network/vpnlinkconnections.go | 4 +- .../network/vpnsitelinkconnections.go | 4 +- .../mgmt/2019-07-01/network/vpnsitelinks.go | 3 +- .../mgmt/2019-07-01/network/vpnsites.go | 3 +- .../network/vpnsitesconfiguration.go | 4 +- .../mgmt/2019-07-01/network/watchers.go | 3 +- .../network/webapplicationfirewallpolicies.go | 3 +- 86 files changed, 325 insertions(+), 85 deletions(-) diff --git a/services/network/mgmt/2019-07-01/network/applicationgateways.go b/services/network/mgmt/2019-07-01/network/applicationgateways.go index 2d5cee49e567..50c743b4b4c7 100644 --- a/services/network/mgmt/2019-07-01/network/applicationgateways.go +++ b/services/network/mgmt/2019-07-01/network/applicationgateways.go @@ -36,7 +36,9 @@ func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClie return NewApplicationGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient client. +// NewApplicationGatewaysClientWithBaseURI creates an instance of the ApplicationGatewaysClient 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 NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient { return ApplicationGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/applicationsecuritygroups.go b/services/network/mgmt/2019-07-01/network/applicationsecuritygroups.go index e697c2e450fd..404b83421138 100644 --- a/services/network/mgmt/2019-07-01/network/applicationsecuritygroups.go +++ b/services/network/mgmt/2019-07-01/network/applicationsecuritygroups.go @@ -35,7 +35,9 @@ func NewApplicationSecurityGroupsClient(subscriptionID string) ApplicationSecuri return NewApplicationSecurityGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient client. +// NewApplicationSecurityGroupsClientWithBaseURI creates an instance of the ApplicationSecurityGroupsClient 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 NewApplicationSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) ApplicationSecurityGroupsClient { return ApplicationSecurityGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/availabledelegations.go b/services/network/mgmt/2019-07-01/network/availabledelegations.go index 590749fae9fb..cfff5160371c 100644 --- a/services/network/mgmt/2019-07-01/network/availabledelegations.go +++ b/services/network/mgmt/2019-07-01/network/availabledelegations.go @@ -35,7 +35,9 @@ func NewAvailableDelegationsClient(subscriptionID string) AvailableDelegationsCl return NewAvailableDelegationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient client. +// NewAvailableDelegationsClientWithBaseURI creates an instance of the AvailableDelegationsClient 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 NewAvailableDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableDelegationsClient { return AvailableDelegationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/availableendpointservices.go b/services/network/mgmt/2019-07-01/network/availableendpointservices.go index 8be2bc7079b6..7bb7c1159048 100644 --- a/services/network/mgmt/2019-07-01/network/availableendpointservices.go +++ b/services/network/mgmt/2019-07-01/network/availableendpointservices.go @@ -35,7 +35,9 @@ func NewAvailableEndpointServicesClient(subscriptionID string) AvailableEndpoint return NewAvailableEndpointServicesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient client. +// NewAvailableEndpointServicesClientWithBaseURI creates an instance of the AvailableEndpointServicesClient 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 NewAvailableEndpointServicesClientWithBaseURI(baseURI string, subscriptionID string) AvailableEndpointServicesClient { return AvailableEndpointServicesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/availableprivateendpointtypes.go b/services/network/mgmt/2019-07-01/network/availableprivateendpointtypes.go index bf880c8bc121..ebbcb77b29b0 100644 --- a/services/network/mgmt/2019-07-01/network/availableprivateendpointtypes.go +++ b/services/network/mgmt/2019-07-01/network/availableprivateendpointtypes.go @@ -36,7 +36,8 @@ func NewAvailablePrivateEndpointTypesClient(subscriptionID string) AvailablePriv } // NewAvailablePrivateEndpointTypesClientWithBaseURI creates an instance of the AvailablePrivateEndpointTypesClient -// 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 NewAvailablePrivateEndpointTypesClientWithBaseURI(baseURI string, subscriptionID string) AvailablePrivateEndpointTypesClient { return AvailablePrivateEndpointTypesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/availableresourcegroupdelegations.go b/services/network/mgmt/2019-07-01/network/availableresourcegroupdelegations.go index b729c3eda0ee..866640cf75d2 100644 --- a/services/network/mgmt/2019-07-01/network/availableresourcegroupdelegations.go +++ b/services/network/mgmt/2019-07-01/network/availableresourcegroupdelegations.go @@ -37,7 +37,8 @@ func NewAvailableResourceGroupDelegationsClient(subscriptionID string) Available } // NewAvailableResourceGroupDelegationsClientWithBaseURI creates an instance of the -// AvailableResourceGroupDelegationsClient client. +// AvailableResourceGroupDelegationsClient 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 NewAvailableResourceGroupDelegationsClientWithBaseURI(baseURI string, subscriptionID string) AvailableResourceGroupDelegationsClient { return AvailableResourceGroupDelegationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/azurefirewallfqdntags.go b/services/network/mgmt/2019-07-01/network/azurefirewallfqdntags.go index ef9b5288900d..41c12bb87251 100644 --- a/services/network/mgmt/2019-07-01/network/azurefirewallfqdntags.go +++ b/services/network/mgmt/2019-07-01/network/azurefirewallfqdntags.go @@ -35,7 +35,9 @@ func NewAzureFirewallFqdnTagsClient(subscriptionID string) AzureFirewallFqdnTags return NewAzureFirewallFqdnTagsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient client. +// NewAzureFirewallFqdnTagsClientWithBaseURI creates an instance of the AzureFirewallFqdnTagsClient 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 NewAzureFirewallFqdnTagsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallFqdnTagsClient { return AzureFirewallFqdnTagsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/azurefirewalls.go b/services/network/mgmt/2019-07-01/network/azurefirewalls.go index eac686f53fb4..c49c3b9baeba 100644 --- a/services/network/mgmt/2019-07-01/network/azurefirewalls.go +++ b/services/network/mgmt/2019-07-01/network/azurefirewalls.go @@ -35,7 +35,8 @@ func NewAzureFirewallsClient(subscriptionID string) AzureFirewallsClient { return NewAzureFirewallsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient client. +// NewAzureFirewallsClientWithBaseURI creates an instance of the AzureFirewallsClient 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 NewAzureFirewallsClientWithBaseURI(baseURI string, subscriptionID string) AzureFirewallsClient { return AzureFirewallsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/bastionhosts.go b/services/network/mgmt/2019-07-01/network/bastionhosts.go index cb1d53fa0408..e995c8df7f2b 100644 --- a/services/network/mgmt/2019-07-01/network/bastionhosts.go +++ b/services/network/mgmt/2019-07-01/network/bastionhosts.go @@ -35,7 +35,8 @@ func NewBastionHostsClient(subscriptionID string) BastionHostsClient { return NewBastionHostsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient client. +// NewBastionHostsClientWithBaseURI creates an instance of the BastionHostsClient 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 NewBastionHostsClientWithBaseURI(baseURI string, subscriptionID string) BastionHostsClient { return BastionHostsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/bgpservicecommunities.go b/services/network/mgmt/2019-07-01/network/bgpservicecommunities.go index b6e3d0268459..9317eb2fcc38 100644 --- a/services/network/mgmt/2019-07-01/network/bgpservicecommunities.go +++ b/services/network/mgmt/2019-07-01/network/bgpservicecommunities.go @@ -35,7 +35,9 @@ func NewBgpServiceCommunitiesClient(subscriptionID string) BgpServiceCommunities return NewBgpServiceCommunitiesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient client. +// NewBgpServiceCommunitiesClientWithBaseURI creates an instance of the BgpServiceCommunitiesClient 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 NewBgpServiceCommunitiesClientWithBaseURI(baseURI string, subscriptionID string) BgpServiceCommunitiesClient { return BgpServiceCommunitiesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/client.go b/services/network/mgmt/2019-07-01/network/client.go index a3b0b893696c..9da48ac17d64 100644 --- a/services/network/mgmt/2019-07-01/network/client.go +++ b/services/network/mgmt/2019-07-01/network/client.go @@ -45,7 +45,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/network/mgmt/2019-07-01/network/connectionmonitors.go b/services/network/mgmt/2019-07-01/network/connectionmonitors.go index ca171615eb08..b33487f27c44 100644 --- a/services/network/mgmt/2019-07-01/network/connectionmonitors.go +++ b/services/network/mgmt/2019-07-01/network/connectionmonitors.go @@ -36,7 +36,9 @@ func NewConnectionMonitorsClient(subscriptionID string) ConnectionMonitorsClient return NewConnectionMonitorsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient client. +// NewConnectionMonitorsClientWithBaseURI creates an instance of the ConnectionMonitorsClient 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 NewConnectionMonitorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectionMonitorsClient { return ConnectionMonitorsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/ddoscustompolicies.go b/services/network/mgmt/2019-07-01/network/ddoscustompolicies.go index b3d021a65b2b..2951efdae2d4 100644 --- a/services/network/mgmt/2019-07-01/network/ddoscustompolicies.go +++ b/services/network/mgmt/2019-07-01/network/ddoscustompolicies.go @@ -35,7 +35,9 @@ func NewDdosCustomPoliciesClient(subscriptionID string) DdosCustomPoliciesClient return NewDdosCustomPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient client. +// NewDdosCustomPoliciesClientWithBaseURI creates an instance of the DdosCustomPoliciesClient 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 NewDdosCustomPoliciesClientWithBaseURI(baseURI string, subscriptionID string) DdosCustomPoliciesClient { return DdosCustomPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/ddosprotectionplans.go b/services/network/mgmt/2019-07-01/network/ddosprotectionplans.go index 4278d4000d93..71aab27d252d 100644 --- a/services/network/mgmt/2019-07-01/network/ddosprotectionplans.go +++ b/services/network/mgmt/2019-07-01/network/ddosprotectionplans.go @@ -35,7 +35,9 @@ func NewDdosProtectionPlansClient(subscriptionID string) DdosProtectionPlansClie return NewDdosProtectionPlansClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient client. +// NewDdosProtectionPlansClientWithBaseURI creates an instance of the DdosProtectionPlansClient 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 NewDdosProtectionPlansClientWithBaseURI(baseURI string, subscriptionID string) DdosProtectionPlansClient { return DdosProtectionPlansClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/defaultsecurityrules.go b/services/network/mgmt/2019-07-01/network/defaultsecurityrules.go index 00e112b530f9..6efa859bb178 100644 --- a/services/network/mgmt/2019-07-01/network/defaultsecurityrules.go +++ b/services/network/mgmt/2019-07-01/network/defaultsecurityrules.go @@ -35,7 +35,9 @@ func NewDefaultSecurityRulesClient(subscriptionID string) DefaultSecurityRulesCl return NewDefaultSecurityRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient client. +// NewDefaultSecurityRulesClientWithBaseURI creates an instance of the DefaultSecurityRulesClient 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 NewDefaultSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) DefaultSecurityRulesClient { return DefaultSecurityRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecircuitauthorizations.go b/services/network/mgmt/2019-07-01/network/expressroutecircuitauthorizations.go index fd5ac2a9832e..67e3f098d91a 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecircuitauthorizations.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecircuitauthorizations.go @@ -37,7 +37,8 @@ func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRo } // NewExpressRouteCircuitAuthorizationsClientWithBaseURI creates an instance of the -// ExpressRouteCircuitAuthorizationsClient client. +// ExpressRouteCircuitAuthorizationsClient 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 NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient { return ExpressRouteCircuitAuthorizationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecircuitconnections.go b/services/network/mgmt/2019-07-01/network/expressroutecircuitconnections.go index d414f09a6653..4f8d3ba235b0 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecircuitconnections.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecircuitconnections.go @@ -36,7 +36,8 @@ func NewExpressRouteCircuitConnectionsClient(subscriptionID string) ExpressRoute } // NewExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the ExpressRouteCircuitConnectionsClient -// 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 NewExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitConnectionsClient { return ExpressRouteCircuitConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecircuitpeerings.go b/services/network/mgmt/2019-07-01/network/expressroutecircuitpeerings.go index 5ccd0e23f006..aeed5605ca07 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecircuitpeerings.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecircuitpeerings.go @@ -36,7 +36,9 @@ func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCir return NewExpressRouteCircuitPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient client. +// NewExpressRouteCircuitPeeringsClientWithBaseURI creates an instance of the ExpressRouteCircuitPeeringsClient 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 NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient { return ExpressRouteCircuitPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecircuits.go b/services/network/mgmt/2019-07-01/network/expressroutecircuits.go index 06819c16b581..259b6c61560c 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecircuits.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecircuits.go @@ -35,7 +35,9 @@ func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsCl return NewExpressRouteCircuitsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient client. +// NewExpressRouteCircuitsClientWithBaseURI creates an instance of the ExpressRouteCircuitsClient 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 NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient { return ExpressRouteCircuitsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressrouteconnections.go b/services/network/mgmt/2019-07-01/network/expressrouteconnections.go index f7c17bdeff2a..7346ec20ac48 100644 --- a/services/network/mgmt/2019-07-01/network/expressrouteconnections.go +++ b/services/network/mgmt/2019-07-01/network/expressrouteconnections.go @@ -36,7 +36,9 @@ func NewExpressRouteConnectionsClient(subscriptionID string) ExpressRouteConnect return NewExpressRouteConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient client. +// NewExpressRouteConnectionsClientWithBaseURI creates an instance of the ExpressRouteConnectionsClient 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 NewExpressRouteConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteConnectionsClient { return ExpressRouteConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecrossconnectionpeerings.go b/services/network/mgmt/2019-07-01/network/expressroutecrossconnectionpeerings.go index e78344a992d5..0f50155e9957 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecrossconnectionpeerings.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecrossconnectionpeerings.go @@ -38,7 +38,8 @@ func NewExpressRouteCrossConnectionPeeringsClient(subscriptionID string) Express } // NewExpressRouteCrossConnectionPeeringsClientWithBaseURI creates an instance of the -// ExpressRouteCrossConnectionPeeringsClient client. +// ExpressRouteCrossConnectionPeeringsClient 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 NewExpressRouteCrossConnectionPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionPeeringsClient { return ExpressRouteCrossConnectionPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutecrossconnections.go b/services/network/mgmt/2019-07-01/network/expressroutecrossconnections.go index a00ecb6fab68..54d4a8396250 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutecrossconnections.go +++ b/services/network/mgmt/2019-07-01/network/expressroutecrossconnections.go @@ -36,7 +36,8 @@ func NewExpressRouteCrossConnectionsClient(subscriptionID string) ExpressRouteCr } // NewExpressRouteCrossConnectionsClientWithBaseURI creates an instance of the ExpressRouteCrossConnectionsClient -// 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 NewExpressRouteCrossConnectionsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCrossConnectionsClient { return ExpressRouteCrossConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutegateways.go b/services/network/mgmt/2019-07-01/network/expressroutegateways.go index 6d710c708bb7..835dbbd47e5d 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutegateways.go +++ b/services/network/mgmt/2019-07-01/network/expressroutegateways.go @@ -36,7 +36,9 @@ func NewExpressRouteGatewaysClient(subscriptionID string) ExpressRouteGatewaysCl return NewExpressRouteGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient client. +// NewExpressRouteGatewaysClientWithBaseURI creates an instance of the ExpressRouteGatewaysClient 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 NewExpressRouteGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteGatewaysClient { return ExpressRouteGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressroutelinks.go b/services/network/mgmt/2019-07-01/network/expressroutelinks.go index 950ab8358cb4..b13142ff34f4 100644 --- a/services/network/mgmt/2019-07-01/network/expressroutelinks.go +++ b/services/network/mgmt/2019-07-01/network/expressroutelinks.go @@ -35,7 +35,9 @@ func NewExpressRouteLinksClient(subscriptionID string) ExpressRouteLinksClient { return NewExpressRouteLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient client. +// NewExpressRouteLinksClientWithBaseURI creates an instance of the ExpressRouteLinksClient 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 NewExpressRouteLinksClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteLinksClient { return ExpressRouteLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressrouteports.go b/services/network/mgmt/2019-07-01/network/expressrouteports.go index 759321690b84..5f75c9a081cd 100644 --- a/services/network/mgmt/2019-07-01/network/expressrouteports.go +++ b/services/network/mgmt/2019-07-01/network/expressrouteports.go @@ -35,7 +35,9 @@ func NewExpressRoutePortsClient(subscriptionID string) ExpressRoutePortsClient { return NewExpressRoutePortsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient client. +// NewExpressRoutePortsClientWithBaseURI creates an instance of the ExpressRoutePortsClient 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 NewExpressRoutePortsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsClient { return ExpressRoutePortsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressrouteportslocations.go b/services/network/mgmt/2019-07-01/network/expressrouteportslocations.go index af27ddc97129..482e63ae6d60 100644 --- a/services/network/mgmt/2019-07-01/network/expressrouteportslocations.go +++ b/services/network/mgmt/2019-07-01/network/expressrouteportslocations.go @@ -35,7 +35,9 @@ func NewExpressRoutePortsLocationsClient(subscriptionID string) ExpressRoutePort return NewExpressRoutePortsLocationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient client. +// NewExpressRoutePortsLocationsClientWithBaseURI creates an instance of the ExpressRoutePortsLocationsClient 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 NewExpressRoutePortsLocationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRoutePortsLocationsClient { return ExpressRoutePortsLocationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/expressrouteserviceproviders.go b/services/network/mgmt/2019-07-01/network/expressrouteserviceproviders.go index 1a785e950ce6..5c3f47ee8630 100644 --- a/services/network/mgmt/2019-07-01/network/expressrouteserviceproviders.go +++ b/services/network/mgmt/2019-07-01/network/expressrouteserviceproviders.go @@ -36,7 +36,8 @@ func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteSe } // NewExpressRouteServiceProvidersClientWithBaseURI creates an instance of the ExpressRouteServiceProvidersClient -// 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 NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient { return ExpressRouteServiceProvidersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/firewallpolicies.go b/services/network/mgmt/2019-07-01/network/firewallpolicies.go index c4603a60dd58..f5ad545bc936 100644 --- a/services/network/mgmt/2019-07-01/network/firewallpolicies.go +++ b/services/network/mgmt/2019-07-01/network/firewallpolicies.go @@ -35,7 +35,9 @@ func NewFirewallPoliciesClient(subscriptionID string) FirewallPoliciesClient { return NewFirewallPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient client. +// NewFirewallPoliciesClientWithBaseURI creates an instance of the FirewallPoliciesClient 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 NewFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) FirewallPoliciesClient { return FirewallPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/firewallpolicyrulegroups.go b/services/network/mgmt/2019-07-01/network/firewallpolicyrulegroups.go index 84e8bf1c8659..94d296d3004f 100644 --- a/services/network/mgmt/2019-07-01/network/firewallpolicyrulegroups.go +++ b/services/network/mgmt/2019-07-01/network/firewallpolicyrulegroups.go @@ -36,7 +36,9 @@ func NewFirewallPolicyRuleGroupsClient(subscriptionID string) FirewallPolicyRule return NewFirewallPolicyRuleGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewFirewallPolicyRuleGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleGroupsClient client. +// NewFirewallPolicyRuleGroupsClientWithBaseURI creates an instance of the FirewallPolicyRuleGroupsClient 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 NewFirewallPolicyRuleGroupsClientWithBaseURI(baseURI string, subscriptionID string) FirewallPolicyRuleGroupsClient { return FirewallPolicyRuleGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/hubvirtualnetworkconnections.go b/services/network/mgmt/2019-07-01/network/hubvirtualnetworkconnections.go index 3201d17b7e24..0e2ab1b465fb 100644 --- a/services/network/mgmt/2019-07-01/network/hubvirtualnetworkconnections.go +++ b/services/network/mgmt/2019-07-01/network/hubvirtualnetworkconnections.go @@ -36,7 +36,8 @@ func NewHubVirtualNetworkConnectionsClient(subscriptionID string) HubVirtualNetw } // NewHubVirtualNetworkConnectionsClientWithBaseURI creates an instance of the HubVirtualNetworkConnectionsClient -// 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 NewHubVirtualNetworkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) HubVirtualNetworkConnectionsClient { return HubVirtualNetworkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/inboundnatrules.go b/services/network/mgmt/2019-07-01/network/inboundnatrules.go index 7fe4c8a21da7..2b4b66dc8f17 100644 --- a/services/network/mgmt/2019-07-01/network/inboundnatrules.go +++ b/services/network/mgmt/2019-07-01/network/inboundnatrules.go @@ -36,7 +36,8 @@ func NewInboundNatRulesClient(subscriptionID string) InboundNatRulesClient { return NewInboundNatRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient client. +// NewInboundNatRulesClientWithBaseURI creates an instance of the InboundNatRulesClient 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 NewInboundNatRulesClientWithBaseURI(baseURI string, subscriptionID string) InboundNatRulesClient { return InboundNatRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/interfaceipconfigurations.go b/services/network/mgmt/2019-07-01/network/interfaceipconfigurations.go index f0bb40acd4f4..6357f3b45fdc 100644 --- a/services/network/mgmt/2019-07-01/network/interfaceipconfigurations.go +++ b/services/network/mgmt/2019-07-01/network/interfaceipconfigurations.go @@ -35,7 +35,9 @@ func NewInterfaceIPConfigurationsClient(subscriptionID string) InterfaceIPConfig return NewInterfaceIPConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient client. +// NewInterfaceIPConfigurationsClientWithBaseURI creates an instance of the InterfaceIPConfigurationsClient 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 NewInterfaceIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceIPConfigurationsClient { return InterfaceIPConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/interfaceloadbalancers.go b/services/network/mgmt/2019-07-01/network/interfaceloadbalancers.go index 470f81b85da2..6997e7f4e30d 100644 --- a/services/network/mgmt/2019-07-01/network/interfaceloadbalancers.go +++ b/services/network/mgmt/2019-07-01/network/interfaceloadbalancers.go @@ -35,7 +35,9 @@ func NewInterfaceLoadBalancersClient(subscriptionID string) InterfaceLoadBalance return NewInterfaceLoadBalancersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient client. +// NewInterfaceLoadBalancersClientWithBaseURI creates an instance of the InterfaceLoadBalancersClient 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 NewInterfaceLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) InterfaceLoadBalancersClient { return InterfaceLoadBalancersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/interfacesgroup.go b/services/network/mgmt/2019-07-01/network/interfacesgroup.go index b27f9a39da3a..4cc5d487f7ac 100644 --- a/services/network/mgmt/2019-07-01/network/interfacesgroup.go +++ b/services/network/mgmt/2019-07-01/network/interfacesgroup.go @@ -35,7 +35,8 @@ func NewInterfacesClient(subscriptionID string) InterfacesClient { return NewInterfacesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient client. +// NewInterfacesClientWithBaseURI creates an instance of the InterfacesClient 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 NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient { return InterfacesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/interfacetapconfigurations.go b/services/network/mgmt/2019-07-01/network/interfacetapconfigurations.go index 7f4e2ee1e3ba..64a81cfa2e8c 100644 --- a/services/network/mgmt/2019-07-01/network/interfacetapconfigurations.go +++ b/services/network/mgmt/2019-07-01/network/interfacetapconfigurations.go @@ -36,7 +36,9 @@ func NewInterfaceTapConfigurationsClient(subscriptionID string) InterfaceTapConf return NewInterfaceTapConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient client. +// NewInterfaceTapConfigurationsClientWithBaseURI creates an instance of the InterfaceTapConfigurationsClient 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 NewInterfaceTapConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) InterfaceTapConfigurationsClient { return InterfaceTapConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancerbackendaddresspools.go b/services/network/mgmt/2019-07-01/network/loadbalancerbackendaddresspools.go index 3933ca803600..252bf429e43e 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancerbackendaddresspools.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancerbackendaddresspools.go @@ -36,7 +36,8 @@ func NewLoadBalancerBackendAddressPoolsClient(subscriptionID string) LoadBalance } // NewLoadBalancerBackendAddressPoolsClientWithBaseURI creates an instance of the LoadBalancerBackendAddressPoolsClient -// 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 NewLoadBalancerBackendAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerBackendAddressPoolsClient { return LoadBalancerBackendAddressPoolsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancerfrontendipconfigurations.go b/services/network/mgmt/2019-07-01/network/loadbalancerfrontendipconfigurations.go index f3fe42a2b741..f2d792c54946 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancerfrontendipconfigurations.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancerfrontendipconfigurations.go @@ -37,7 +37,8 @@ func NewLoadBalancerFrontendIPConfigurationsClient(subscriptionID string) LoadBa } // NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI creates an instance of the -// LoadBalancerFrontendIPConfigurationsClient client. +// LoadBalancerFrontendIPConfigurationsClient 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 NewLoadBalancerFrontendIPConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerFrontendIPConfigurationsClient { return LoadBalancerFrontendIPConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancerloadbalancingrules.go b/services/network/mgmt/2019-07-01/network/loadbalancerloadbalancingrules.go index 2f1f6ec2c1fb..253973d931c5 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancerloadbalancingrules.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancerloadbalancingrules.go @@ -36,7 +36,8 @@ func NewLoadBalancerLoadBalancingRulesClient(subscriptionID string) LoadBalancer } // NewLoadBalancerLoadBalancingRulesClientWithBaseURI creates an instance of the LoadBalancerLoadBalancingRulesClient -// 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 NewLoadBalancerLoadBalancingRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerLoadBalancingRulesClient { return LoadBalancerLoadBalancingRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancernetworkinterfaces.go b/services/network/mgmt/2019-07-01/network/loadbalancernetworkinterfaces.go index 477f3ba9a1bf..58664086824e 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancernetworkinterfaces.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancernetworkinterfaces.go @@ -36,7 +36,8 @@ func NewLoadBalancerNetworkInterfacesClient(subscriptionID string) LoadBalancerN } // NewLoadBalancerNetworkInterfacesClientWithBaseURI creates an instance of the LoadBalancerNetworkInterfacesClient -// 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 NewLoadBalancerNetworkInterfacesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerNetworkInterfacesClient { return LoadBalancerNetworkInterfacesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalanceroutboundrules.go b/services/network/mgmt/2019-07-01/network/loadbalanceroutboundrules.go index 82eff1e212e4..fd76a61ece85 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalanceroutboundrules.go +++ b/services/network/mgmt/2019-07-01/network/loadbalanceroutboundrules.go @@ -35,7 +35,9 @@ func NewLoadBalancerOutboundRulesClient(subscriptionID string) LoadBalancerOutbo return NewLoadBalancerOutboundRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient client. +// NewLoadBalancerOutboundRulesClientWithBaseURI creates an instance of the LoadBalancerOutboundRulesClient 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 NewLoadBalancerOutboundRulesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerOutboundRulesClient { return LoadBalancerOutboundRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancerprobes.go b/services/network/mgmt/2019-07-01/network/loadbalancerprobes.go index 46cab6e35822..0bbdfb8975db 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancerprobes.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancerprobes.go @@ -35,7 +35,9 @@ func NewLoadBalancerProbesClient(subscriptionID string) LoadBalancerProbesClient return NewLoadBalancerProbesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient client. +// NewLoadBalancerProbesClientWithBaseURI creates an instance of the LoadBalancerProbesClient 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 NewLoadBalancerProbesClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancerProbesClient { return LoadBalancerProbesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/loadbalancers.go b/services/network/mgmt/2019-07-01/network/loadbalancers.go index dd1934505b96..d42cfe4f53ef 100644 --- a/services/network/mgmt/2019-07-01/network/loadbalancers.go +++ b/services/network/mgmt/2019-07-01/network/loadbalancers.go @@ -35,7 +35,8 @@ func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient { return NewLoadBalancersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient client. +// NewLoadBalancersClientWithBaseURI creates an instance of the LoadBalancersClient 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 NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient { return LoadBalancersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/localnetworkgateways.go b/services/network/mgmt/2019-07-01/network/localnetworkgateways.go index be6bced47194..dc83388e7167 100644 --- a/services/network/mgmt/2019-07-01/network/localnetworkgateways.go +++ b/services/network/mgmt/2019-07-01/network/localnetworkgateways.go @@ -36,7 +36,9 @@ func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysCl return NewLocalNetworkGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient client. +// NewLocalNetworkGatewaysClientWithBaseURI creates an instance of the LocalNetworkGatewaysClient 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 NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient { return LocalNetworkGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/natgateways.go b/services/network/mgmt/2019-07-01/network/natgateways.go index 834037bf49f4..9b338bf3035c 100644 --- a/services/network/mgmt/2019-07-01/network/natgateways.go +++ b/services/network/mgmt/2019-07-01/network/natgateways.go @@ -35,7 +35,8 @@ func NewNatGatewaysClient(subscriptionID string) NatGatewaysClient { return NewNatGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient client. +// NewNatGatewaysClientWithBaseURI creates an instance of the NatGatewaysClient 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 NewNatGatewaysClientWithBaseURI(baseURI string, subscriptionID string) NatGatewaysClient { return NatGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/networkapi/interfaces.go b/services/network/mgmt/2019-07-01/network/networkapi/interfaces.go index 7cf8795bd87e..0c0967b2cbbd 100644 --- a/services/network/mgmt/2019-07-01/network/networkapi/interfaces.go +++ b/services/network/mgmt/2019-07-01/network/networkapi/interfaces.go @@ -39,12 +39,15 @@ type ApplicationGatewaysClientAPI interface { Get(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result network.ApplicationGateway, err error) GetSslPredefinedPolicy(ctx context.Context, predefinedPolicyName string) (result network.ApplicationGatewaySslPredefinedPolicy, err error) List(ctx context.Context, resourceGroupName string) (result network.ApplicationGatewayListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.ApplicationGatewayListResultIterator, err error) ListAll(ctx context.Context) (result network.ApplicationGatewayListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.ApplicationGatewayListResultIterator, err error) ListAvailableRequestHeaders(ctx context.Context) (result network.ListString, err error) ListAvailableResponseHeaders(ctx context.Context) (result network.ListString, err error) ListAvailableServerVariables(ctx context.Context) (result network.ListString, err error) ListAvailableSslOptions(ctx context.Context) (result network.ApplicationGatewayAvailableSslOptions, err error) ListAvailableSslPredefinedPolicies(ctx context.Context) (result network.ApplicationGatewayAvailableSslPredefinedPoliciesPage, err error) + ListAvailableSslPredefinedPoliciesComplete(ctx context.Context) (result network.ApplicationGatewayAvailableSslPredefinedPoliciesIterator, err error) ListAvailableWafRuleSets(ctx context.Context) (result network.ApplicationGatewayAvailableWafRuleSetsResult, err error) Start(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result network.ApplicationGatewaysStartFuture, err error) Stop(ctx context.Context, resourceGroupName string, applicationGatewayName string) (result network.ApplicationGatewaysStopFuture, err error) @@ -59,7 +62,9 @@ type ApplicationSecurityGroupsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result network.ApplicationSecurityGroupsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string) (result network.ApplicationSecurityGroup, err error) List(ctx context.Context, resourceGroupName string) (result network.ApplicationSecurityGroupListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.ApplicationSecurityGroupListResultIterator, err error) ListAll(ctx context.Context) (result network.ApplicationSecurityGroupListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.ApplicationSecurityGroupListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, applicationSecurityGroupName string, parameters network.TagsObject) (result network.ApplicationSecurityGroupsUpdateTagsFuture, err error) } @@ -68,6 +73,7 @@ var _ ApplicationSecurityGroupsClientAPI = (*network.ApplicationSecurityGroupsCl // AvailableDelegationsClientAPI contains the set of methods on the AvailableDelegationsClient type. type AvailableDelegationsClientAPI interface { List(ctx context.Context, location string) (result network.AvailableDelegationsResultPage, err error) + ListComplete(ctx context.Context, location string) (result network.AvailableDelegationsResultIterator, err error) } var _ AvailableDelegationsClientAPI = (*network.AvailableDelegationsClient)(nil) @@ -75,6 +81,7 @@ var _ AvailableDelegationsClientAPI = (*network.AvailableDelegationsClient)(nil) // AvailableResourceGroupDelegationsClientAPI contains the set of methods on the AvailableResourceGroupDelegationsClient type. type AvailableResourceGroupDelegationsClientAPI interface { List(ctx context.Context, location string, resourceGroupName string) (result network.AvailableDelegationsResultPage, err error) + ListComplete(ctx context.Context, location string, resourceGroupName string) (result network.AvailableDelegationsResultIterator, err error) } var _ AvailableResourceGroupDelegationsClientAPI = (*network.AvailableResourceGroupDelegationsClient)(nil) @@ -85,7 +92,9 @@ type AzureFirewallsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, azureFirewallName string) (result network.AzureFirewallsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, azureFirewallName string) (result network.AzureFirewall, err error) List(ctx context.Context, resourceGroupName string) (result network.AzureFirewallListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.AzureFirewallListResultIterator, err error) ListAll(ctx context.Context) (result network.AzureFirewallListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.AzureFirewallListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, azureFirewallName string, parameters network.AzureFirewall) (result network.AzureFirewall, err error) } @@ -94,6 +103,7 @@ var _ AzureFirewallsClientAPI = (*network.AzureFirewallsClient)(nil) // AzureFirewallFqdnTagsClientAPI contains the set of methods on the AzureFirewallFqdnTagsClient type. type AzureFirewallFqdnTagsClientAPI interface { ListAll(ctx context.Context) (result network.AzureFirewallFqdnTagListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.AzureFirewallFqdnTagListResultIterator, err error) } var _ AzureFirewallFqdnTagsClientAPI = (*network.AzureFirewallFqdnTagsClient)(nil) @@ -104,7 +114,9 @@ type BastionHostsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, bastionHostName string) (result network.BastionHostsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, bastionHostName string) (result network.BastionHost, err error) List(ctx context.Context) (result network.BastionHostListResultPage, err error) + ListComplete(ctx context.Context) (result network.BastionHostListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.BastionHostListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.BastionHostListResultIterator, err error) } var _ BastionHostsClientAPI = (*network.BastionHostsClient)(nil) @@ -125,7 +137,9 @@ type DdosProtectionPlansClientAPI interface { Delete(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result network.DdosProtectionPlansDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string) (result network.DdosProtectionPlan, err error) List(ctx context.Context) (result network.DdosProtectionPlanListResultPage, err error) + ListComplete(ctx context.Context) (result network.DdosProtectionPlanListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.DdosProtectionPlanListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.DdosProtectionPlanListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, ddosProtectionPlanName string, parameters network.TagsObject) (result network.DdosProtectionPlansUpdateTagsFuture, err error) } @@ -134,6 +148,7 @@ var _ DdosProtectionPlansClientAPI = (*network.DdosProtectionPlansClient)(nil) // AvailableEndpointServicesClientAPI contains the set of methods on the AvailableEndpointServicesClient type. type AvailableEndpointServicesClientAPI interface { List(ctx context.Context, location string) (result network.EndpointServicesListResultPage, err error) + ListComplete(ctx context.Context, location string) (result network.EndpointServicesListResultIterator, err error) } var _ AvailableEndpointServicesClientAPI = (*network.AvailableEndpointServicesClient)(nil) @@ -144,6 +159,7 @@ type ExpressRouteCircuitAuthorizationsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result network.ExpressRouteCircuitAuthorizationsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, circuitName string, authorizationName string) (result network.ExpressRouteCircuitAuthorization, err error) List(ctx context.Context, resourceGroupName string, circuitName string) (result network.AuthorizationListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result network.AuthorizationListResultIterator, err error) } var _ ExpressRouteCircuitAuthorizationsClientAPI = (*network.ExpressRouteCircuitAuthorizationsClient)(nil) @@ -154,6 +170,7 @@ type ExpressRouteCircuitPeeringsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.ExpressRouteCircuitPeeringsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.ExpressRouteCircuitPeering, err error) List(ctx context.Context, resourceGroupName string, circuitName string) (result network.ExpressRouteCircuitPeeringListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, circuitName string) (result network.ExpressRouteCircuitPeeringListResultIterator, err error) } var _ ExpressRouteCircuitPeeringsClientAPI = (*network.ExpressRouteCircuitPeeringsClient)(nil) @@ -164,6 +181,7 @@ type ExpressRouteCircuitConnectionsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result network.ExpressRouteCircuitConnectionsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result network.ExpressRouteCircuitConnection, err error) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.ExpressRouteCircuitConnectionListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.ExpressRouteCircuitConnectionListResultIterator, err error) } var _ ExpressRouteCircuitConnectionsClientAPI = (*network.ExpressRouteCircuitConnectionsClient)(nil) @@ -172,6 +190,7 @@ var _ ExpressRouteCircuitConnectionsClientAPI = (*network.ExpressRouteCircuitCon type PeerExpressRouteCircuitConnectionsClientAPI interface { Get(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, connectionName string) (result network.PeerExpressRouteCircuitConnection, err error) List(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.PeerExpressRouteCircuitConnectionListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.PeerExpressRouteCircuitConnectionListResultIterator, err error) } var _ PeerExpressRouteCircuitConnectionsClientAPI = (*network.PeerExpressRouteCircuitConnectionsClient)(nil) @@ -184,7 +203,9 @@ type ExpressRouteCircuitsClientAPI interface { GetPeeringStats(ctx context.Context, resourceGroupName string, circuitName string, peeringName string) (result network.ExpressRouteCircuitStats, err error) GetStats(ctx context.Context, resourceGroupName string, circuitName string) (result network.ExpressRouteCircuitStats, err error) List(ctx context.Context, resourceGroupName string) (result network.ExpressRouteCircuitListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.ExpressRouteCircuitListResultIterator, err error) ListAll(ctx context.Context) (result network.ExpressRouteCircuitListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.ExpressRouteCircuitListResultIterator, err error) ListArpTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result network.ExpressRouteCircuitsListArpTableFuture, err error) ListRoutesTable(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result network.ExpressRouteCircuitsListRoutesTableFuture, err error) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, circuitName string, peeringName string, devicePath string) (result network.ExpressRouteCircuitsListRoutesTableSummaryFuture, err error) @@ -196,6 +217,7 @@ var _ ExpressRouteCircuitsClientAPI = (*network.ExpressRouteCircuitsClient)(nil) // ExpressRouteServiceProvidersClientAPI contains the set of methods on the ExpressRouteServiceProvidersClient type. type ExpressRouteServiceProvidersClientAPI interface { List(ctx context.Context) (result network.ExpressRouteServiceProviderListResultPage, err error) + ListComplete(ctx context.Context) (result network.ExpressRouteServiceProviderListResultIterator, err error) } var _ ExpressRouteServiceProvidersClientAPI = (*network.ExpressRouteServiceProvidersClient)(nil) @@ -205,8 +227,10 @@ type ExpressRouteCrossConnectionsClientAPI interface { CreateOrUpdate(ctx context.Context, resourceGroupName string, crossConnectionName string, parameters network.ExpressRouteCrossConnection) (result network.ExpressRouteCrossConnectionsCreateOrUpdateFuture, err error) Get(ctx context.Context, resourceGroupName string, crossConnectionName string) (result network.ExpressRouteCrossConnection, err error) List(ctx context.Context) (result network.ExpressRouteCrossConnectionListResultPage, err error) + ListComplete(ctx context.Context) (result network.ExpressRouteCrossConnectionListResultIterator, err error) ListArpTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result network.ExpressRouteCrossConnectionsListArpTableFuture, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ExpressRouteCrossConnectionListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ExpressRouteCrossConnectionListResultIterator, err error) ListRoutesTable(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result network.ExpressRouteCrossConnectionsListRoutesTableFuture, err error) ListRoutesTableSummary(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string, devicePath string) (result network.ExpressRouteCrossConnectionsListRoutesTableSummaryFuture, err error) UpdateTags(ctx context.Context, resourceGroupName string, crossConnectionName string, crossConnectionParameters network.TagsObject) (result network.ExpressRouteCrossConnectionsUpdateTagsFuture, err error) @@ -220,6 +244,7 @@ type ExpressRouteCrossConnectionPeeringsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result network.ExpressRouteCrossConnectionPeeringsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, crossConnectionName string, peeringName string) (result network.ExpressRouteCrossConnectionPeering, err error) List(ctx context.Context, resourceGroupName string, crossConnectionName string) (result network.ExpressRouteCrossConnectionPeeringListPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, crossConnectionName string) (result network.ExpressRouteCrossConnectionPeeringListIterator, err error) } var _ ExpressRouteCrossConnectionPeeringsClientAPI = (*network.ExpressRouteCrossConnectionPeeringsClient)(nil) @@ -249,6 +274,7 @@ var _ ExpressRouteConnectionsClientAPI = (*network.ExpressRouteConnectionsClient type ExpressRoutePortsLocationsClientAPI interface { Get(ctx context.Context, locationName string) (result network.ExpressRoutePortsLocation, err error) List(ctx context.Context) (result network.ExpressRoutePortsLocationListResultPage, err error) + ListComplete(ctx context.Context) (result network.ExpressRoutePortsLocationListResultIterator, err error) } var _ ExpressRoutePortsLocationsClientAPI = (*network.ExpressRoutePortsLocationsClient)(nil) @@ -259,7 +285,9 @@ type ExpressRoutePortsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result network.ExpressRoutePortsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result network.ExpressRoutePort, err error) List(ctx context.Context) (result network.ExpressRoutePortListResultPage, err error) + ListComplete(ctx context.Context) (result network.ExpressRoutePortListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ExpressRoutePortListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ExpressRoutePortListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, expressRoutePortName string, parameters network.TagsObject) (result network.ExpressRoutePortsUpdateTagsFuture, err error) } @@ -269,6 +297,7 @@ var _ ExpressRoutePortsClientAPI = (*network.ExpressRoutePortsClient)(nil) type ExpressRouteLinksClientAPI interface { Get(ctx context.Context, resourceGroupName string, expressRoutePortName string, linkName string) (result network.ExpressRouteLink, err error) List(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result network.ExpressRouteLinkListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, expressRoutePortName string) (result network.ExpressRouteLinkListResultIterator, err error) } var _ ExpressRouteLinksClientAPI = (*network.ExpressRouteLinksClient)(nil) @@ -279,7 +308,9 @@ type FirewallPoliciesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result network.FirewallPoliciesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, expand string) (result network.FirewallPolicy, err error) List(ctx context.Context, resourceGroupName string) (result network.FirewallPolicyListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.FirewallPolicyListResultIterator, err error) ListAll(ctx context.Context) (result network.FirewallPolicyListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.FirewallPolicyListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, firewallPolicyName string, firewallPolicyParameters network.TagsObject) (result network.FirewallPolicy, err error) } @@ -291,6 +322,7 @@ type FirewallPolicyRuleGroupsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (result network.FirewallPolicyRuleGroupsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, firewallPolicyName string, ruleGroupName string) (result network.FirewallPolicyRuleGroup, err error) List(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result network.FirewallPolicyRuleGroupListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, firewallPolicyName string) (result network.FirewallPolicyRuleGroupListResultIterator, err error) } var _ FirewallPolicyRuleGroupsClientAPI = (*network.FirewallPolicyRuleGroupsClient)(nil) @@ -301,7 +333,9 @@ type LoadBalancersClientAPI interface { Delete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancersDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, expand string) (result network.LoadBalancer, err error) List(ctx context.Context, resourceGroupName string) (result network.LoadBalancerListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.LoadBalancerListResultIterator, err error) ListAll(ctx context.Context) (result network.LoadBalancerListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.LoadBalancerListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, loadBalancerName string, parameters network.TagsObject) (result network.LoadBalancersUpdateTagsFuture, err error) } @@ -311,6 +345,7 @@ var _ LoadBalancersClientAPI = (*network.LoadBalancersClient)(nil) type LoadBalancerBackendAddressPoolsClientAPI interface { Get(ctx context.Context, resourceGroupName string, loadBalancerName string, backendAddressPoolName string) (result network.BackendAddressPool, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerBackendAddressPoolListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerBackendAddressPoolListResultIterator, err error) } var _ LoadBalancerBackendAddressPoolsClientAPI = (*network.LoadBalancerBackendAddressPoolsClient)(nil) @@ -319,6 +354,7 @@ var _ LoadBalancerBackendAddressPoolsClientAPI = (*network.LoadBalancerBackendAd type LoadBalancerFrontendIPConfigurationsClientAPI interface { Get(ctx context.Context, resourceGroupName string, loadBalancerName string, frontendIPConfigurationName string) (result network.FrontendIPConfiguration, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerFrontendIPConfigurationListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerFrontendIPConfigurationListResultIterator, err error) } var _ LoadBalancerFrontendIPConfigurationsClientAPI = (*network.LoadBalancerFrontendIPConfigurationsClient)(nil) @@ -329,6 +365,7 @@ type InboundNatRulesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string) (result network.InboundNatRulesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, loadBalancerName string, inboundNatRuleName string, expand string) (result network.InboundNatRule, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.InboundNatRuleListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.InboundNatRuleListResultIterator, err error) } var _ InboundNatRulesClientAPI = (*network.InboundNatRulesClient)(nil) @@ -337,6 +374,7 @@ var _ InboundNatRulesClientAPI = (*network.InboundNatRulesClient)(nil) type LoadBalancerLoadBalancingRulesClientAPI interface { Get(ctx context.Context, resourceGroupName string, loadBalancerName string, loadBalancingRuleName string) (result network.LoadBalancingRule, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerLoadBalancingRuleListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerLoadBalancingRuleListResultIterator, err error) } var _ LoadBalancerLoadBalancingRulesClientAPI = (*network.LoadBalancerLoadBalancingRulesClient)(nil) @@ -345,6 +383,7 @@ var _ LoadBalancerLoadBalancingRulesClientAPI = (*network.LoadBalancerLoadBalanc type LoadBalancerOutboundRulesClientAPI interface { Get(ctx context.Context, resourceGroupName string, loadBalancerName string, outboundRuleName string) (result network.OutboundRule, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerOutboundRuleListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerOutboundRuleListResultIterator, err error) } var _ LoadBalancerOutboundRulesClientAPI = (*network.LoadBalancerOutboundRulesClient)(nil) @@ -352,6 +391,7 @@ var _ LoadBalancerOutboundRulesClientAPI = (*network.LoadBalancerOutboundRulesCl // LoadBalancerNetworkInterfacesClientAPI contains the set of methods on the LoadBalancerNetworkInterfacesClient type. type LoadBalancerNetworkInterfacesClientAPI interface { List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.InterfaceListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.InterfaceListResultIterator, err error) } var _ LoadBalancerNetworkInterfacesClientAPI = (*network.LoadBalancerNetworkInterfacesClient)(nil) @@ -360,6 +400,7 @@ var _ LoadBalancerNetworkInterfacesClientAPI = (*network.LoadBalancerNetworkInte type LoadBalancerProbesClientAPI interface { Get(ctx context.Context, resourceGroupName string, loadBalancerName string, probeName string) (result network.Probe, err error) List(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerProbeListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, loadBalancerName string) (result network.LoadBalancerProbeListResultIterator, err error) } var _ LoadBalancerProbesClientAPI = (*network.LoadBalancerProbesClient)(nil) @@ -370,7 +411,9 @@ type NatGatewaysClientAPI interface { Delete(ctx context.Context, resourceGroupName string, natGatewayName string) (result network.NatGatewaysDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, natGatewayName string, expand string) (result network.NatGateway, err error) List(ctx context.Context, resourceGroupName string) (result network.NatGatewayListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.NatGatewayListResultIterator, err error) ListAll(ctx context.Context) (result network.NatGatewayListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.NatGatewayListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, natGatewayName string, parameters network.TagsObject) (result network.NatGateway, err error) } @@ -385,11 +428,16 @@ type InterfacesClientAPI interface { GetVirtualMachineScaleSetIPConfiguration(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, expand string) (result network.InterfaceIPConfiguration, err error) GetVirtualMachineScaleSetNetworkInterface(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result network.Interface, err error) List(ctx context.Context, resourceGroupName string) (result network.InterfaceListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.InterfaceListResultIterator, err error) ListAll(ctx context.Context) (result network.InterfaceListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.InterfaceListResultIterator, err error) ListEffectiveNetworkSecurityGroups(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfacesListEffectiveNetworkSecurityGroupsFuture, err error) ListVirtualMachineScaleSetIPConfigurations(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result network.InterfaceIPConfigurationListResultPage, err error) + ListVirtualMachineScaleSetIPConfigurationsComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, expand string) (result network.InterfaceIPConfigurationListResultIterator, err error) ListVirtualMachineScaleSetNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result network.InterfaceListResultPage, err error) + ListVirtualMachineScaleSetNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result network.InterfaceListResultIterator, err error) ListVirtualMachineScaleSetVMNetworkInterfaces(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result network.InterfaceListResultPage, err error) + ListVirtualMachineScaleSetVMNetworkInterfacesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string) (result network.InterfaceListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, networkInterfaceName string, parameters network.TagsObject) (result network.InterfacesUpdateTagsFuture, err error) } @@ -399,6 +447,7 @@ var _ InterfacesClientAPI = (*network.InterfacesClient)(nil) type InterfaceIPConfigurationsClientAPI interface { Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, IPConfigurationName string) (result network.InterfaceIPConfiguration, err error) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceIPConfigurationListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceIPConfigurationListResultIterator, err error) } var _ InterfaceIPConfigurationsClientAPI = (*network.InterfaceIPConfigurationsClient)(nil) @@ -406,6 +455,7 @@ var _ InterfaceIPConfigurationsClientAPI = (*network.InterfaceIPConfigurationsCl // InterfaceLoadBalancersClientAPI contains the set of methods on the InterfaceLoadBalancersClient type. type InterfaceLoadBalancersClientAPI interface { List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceLoadBalancerListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceLoadBalancerListResultIterator, err error) } var _ InterfaceLoadBalancersClientAPI = (*network.InterfaceLoadBalancersClient)(nil) @@ -416,6 +466,7 @@ type InterfaceTapConfigurationsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result network.InterfaceTapConfigurationsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, networkInterfaceName string, tapConfigurationName string) (result network.InterfaceTapConfiguration, err error) List(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceTapConfigurationListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, networkInterfaceName string) (result network.InterfaceTapConfigurationListResultIterator, err error) } var _ InterfaceTapConfigurationsClientAPI = (*network.InterfaceTapConfigurationsClient)(nil) @@ -426,7 +477,9 @@ type ProfilesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, networkProfileName string) (result network.ProfilesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, networkProfileName string, expand string) (result network.Profile, err error) List(ctx context.Context, resourceGroupName string) (result network.ProfileListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.ProfileListResultIterator, err error) ListAll(ctx context.Context) (result network.ProfileListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.ProfileListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, networkProfileName string, parameters network.TagsObject) (result network.Profile, err error) } @@ -438,7 +491,9 @@ type SecurityGroupsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result network.SecurityGroupsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, expand string) (result network.SecurityGroup, err error) List(ctx context.Context, resourceGroupName string) (result network.SecurityGroupListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.SecurityGroupListResultIterator, err error) ListAll(ctx context.Context) (result network.SecurityGroupListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.SecurityGroupListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, parameters network.TagsObject) (result network.SecurityGroupsUpdateTagsFuture, err error) } @@ -450,6 +505,7 @@ type SecurityRulesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result network.SecurityRulesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, securityRuleName string) (result network.SecurityRule, err error) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result network.SecurityRuleListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result network.SecurityRuleListResultIterator, err error) } var _ SecurityRulesClientAPI = (*network.SecurityRulesClient)(nil) @@ -458,6 +514,7 @@ var _ SecurityRulesClientAPI = (*network.SecurityRulesClient)(nil) type DefaultSecurityRulesClientAPI interface { Get(ctx context.Context, resourceGroupName string, networkSecurityGroupName string, defaultSecurityRuleName string) (result network.SecurityRule, err error) List(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result network.SecurityRuleListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, networkSecurityGroupName string) (result network.SecurityRuleListResultIterator, err error) } var _ DefaultSecurityRulesClientAPI = (*network.DefaultSecurityRulesClient)(nil) @@ -515,6 +572,7 @@ var _ ConnectionMonitorsClientAPI = (*network.ConnectionMonitorsClient)(nil) // OperationsClientAPI contains the set of methods on the OperationsClient type. type OperationsClientAPI interface { List(ctx context.Context) (result network.OperationListResultPage, err error) + ListComplete(ctx context.Context) (result network.OperationListResultIterator, err error) } var _ OperationsClientAPI = (*network.OperationsClient)(nil) @@ -525,7 +583,9 @@ type PrivateEndpointsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, privateEndpointName string) (result network.PrivateEndpointsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, privateEndpointName string, expand string) (result network.PrivateEndpoint, err error) List(ctx context.Context, resourceGroupName string) (result network.PrivateEndpointListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.PrivateEndpointListResultIterator, err error) ListBySubscription(ctx context.Context) (result network.PrivateEndpointListResultPage, err error) + ListBySubscriptionComplete(ctx context.Context) (result network.PrivateEndpointListResultIterator, err error) } var _ PrivateEndpointsClientAPI = (*network.PrivateEndpointsClient)(nil) @@ -533,7 +593,9 @@ var _ PrivateEndpointsClientAPI = (*network.PrivateEndpointsClient)(nil) // AvailablePrivateEndpointTypesClientAPI contains the set of methods on the AvailablePrivateEndpointTypesClient type. type AvailablePrivateEndpointTypesClientAPI interface { List(ctx context.Context, location string) (result network.AvailablePrivateEndpointTypesResultPage, err error) + ListComplete(ctx context.Context, location string) (result network.AvailablePrivateEndpointTypesResultIterator, err error) ListByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result network.AvailablePrivateEndpointTypesResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result network.AvailablePrivateEndpointTypesResultIterator, err error) } var _ AvailablePrivateEndpointTypesClientAPI = (*network.AvailablePrivateEndpointTypesClient)(nil) @@ -547,9 +609,13 @@ type PrivateLinkServicesClientAPI interface { DeletePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string) (result network.PrivateLinkServicesDeletePrivateEndpointConnectionFuture, err error) Get(ctx context.Context, resourceGroupName string, serviceName string, expand string) (result network.PrivateLinkService, err error) List(ctx context.Context, resourceGroupName string) (result network.PrivateLinkServiceListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.PrivateLinkServiceListResultIterator, err error) ListAutoApprovedPrivateLinkServices(ctx context.Context, location string) (result network.AutoApprovedPrivateLinkServicesResultPage, err error) + ListAutoApprovedPrivateLinkServicesComplete(ctx context.Context, location string) (result network.AutoApprovedPrivateLinkServicesResultIterator, err error) ListAutoApprovedPrivateLinkServicesByResourceGroup(ctx context.Context, location string, resourceGroupName string) (result network.AutoApprovedPrivateLinkServicesResultPage, err error) + ListAutoApprovedPrivateLinkServicesByResourceGroupComplete(ctx context.Context, location string, resourceGroupName string) (result network.AutoApprovedPrivateLinkServicesResultIterator, err error) ListBySubscription(ctx context.Context) (result network.PrivateLinkServiceListResultPage, err error) + ListBySubscriptionComplete(ctx context.Context) (result network.PrivateLinkServiceListResultIterator, err error) UpdatePrivateEndpointConnection(ctx context.Context, resourceGroupName string, serviceName string, peConnectionName string, parameters network.PrivateEndpointConnection) (result network.PrivateEndpointConnection, err error) } @@ -562,9 +628,13 @@ type PublicIPAddressesClientAPI interface { Get(ctx context.Context, resourceGroupName string, publicIPAddressName string, expand string) (result network.PublicIPAddress, err error) GetVirtualMachineScaleSetPublicIPAddress(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string, publicIPAddressName string, expand string) (result network.PublicIPAddress, err error) List(ctx context.Context, resourceGroupName string) (result network.PublicIPAddressListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.PublicIPAddressListResultIterator, err error) ListAll(ctx context.Context) (result network.PublicIPAddressListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.PublicIPAddressListResultIterator, err error) ListVirtualMachineScaleSetPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result network.PublicIPAddressListResultPage, err error) + ListVirtualMachineScaleSetPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string) (result network.PublicIPAddressListResultIterator, err error) ListVirtualMachineScaleSetVMPublicIPAddresses(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result network.PublicIPAddressListResultPage, err error) + ListVirtualMachineScaleSetVMPublicIPAddressesComplete(ctx context.Context, resourceGroupName string, virtualMachineScaleSetName string, virtualmachineIndex string, networkInterfaceName string, IPConfigurationName string) (result network.PublicIPAddressListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, publicIPAddressName string, parameters network.TagsObject) (result network.PublicIPAddressesUpdateTagsFuture, err error) } @@ -576,7 +646,9 @@ type PublicIPPrefixesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, publicIPPrefixName string) (result network.PublicIPPrefixesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, publicIPPrefixName string, expand string) (result network.PublicIPPrefix, err error) List(ctx context.Context, resourceGroupName string) (result network.PublicIPPrefixListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.PublicIPPrefixListResultIterator, err error) ListAll(ctx context.Context) (result network.PublicIPPrefixListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.PublicIPPrefixListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, publicIPPrefixName string, parameters network.TagsObject) (result network.PublicIPPrefixesUpdateTagsFuture, err error) } @@ -588,7 +660,9 @@ type RouteFiltersClientAPI interface { Delete(ctx context.Context, resourceGroupName string, routeFilterName string) (result network.RouteFiltersDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, routeFilterName string, expand string) (result network.RouteFilter, err error) List(ctx context.Context) (result network.RouteFilterListResultPage, err error) + ListComplete(ctx context.Context) (result network.RouteFilterListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.RouteFilterListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.RouteFilterListResultIterator, err error) Update(ctx context.Context, resourceGroupName string, routeFilterName string, routeFilterParameters network.PatchRouteFilter) (result network.RouteFiltersUpdateFuture, err error) } @@ -600,6 +674,7 @@ type RouteFilterRulesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result network.RouteFilterRulesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string) (result network.RouteFilterRule, err error) ListByRouteFilter(ctx context.Context, resourceGroupName string, routeFilterName string) (result network.RouteFilterRuleListResultPage, err error) + ListByRouteFilterComplete(ctx context.Context, resourceGroupName string, routeFilterName string) (result network.RouteFilterRuleListResultIterator, err error) Update(ctx context.Context, resourceGroupName string, routeFilterName string, ruleName string, routeFilterRuleParameters network.PatchRouteFilterRule) (result network.RouteFilterRulesUpdateFuture, err error) } @@ -611,7 +686,9 @@ type RouteTablesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, routeTableName string) (result network.RouteTablesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, routeTableName string, expand string) (result network.RouteTable, err error) List(ctx context.Context, resourceGroupName string) (result network.RouteTableListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.RouteTableListResultIterator, err error) ListAll(ctx context.Context) (result network.RouteTableListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.RouteTableListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, routeTableName string, parameters network.TagsObject) (result network.RouteTablesUpdateTagsFuture, err error) } @@ -623,6 +700,7 @@ type RoutesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result network.RoutesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, routeTableName string, routeName string) (result network.Route, err error) List(ctx context.Context, resourceGroupName string, routeTableName string) (result network.RouteListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, routeTableName string) (result network.RouteListResultIterator, err error) } var _ RoutesClientAPI = (*network.RoutesClient)(nil) @@ -630,6 +708,7 @@ var _ RoutesClientAPI = (*network.RoutesClient)(nil) // BgpServiceCommunitiesClientAPI contains the set of methods on the BgpServiceCommunitiesClient type. type BgpServiceCommunitiesClientAPI interface { List(ctx context.Context) (result network.BgpServiceCommunityListResultPage, err error) + ListComplete(ctx context.Context) (result network.BgpServiceCommunityListResultIterator, err error) } var _ BgpServiceCommunitiesClientAPI = (*network.BgpServiceCommunitiesClient)(nil) @@ -640,7 +719,9 @@ type ServiceEndpointPoliciesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result network.ServiceEndpointPoliciesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, expand string) (result network.ServiceEndpointPolicy, err error) List(ctx context.Context) (result network.ServiceEndpointPolicyListResultPage, err error) + ListComplete(ctx context.Context) (result network.ServiceEndpointPolicyListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ServiceEndpointPolicyListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ServiceEndpointPolicyListResultIterator, err error) Update(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, parameters network.TagsObject) (result network.ServiceEndpointPoliciesUpdateFuture, err error) } @@ -652,6 +733,7 @@ type ServiceEndpointPolicyDefinitionsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result network.ServiceEndpointPolicyDefinitionsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string, serviceEndpointPolicyDefinitionName string) (result network.ServiceEndpointPolicyDefinition, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result network.ServiceEndpointPolicyDefinitionListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, serviceEndpointPolicyName string) (result network.ServiceEndpointPolicyDefinitionListResultIterator, err error) } var _ ServiceEndpointPolicyDefinitionsClientAPI = (*network.ServiceEndpointPolicyDefinitionsClient)(nil) @@ -666,6 +748,7 @@ var _ ServiceTagsClientAPI = (*network.ServiceTagsClient)(nil) // UsagesClientAPI contains the set of methods on the UsagesClient type. type UsagesClientAPI interface { List(ctx context.Context, location string) (result network.UsagesListResultPage, err error) + ListComplete(ctx context.Context, location string) (result network.UsagesListResultIterator, err error) } var _ UsagesClientAPI = (*network.UsagesClient)(nil) @@ -677,8 +760,11 @@ type VirtualNetworksClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworksDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, expand string) (result network.VirtualNetwork, err error) List(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkListResultIterator, err error) ListAll(ctx context.Context) (result network.VirtualNetworkListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.VirtualNetworkListResultIterator, err error) ListUsage(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworkListUsageResultPage, err error) + ListUsageComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworkListUsageResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, virtualNetworkName string, parameters network.TagsObject) (result network.VirtualNetworksUpdateTagsFuture, err error) } @@ -690,6 +776,7 @@ type SubnetsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string) (result network.SubnetsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, expand string) (result network.Subnet, err error) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.SubnetListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.SubnetListResultIterator, err error) PrepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, prepareNetworkPoliciesRequestParameters network.PrepareNetworkPoliciesRequest) (result network.SubnetsPrepareNetworkPoliciesFuture, err error) UnprepareNetworkPolicies(ctx context.Context, resourceGroupName string, virtualNetworkName string, subnetName string, unprepareNetworkPoliciesRequestParameters network.UnprepareNetworkPoliciesRequest) (result network.SubnetsUnprepareNetworkPoliciesFuture, err error) } @@ -716,6 +803,7 @@ type VirtualNetworkPeeringsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result network.VirtualNetworkPeeringsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualNetworkName string, virtualNetworkPeeringName string) (result network.VirtualNetworkPeering, err error) List(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworkPeeringListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, virtualNetworkName string) (result network.VirtualNetworkPeeringListResultIterator, err error) } var _ VirtualNetworkPeeringsClientAPI = (*network.VirtualNetworkPeeringsClient)(nil) @@ -734,7 +822,9 @@ type VirtualNetworkGatewaysClientAPI interface { GetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result network.VirtualNetworkGatewaysGetVpnclientIpsecParametersFuture, err error) GetVpnProfilePackageURL(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result network.VirtualNetworkGatewaysGetVpnProfilePackageURLFuture, err error) List(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkGatewayListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkGatewayListResultIterator, err error) ListConnections(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result network.VirtualNetworkGatewayListConnectionsResultPage, err error) + ListConnectionsComplete(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result network.VirtualNetworkGatewayListConnectionsResultIterator, err error) Reset(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, gatewayVip string) (result network.VirtualNetworkGatewaysResetFuture, err error) ResetVpnClientSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string) (result network.VirtualNetworkGatewaysResetVpnClientSharedKeyFuture, err error) SetVpnclientIpsecParameters(ctx context.Context, resourceGroupName string, virtualNetworkGatewayName string, vpnclientIpsecParams network.VpnClientIPsecParameters) (result network.VirtualNetworkGatewaysSetVpnclientIpsecParametersFuture, err error) @@ -754,6 +844,7 @@ type VirtualNetworkGatewayConnectionsClientAPI interface { Get(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result network.VirtualNetworkGatewayConnection, err error) GetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string) (result network.ConnectionSharedKey, err error) List(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkGatewayConnectionListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkGatewayConnectionListResultIterator, err error) ResetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters network.ConnectionResetSharedKey) (result network.VirtualNetworkGatewayConnectionsResetSharedKeyFuture, err error) SetSharedKey(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters network.ConnectionSharedKey) (result network.VirtualNetworkGatewayConnectionsSetSharedKeyFuture, err error) StartPacketCapture(ctx context.Context, resourceGroupName string, virtualNetworkGatewayConnectionName string, parameters *network.VpnPacketCaptureStartParameters) (result network.VirtualNetworkGatewayConnectionsStartPacketCaptureFuture, err error) @@ -769,6 +860,7 @@ type LocalNetworkGatewaysClientAPI interface { Delete(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result network.LocalNetworkGatewaysDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, localNetworkGatewayName string) (result network.LocalNetworkGateway, err error) List(ctx context.Context, resourceGroupName string) (result network.LocalNetworkGatewayListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.LocalNetworkGatewayListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, localNetworkGatewayName string, parameters network.TagsObject) (result network.LocalNetworkGatewaysUpdateTagsFuture, err error) } @@ -780,7 +872,9 @@ type VirtualNetworkTapsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, tapName string) (result network.VirtualNetworkTapsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, tapName string) (result network.VirtualNetworkTap, err error) ListAll(ctx context.Context) (result network.VirtualNetworkTapListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.VirtualNetworkTapListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkTapListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.VirtualNetworkTapListResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, tapName string, tapParameters network.TagsObject) (result network.VirtualNetworkTapsUpdateTagsFuture, err error) } @@ -792,7 +886,9 @@ type VirtualRoutersClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result network.VirtualRoutersDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, expand string) (result network.VirtualRouter, err error) List(ctx context.Context) (result network.VirtualRouterListResultPage, err error) + ListComplete(ctx context.Context) (result network.VirtualRouterListResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.VirtualRouterListResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.VirtualRouterListResultIterator, err error) Update(ctx context.Context, resourceGroupName string, virtualRouterName string, parameters network.TagsObject) (result network.VirtualRouter, err error) } @@ -804,6 +900,7 @@ type VirtualRouterPeeringsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result network.VirtualRouterPeeringsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string) (result network.VirtualRouterPeering, err error) List(ctx context.Context, resourceGroupName string, virtualRouterName string) (result network.VirtualRouterPeeringListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, virtualRouterName string) (result network.VirtualRouterPeeringListResultIterator, err error) Update(ctx context.Context, resourceGroupName string, virtualRouterName string, peeringName string, parameters network.VirtualRouterPeering) (result network.VirtualRouterPeering, err error) } @@ -815,7 +912,9 @@ type VirtualWansClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualWANName string) (result network.VirtualWansDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualWANName string) (result network.VirtualWAN, err error) List(ctx context.Context) (result network.ListVirtualWANsResultPage, err error) + ListComplete(ctx context.Context) (result network.ListVirtualWANsResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ListVirtualWANsResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ListVirtualWANsResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, virtualWANName string, wANParameters network.TagsObject) (result network.VirtualWansUpdateTagsFuture, err error) } @@ -827,7 +926,9 @@ type VpnSitesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result network.VpnSitesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, vpnSiteName string) (result network.VpnSite, err error) List(ctx context.Context) (result network.ListVpnSitesResultPage, err error) + ListComplete(ctx context.Context) (result network.ListVpnSitesResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ListVpnSitesResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ListVpnSitesResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteParameters network.TagsObject) (result network.VpnSitesUpdateTagsFuture, err error) } @@ -837,6 +938,7 @@ var _ VpnSitesClientAPI = (*network.VpnSitesClient)(nil) type VpnSiteLinksClientAPI interface { Get(ctx context.Context, resourceGroupName string, vpnSiteName string, vpnSiteLinkName string) (result network.VpnSiteLink, err error) ListByVpnSite(ctx context.Context, resourceGroupName string, vpnSiteName string) (result network.ListVpnSiteLinksResultPage, err error) + ListByVpnSiteComplete(ctx context.Context, resourceGroupName string, vpnSiteName string) (result network.ListVpnSiteLinksResultIterator, err error) } var _ VpnSiteLinksClientAPI = (*network.VpnSiteLinksClient)(nil) @@ -854,7 +956,9 @@ type VirtualHubsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualHubName string) (result network.VirtualHubsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualHubName string) (result network.VirtualHub, err error) List(ctx context.Context) (result network.ListVirtualHubsResultPage, err error) + ListComplete(ctx context.Context) (result network.ListVirtualHubsResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ListVirtualHubsResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ListVirtualHubsResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, virtualHubName string, virtualHubParameters network.TagsObject) (result network.VirtualHubsUpdateTagsFuture, err error) } @@ -864,6 +968,7 @@ var _ VirtualHubsClientAPI = (*network.VirtualHubsClient)(nil) type HubVirtualNetworkConnectionsClientAPI interface { Get(ctx context.Context, resourceGroupName string, virtualHubName string, connectionName string) (result network.HubVirtualNetworkConnection, err error) List(ctx context.Context, resourceGroupName string, virtualHubName string) (result network.ListHubVirtualNetworkConnectionsResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string, virtualHubName string) (result network.ListHubVirtualNetworkConnectionsResultIterator, err error) } var _ HubVirtualNetworkConnectionsClientAPI = (*network.HubVirtualNetworkConnectionsClient)(nil) @@ -874,7 +979,9 @@ type VpnGatewaysClientAPI interface { Delete(ctx context.Context, resourceGroupName string, gatewayName string) (result network.VpnGatewaysDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, gatewayName string) (result network.VpnGateway, err error) List(ctx context.Context) (result network.ListVpnGatewaysResultPage, err error) + ListComplete(ctx context.Context) (result network.ListVpnGatewaysResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ListVpnGatewaysResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ListVpnGatewaysResultIterator, err error) Reset(ctx context.Context, resourceGroupName string, gatewayName string) (result network.VpnGatewaysResetFuture, err error) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, vpnGatewayParameters network.TagsObject) (result network.VpnGatewaysUpdateTagsFuture, err error) } @@ -887,6 +994,7 @@ type VpnConnectionsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result network.VpnConnectionsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result network.VpnConnection, err error) ListByVpnGateway(ctx context.Context, resourceGroupName string, gatewayName string) (result network.ListVpnConnectionsResultPage, err error) + ListByVpnGatewayComplete(ctx context.Context, resourceGroupName string, gatewayName string) (result network.ListVpnConnectionsResultIterator, err error) } var _ VpnConnectionsClientAPI = (*network.VpnConnectionsClient)(nil) @@ -901,6 +1009,7 @@ var _ VpnSiteLinkConnectionsClientAPI = (*network.VpnSiteLinkConnectionsClient)( // VpnLinkConnectionsClientAPI contains the set of methods on the VpnLinkConnectionsClient type. type VpnLinkConnectionsClientAPI interface { ListByVpnConnection(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result network.ListVpnSiteLinkConnectionsResultPage, err error) + ListByVpnConnectionComplete(ctx context.Context, resourceGroupName string, gatewayName string, connectionName string) (result network.ListVpnSiteLinkConnectionsResultIterator, err error) } var _ VpnLinkConnectionsClientAPI = (*network.VpnLinkConnectionsClient)(nil) @@ -911,6 +1020,7 @@ type P2sVpnServerConfigurationsClientAPI interface { Delete(ctx context.Context, resourceGroupName string, virtualWanName string, p2SVpnServerConfigurationName string) (result network.P2sVpnServerConfigurationsDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, virtualWanName string, p2SVpnServerConfigurationName string) (result network.P2SVpnServerConfiguration, err error) ListByVirtualWan(ctx context.Context, resourceGroupName string, virtualWanName string) (result network.ListP2SVpnServerConfigurationsResultPage, err error) + ListByVirtualWanComplete(ctx context.Context, resourceGroupName string, virtualWanName string) (result network.ListP2SVpnServerConfigurationsResultIterator, err error) } var _ P2sVpnServerConfigurationsClientAPI = (*network.P2sVpnServerConfigurationsClient)(nil) @@ -923,7 +1033,9 @@ type P2sVpnGatewaysClientAPI interface { Get(ctx context.Context, resourceGroupName string, gatewayName string) (result network.P2SVpnGateway, err error) GetP2sVpnConnectionHealth(ctx context.Context, resourceGroupName string, gatewayName string) (result network.P2sVpnGatewaysGetP2sVpnConnectionHealthFuture, err error) List(ctx context.Context) (result network.ListP2SVpnGatewaysResultPage, err error) + ListComplete(ctx context.Context) (result network.ListP2SVpnGatewaysResultIterator, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result network.ListP2SVpnGatewaysResultPage, err error) + ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result network.ListP2SVpnGatewaysResultIterator, err error) UpdateTags(ctx context.Context, resourceGroupName string, gatewayName string, p2SVpnGatewayParameters network.TagsObject) (result network.P2sVpnGatewaysUpdateTagsFuture, err error) } @@ -935,7 +1047,9 @@ type WebApplicationFirewallPoliciesClientAPI interface { Delete(ctx context.Context, resourceGroupName string, policyName string) (result network.WebApplicationFirewallPoliciesDeleteFuture, err error) Get(ctx context.Context, resourceGroupName string, policyName string) (result network.WebApplicationFirewallPolicy, err error) List(ctx context.Context, resourceGroupName string) (result network.WebApplicationFirewallPolicyListResultPage, err error) + ListComplete(ctx context.Context, resourceGroupName string) (result network.WebApplicationFirewallPolicyListResultIterator, err error) ListAll(ctx context.Context) (result network.WebApplicationFirewallPolicyListResultPage, err error) + ListAllComplete(ctx context.Context) (result network.WebApplicationFirewallPolicyListResultIterator, err error) } var _ WebApplicationFirewallPoliciesClientAPI = (*network.WebApplicationFirewallPoliciesClient)(nil) diff --git a/services/network/mgmt/2019-07-01/network/operations.go b/services/network/mgmt/2019-07-01/network/operations.go index 8ab2f808e085..fa1005eaf48e 100644 --- a/services/network/mgmt/2019-07-01/network/operations.go +++ b/services/network/mgmt/2019-07-01/network/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/network/mgmt/2019-07-01/network/p2svpngateways.go b/services/network/mgmt/2019-07-01/network/p2svpngateways.go index f7eaa1985de8..551f59324ada 100644 --- a/services/network/mgmt/2019-07-01/network/p2svpngateways.go +++ b/services/network/mgmt/2019-07-01/network/p2svpngateways.go @@ -35,7 +35,8 @@ func NewP2sVpnGatewaysClient(subscriptionID string) P2sVpnGatewaysClient { return NewP2sVpnGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient client. +// NewP2sVpnGatewaysClientWithBaseURI creates an instance of the P2sVpnGatewaysClient 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 NewP2sVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) P2sVpnGatewaysClient { return P2sVpnGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/p2svpnserverconfigurations.go b/services/network/mgmt/2019-07-01/network/p2svpnserverconfigurations.go index 086cc6326038..efa3e9bae1b1 100644 --- a/services/network/mgmt/2019-07-01/network/p2svpnserverconfigurations.go +++ b/services/network/mgmt/2019-07-01/network/p2svpnserverconfigurations.go @@ -35,7 +35,9 @@ func NewP2sVpnServerConfigurationsClient(subscriptionID string) P2sVpnServerConf return NewP2sVpnServerConfigurationsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewP2sVpnServerConfigurationsClientWithBaseURI creates an instance of the P2sVpnServerConfigurationsClient client. +// NewP2sVpnServerConfigurationsClientWithBaseURI creates an instance of the P2sVpnServerConfigurationsClient 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 NewP2sVpnServerConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) P2sVpnServerConfigurationsClient { return P2sVpnServerConfigurationsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/packetcaptures.go b/services/network/mgmt/2019-07-01/network/packetcaptures.go index c9a392e95c63..c74976f56273 100644 --- a/services/network/mgmt/2019-07-01/network/packetcaptures.go +++ b/services/network/mgmt/2019-07-01/network/packetcaptures.go @@ -36,7 +36,8 @@ func NewPacketCapturesClient(subscriptionID string) PacketCapturesClient { return NewPacketCapturesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient client. +// NewPacketCapturesClientWithBaseURI creates an instance of the PacketCapturesClient 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 NewPacketCapturesClientWithBaseURI(baseURI string, subscriptionID string) PacketCapturesClient { return PacketCapturesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/peerexpressroutecircuitconnections.go b/services/network/mgmt/2019-07-01/network/peerexpressroutecircuitconnections.go index 99ba04971a24..4a5fe580c919 100644 --- a/services/network/mgmt/2019-07-01/network/peerexpressroutecircuitconnections.go +++ b/services/network/mgmt/2019-07-01/network/peerexpressroutecircuitconnections.go @@ -37,7 +37,8 @@ func NewPeerExpressRouteCircuitConnectionsClient(subscriptionID string) PeerExpr } // NewPeerExpressRouteCircuitConnectionsClientWithBaseURI creates an instance of the -// PeerExpressRouteCircuitConnectionsClient client. +// PeerExpressRouteCircuitConnectionsClient 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 NewPeerExpressRouteCircuitConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PeerExpressRouteCircuitConnectionsClient { return PeerExpressRouteCircuitConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/privateendpoints.go b/services/network/mgmt/2019-07-01/network/privateendpoints.go index ecd68601f8c9..de6cde9bdbd0 100644 --- a/services/network/mgmt/2019-07-01/network/privateendpoints.go +++ b/services/network/mgmt/2019-07-01/network/privateendpoints.go @@ -35,7 +35,9 @@ func NewPrivateEndpointsClient(subscriptionID string) PrivateEndpointsClient { return NewPrivateEndpointsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient client. +// NewPrivateEndpointsClientWithBaseURI creates an instance of the PrivateEndpointsClient 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 NewPrivateEndpointsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointsClient { return PrivateEndpointsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/privatelinkservices.go b/services/network/mgmt/2019-07-01/network/privatelinkservices.go index 6c7e9e90c85a..797bc2fd8baf 100644 --- a/services/network/mgmt/2019-07-01/network/privatelinkservices.go +++ b/services/network/mgmt/2019-07-01/network/privatelinkservices.go @@ -35,7 +35,9 @@ func NewPrivateLinkServicesClient(subscriptionID string) PrivateLinkServicesClie return NewPrivateLinkServicesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient client. +// NewPrivateLinkServicesClientWithBaseURI creates an instance of the PrivateLinkServicesClient 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 NewPrivateLinkServicesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkServicesClient { return PrivateLinkServicesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/profiles.go b/services/network/mgmt/2019-07-01/network/profiles.go index 470be1127a5c..1b722e70cf05 100644 --- a/services/network/mgmt/2019-07-01/network/profiles.go +++ b/services/network/mgmt/2019-07-01/network/profiles.go @@ -35,7 +35,8 @@ func NewProfilesClient(subscriptionID string) ProfilesClient { return NewProfilesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient client. +// NewProfilesClientWithBaseURI creates an instance of the ProfilesClient 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 NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient { return ProfilesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/publicipaddresses.go b/services/network/mgmt/2019-07-01/network/publicipaddresses.go index 011ceb875cfb..364ac95f06dd 100644 --- a/services/network/mgmt/2019-07-01/network/publicipaddresses.go +++ b/services/network/mgmt/2019-07-01/network/publicipaddresses.go @@ -36,7 +36,9 @@ func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient { return NewPublicIPAddressesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient client. +// NewPublicIPAddressesClientWithBaseURI creates an instance of the PublicIPAddressesClient 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 NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient { return PublicIPAddressesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/publicipprefixes.go b/services/network/mgmt/2019-07-01/network/publicipprefixes.go index 0d92dea80fdd..8b1caf007388 100644 --- a/services/network/mgmt/2019-07-01/network/publicipprefixes.go +++ b/services/network/mgmt/2019-07-01/network/publicipprefixes.go @@ -35,7 +35,9 @@ func NewPublicIPPrefixesClient(subscriptionID string) PublicIPPrefixesClient { return NewPublicIPPrefixesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient client. +// NewPublicIPPrefixesClientWithBaseURI creates an instance of the PublicIPPrefixesClient 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 NewPublicIPPrefixesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPPrefixesClient { return PublicIPPrefixesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/resourcenavigationlinks.go b/services/network/mgmt/2019-07-01/network/resourcenavigationlinks.go index 2740bb8d9899..f4ed579d2b45 100644 --- a/services/network/mgmt/2019-07-01/network/resourcenavigationlinks.go +++ b/services/network/mgmt/2019-07-01/network/resourcenavigationlinks.go @@ -35,7 +35,9 @@ func NewResourceNavigationLinksClient(subscriptionID string) ResourceNavigationL return NewResourceNavigationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient client. +// NewResourceNavigationLinksClientWithBaseURI creates an instance of the ResourceNavigationLinksClient 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 NewResourceNavigationLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceNavigationLinksClient { return ResourceNavigationLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/routefilterrules.go b/services/network/mgmt/2019-07-01/network/routefilterrules.go index 72c1bddaaf8c..7fed51bf65fd 100644 --- a/services/network/mgmt/2019-07-01/network/routefilterrules.go +++ b/services/network/mgmt/2019-07-01/network/routefilterrules.go @@ -36,7 +36,9 @@ func NewRouteFilterRulesClient(subscriptionID string) RouteFilterRulesClient { return NewRouteFilterRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient client. +// NewRouteFilterRulesClientWithBaseURI creates an instance of the RouteFilterRulesClient 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 NewRouteFilterRulesClientWithBaseURI(baseURI string, subscriptionID string) RouteFilterRulesClient { return RouteFilterRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/routefilters.go b/services/network/mgmt/2019-07-01/network/routefilters.go index 959c43982388..5d9aa17944c7 100644 --- a/services/network/mgmt/2019-07-01/network/routefilters.go +++ b/services/network/mgmt/2019-07-01/network/routefilters.go @@ -35,7 +35,8 @@ func NewRouteFiltersClient(subscriptionID string) RouteFiltersClient { return NewRouteFiltersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient client. +// NewRouteFiltersClientWithBaseURI creates an instance of the RouteFiltersClient 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 NewRouteFiltersClientWithBaseURI(baseURI string, subscriptionID string) RouteFiltersClient { return RouteFiltersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/routes.go b/services/network/mgmt/2019-07-01/network/routes.go index 10905c1b06f0..278a304547c7 100644 --- a/services/network/mgmt/2019-07-01/network/routes.go +++ b/services/network/mgmt/2019-07-01/network/routes.go @@ -35,7 +35,8 @@ func NewRoutesClient(subscriptionID string) RoutesClient { return NewRoutesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRoutesClientWithBaseURI creates an instance of the RoutesClient client. +// NewRoutesClientWithBaseURI creates an instance of the RoutesClient 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 NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient { return RoutesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/routetables.go b/services/network/mgmt/2019-07-01/network/routetables.go index 98a6b10e4546..d67a58f8902c 100644 --- a/services/network/mgmt/2019-07-01/network/routetables.go +++ b/services/network/mgmt/2019-07-01/network/routetables.go @@ -35,7 +35,8 @@ func NewRouteTablesClient(subscriptionID string) RouteTablesClient { return NewRouteTablesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient client. +// NewRouteTablesClientWithBaseURI creates an instance of the RouteTablesClient 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 NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient { return RouteTablesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/securitygroups.go b/services/network/mgmt/2019-07-01/network/securitygroups.go index 3df3e1de9ed0..15969bfd86b0 100644 --- a/services/network/mgmt/2019-07-01/network/securitygroups.go +++ b/services/network/mgmt/2019-07-01/network/securitygroups.go @@ -35,7 +35,8 @@ func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient { return NewSecurityGroupsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient client. +// NewSecurityGroupsClientWithBaseURI creates an instance of the SecurityGroupsClient 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 NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient { return SecurityGroupsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/securityrules.go b/services/network/mgmt/2019-07-01/network/securityrules.go index ab7c6a3ff491..fdafd9cca7c6 100644 --- a/services/network/mgmt/2019-07-01/network/securityrules.go +++ b/services/network/mgmt/2019-07-01/network/securityrules.go @@ -35,7 +35,8 @@ func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient { return NewSecurityRulesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient client. +// NewSecurityRulesClientWithBaseURI creates an instance of the SecurityRulesClient 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 NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient { return SecurityRulesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/serviceassociationlinks.go b/services/network/mgmt/2019-07-01/network/serviceassociationlinks.go index de5889ad3039..a7eea7065c56 100644 --- a/services/network/mgmt/2019-07-01/network/serviceassociationlinks.go +++ b/services/network/mgmt/2019-07-01/network/serviceassociationlinks.go @@ -35,7 +35,9 @@ func NewServiceAssociationLinksClient(subscriptionID string) ServiceAssociationL return NewServiceAssociationLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient client. +// NewServiceAssociationLinksClientWithBaseURI creates an instance of the ServiceAssociationLinksClient 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 NewServiceAssociationLinksClientWithBaseURI(baseURI string, subscriptionID string) ServiceAssociationLinksClient { return ServiceAssociationLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/serviceendpointpolicies.go b/services/network/mgmt/2019-07-01/network/serviceendpointpolicies.go index 6e6865aed65d..47eee1c6e3e7 100644 --- a/services/network/mgmt/2019-07-01/network/serviceendpointpolicies.go +++ b/services/network/mgmt/2019-07-01/network/serviceendpointpolicies.go @@ -35,7 +35,9 @@ func NewServiceEndpointPoliciesClient(subscriptionID string) ServiceEndpointPoli return NewServiceEndpointPoliciesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient client. +// NewServiceEndpointPoliciesClientWithBaseURI creates an instance of the ServiceEndpointPoliciesClient 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 NewServiceEndpointPoliciesClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPoliciesClient { return ServiceEndpointPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/serviceendpointpolicydefinitions.go b/services/network/mgmt/2019-07-01/network/serviceendpointpolicydefinitions.go index daad64b9a503..23f251bb6a0e 100644 --- a/services/network/mgmt/2019-07-01/network/serviceendpointpolicydefinitions.go +++ b/services/network/mgmt/2019-07-01/network/serviceendpointpolicydefinitions.go @@ -36,7 +36,8 @@ func NewServiceEndpointPolicyDefinitionsClient(subscriptionID string) ServiceEnd } // NewServiceEndpointPolicyDefinitionsClientWithBaseURI creates an instance of the -// ServiceEndpointPolicyDefinitionsClient client. +// ServiceEndpointPolicyDefinitionsClient 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 NewServiceEndpointPolicyDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) ServiceEndpointPolicyDefinitionsClient { return ServiceEndpointPolicyDefinitionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/servicetags.go b/services/network/mgmt/2019-07-01/network/servicetags.go index 1ef9e377ef3c..3edb0366c931 100644 --- a/services/network/mgmt/2019-07-01/network/servicetags.go +++ b/services/network/mgmt/2019-07-01/network/servicetags.go @@ -35,7 +35,8 @@ func NewServiceTagsClient(subscriptionID string) ServiceTagsClient { return NewServiceTagsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient client. +// NewServiceTagsClientWithBaseURI creates an instance of the ServiceTagsClient 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 NewServiceTagsClientWithBaseURI(baseURI string, subscriptionID string) ServiceTagsClient { return ServiceTagsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/subnets.go b/services/network/mgmt/2019-07-01/network/subnets.go index 6bec2ff1f18c..d294a51b7c51 100644 --- a/services/network/mgmt/2019-07-01/network/subnets.go +++ b/services/network/mgmt/2019-07-01/network/subnets.go @@ -35,7 +35,8 @@ func NewSubnetsClient(subscriptionID string) SubnetsClient { return NewSubnetsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient client. +// NewSubnetsClientWithBaseURI creates an instance of the SubnetsClient 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 NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient { return SubnetsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/usages.go b/services/network/mgmt/2019-07-01/network/usages.go index 0b954738e1eb..e2d8c89f2ff4 100644 --- a/services/network/mgmt/2019-07-01/network/usages.go +++ b/services/network/mgmt/2019-07-01/network/usages.go @@ -36,7 +36,8 @@ func NewUsagesClient(subscriptionID string) UsagesClient { return NewUsagesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewUsagesClientWithBaseURI creates an instance of the UsagesClient client. +// NewUsagesClientWithBaseURI creates an instance of the UsagesClient 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 NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient { return UsagesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualhubs.go b/services/network/mgmt/2019-07-01/network/virtualhubs.go index b5c34858dd97..d5619857712a 100644 --- a/services/network/mgmt/2019-07-01/network/virtualhubs.go +++ b/services/network/mgmt/2019-07-01/network/virtualhubs.go @@ -35,7 +35,8 @@ func NewVirtualHubsClient(subscriptionID string) VirtualHubsClient { return NewVirtualHubsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient client. +// NewVirtualHubsClientWithBaseURI creates an instance of the VirtualHubsClient 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 NewVirtualHubsClientWithBaseURI(baseURI string, subscriptionID string) VirtualHubsClient { return VirtualHubsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualnetworkgatewayconnections.go b/services/network/mgmt/2019-07-01/network/virtualnetworkgatewayconnections.go index 8acdd67a472d..22e74c01c61f 100644 --- a/services/network/mgmt/2019-07-01/network/virtualnetworkgatewayconnections.go +++ b/services/network/mgmt/2019-07-01/network/virtualnetworkgatewayconnections.go @@ -37,7 +37,8 @@ func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNet } // NewVirtualNetworkGatewayConnectionsClientWithBaseURI creates an instance of the -// VirtualNetworkGatewayConnectionsClient client. +// VirtualNetworkGatewayConnectionsClient 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 NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient { return VirtualNetworkGatewayConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualnetworkgateways.go b/services/network/mgmt/2019-07-01/network/virtualnetworkgateways.go index 43f9e9507e15..9265f1710311 100644 --- a/services/network/mgmt/2019-07-01/network/virtualnetworkgateways.go +++ b/services/network/mgmt/2019-07-01/network/virtualnetworkgateways.go @@ -36,7 +36,9 @@ func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewa return NewVirtualNetworkGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient client. +// NewVirtualNetworkGatewaysClientWithBaseURI creates an instance of the VirtualNetworkGatewaysClient 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 NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient { return VirtualNetworkGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualnetworkpeerings.go b/services/network/mgmt/2019-07-01/network/virtualnetworkpeerings.go index e0c5c4454288..fd5d10eed83e 100644 --- a/services/network/mgmt/2019-07-01/network/virtualnetworkpeerings.go +++ b/services/network/mgmt/2019-07-01/network/virtualnetworkpeerings.go @@ -35,7 +35,9 @@ func NewVirtualNetworkPeeringsClient(subscriptionID string) VirtualNetworkPeerin return NewVirtualNetworkPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient client. +// NewVirtualNetworkPeeringsClientWithBaseURI creates an instance of the VirtualNetworkPeeringsClient 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 NewVirtualNetworkPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkPeeringsClient { return VirtualNetworkPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualnetworks.go b/services/network/mgmt/2019-07-01/network/virtualnetworks.go index 6c8c869bf294..e71efb03223e 100644 --- a/services/network/mgmt/2019-07-01/network/virtualnetworks.go +++ b/services/network/mgmt/2019-07-01/network/virtualnetworks.go @@ -35,7 +35,8 @@ func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient { return NewVirtualNetworksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient client. +// NewVirtualNetworksClientWithBaseURI creates an instance of the VirtualNetworksClient 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 NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient { return VirtualNetworksClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualnetworktaps.go b/services/network/mgmt/2019-07-01/network/virtualnetworktaps.go index b0928942fbc0..29143f5d80f2 100644 --- a/services/network/mgmt/2019-07-01/network/virtualnetworktaps.go +++ b/services/network/mgmt/2019-07-01/network/virtualnetworktaps.go @@ -36,7 +36,9 @@ func NewVirtualNetworkTapsClient(subscriptionID string) VirtualNetworkTapsClient return NewVirtualNetworkTapsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient client. +// NewVirtualNetworkTapsClientWithBaseURI creates an instance of the VirtualNetworkTapsClient 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 NewVirtualNetworkTapsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkTapsClient { return VirtualNetworkTapsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualrouterpeerings.go b/services/network/mgmt/2019-07-01/network/virtualrouterpeerings.go index d03c3794f6e4..fa28b60c6e19 100644 --- a/services/network/mgmt/2019-07-01/network/virtualrouterpeerings.go +++ b/services/network/mgmt/2019-07-01/network/virtualrouterpeerings.go @@ -36,7 +36,9 @@ func NewVirtualRouterPeeringsClient(subscriptionID string) VirtualRouterPeerings return NewVirtualRouterPeeringsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient client. +// NewVirtualRouterPeeringsClientWithBaseURI creates an instance of the VirtualRouterPeeringsClient 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 NewVirtualRouterPeeringsClientWithBaseURI(baseURI string, subscriptionID string) VirtualRouterPeeringsClient { return VirtualRouterPeeringsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualrouters.go b/services/network/mgmt/2019-07-01/network/virtualrouters.go index 36118636f752..d82ee105017c 100644 --- a/services/network/mgmt/2019-07-01/network/virtualrouters.go +++ b/services/network/mgmt/2019-07-01/network/virtualrouters.go @@ -36,7 +36,8 @@ func NewVirtualRoutersClient(subscriptionID string) VirtualRoutersClient { return NewVirtualRoutersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient client. +// NewVirtualRoutersClientWithBaseURI creates an instance of the VirtualRoutersClient 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 NewVirtualRoutersClientWithBaseURI(baseURI string, subscriptionID string) VirtualRoutersClient { return VirtualRoutersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/virtualwans.go b/services/network/mgmt/2019-07-01/network/virtualwans.go index 4b79e591e8fc..751f12d1401f 100644 --- a/services/network/mgmt/2019-07-01/network/virtualwans.go +++ b/services/network/mgmt/2019-07-01/network/virtualwans.go @@ -35,7 +35,8 @@ func NewVirtualWansClient(subscriptionID string) VirtualWansClient { return NewVirtualWansClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient client. +// NewVirtualWansClientWithBaseURI creates an instance of the VirtualWansClient 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 NewVirtualWansClientWithBaseURI(baseURI string, subscriptionID string) VirtualWansClient { return VirtualWansClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnconnections.go b/services/network/mgmt/2019-07-01/network/vpnconnections.go index 1e399227d50e..64e155be39cd 100644 --- a/services/network/mgmt/2019-07-01/network/vpnconnections.go +++ b/services/network/mgmt/2019-07-01/network/vpnconnections.go @@ -35,7 +35,8 @@ func NewVpnConnectionsClient(subscriptionID string) VpnConnectionsClient { return NewVpnConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient client. +// NewVpnConnectionsClientWithBaseURI creates an instance of the VpnConnectionsClient 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 NewVpnConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnConnectionsClient { return VpnConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpngateways.go b/services/network/mgmt/2019-07-01/network/vpngateways.go index fb0329af6d91..2c3e46b3aec6 100644 --- a/services/network/mgmt/2019-07-01/network/vpngateways.go +++ b/services/network/mgmt/2019-07-01/network/vpngateways.go @@ -35,7 +35,8 @@ func NewVpnGatewaysClient(subscriptionID string) VpnGatewaysClient { return NewVpnGatewaysClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient client. +// NewVpnGatewaysClientWithBaseURI creates an instance of the VpnGatewaysClient 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 NewVpnGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VpnGatewaysClient { return VpnGatewaysClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnlinkconnections.go b/services/network/mgmt/2019-07-01/network/vpnlinkconnections.go index e3eb45fac8ea..348b031b8233 100644 --- a/services/network/mgmt/2019-07-01/network/vpnlinkconnections.go +++ b/services/network/mgmt/2019-07-01/network/vpnlinkconnections.go @@ -35,7 +35,9 @@ func NewVpnLinkConnectionsClient(subscriptionID string) VpnLinkConnectionsClient return NewVpnLinkConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient client. +// NewVpnLinkConnectionsClientWithBaseURI creates an instance of the VpnLinkConnectionsClient 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 NewVpnLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnLinkConnectionsClient { return VpnLinkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnsitelinkconnections.go b/services/network/mgmt/2019-07-01/network/vpnsitelinkconnections.go index 1db1031dedbc..44bff9034b9a 100644 --- a/services/network/mgmt/2019-07-01/network/vpnsitelinkconnections.go +++ b/services/network/mgmt/2019-07-01/network/vpnsitelinkconnections.go @@ -35,7 +35,9 @@ func NewVpnSiteLinkConnectionsClient(subscriptionID string) VpnSiteLinkConnectio return NewVpnSiteLinkConnectionsClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient client. +// NewVpnSiteLinkConnectionsClientWithBaseURI creates an instance of the VpnSiteLinkConnectionsClient 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 NewVpnSiteLinkConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinkConnectionsClient { return VpnSiteLinkConnectionsClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnsitelinks.go b/services/network/mgmt/2019-07-01/network/vpnsitelinks.go index ddc90350866a..f0e0873b0822 100644 --- a/services/network/mgmt/2019-07-01/network/vpnsitelinks.go +++ b/services/network/mgmt/2019-07-01/network/vpnsitelinks.go @@ -35,7 +35,8 @@ func NewVpnSiteLinksClient(subscriptionID string) VpnSiteLinksClient { return NewVpnSiteLinksClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient client. +// NewVpnSiteLinksClientWithBaseURI creates an instance of the VpnSiteLinksClient 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 NewVpnSiteLinksClientWithBaseURI(baseURI string, subscriptionID string) VpnSiteLinksClient { return VpnSiteLinksClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnsites.go b/services/network/mgmt/2019-07-01/network/vpnsites.go index e414f46bf941..0ffd6c7266ed 100644 --- a/services/network/mgmt/2019-07-01/network/vpnsites.go +++ b/services/network/mgmt/2019-07-01/network/vpnsites.go @@ -35,7 +35,8 @@ func NewVpnSitesClient(subscriptionID string) VpnSitesClient { return NewVpnSitesClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient client. +// NewVpnSitesClientWithBaseURI creates an instance of the VpnSitesClient 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 NewVpnSitesClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesClient { return VpnSitesClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/vpnsitesconfiguration.go b/services/network/mgmt/2019-07-01/network/vpnsitesconfiguration.go index 898417fad1e1..a281c81d0a59 100644 --- a/services/network/mgmt/2019-07-01/network/vpnsitesconfiguration.go +++ b/services/network/mgmt/2019-07-01/network/vpnsitesconfiguration.go @@ -36,7 +36,9 @@ func NewVpnSitesConfigurationClient(subscriptionID string) VpnSitesConfiguration return NewVpnSitesConfigurationClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient client. +// NewVpnSitesConfigurationClientWithBaseURI creates an instance of the VpnSitesConfigurationClient 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 NewVpnSitesConfigurationClientWithBaseURI(baseURI string, subscriptionID string) VpnSitesConfigurationClient { return VpnSitesConfigurationClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/watchers.go b/services/network/mgmt/2019-07-01/network/watchers.go index fd1b6d95fc2f..0236f5c5a60c 100644 --- a/services/network/mgmt/2019-07-01/network/watchers.go +++ b/services/network/mgmt/2019-07-01/network/watchers.go @@ -36,7 +36,8 @@ func NewWatchersClient(subscriptionID string) WatchersClient { return NewWatchersClientWithBaseURI(DefaultBaseURI, subscriptionID) } -// NewWatchersClientWithBaseURI creates an instance of the WatchersClient client. +// NewWatchersClientWithBaseURI creates an instance of the WatchersClient 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 NewWatchersClientWithBaseURI(baseURI string, subscriptionID string) WatchersClient { return WatchersClient{NewWithBaseURI(baseURI, subscriptionID)} } diff --git a/services/network/mgmt/2019-07-01/network/webapplicationfirewallpolicies.go b/services/network/mgmt/2019-07-01/network/webapplicationfirewallpolicies.go index 795632fc59f7..75389f238733 100644 --- a/services/network/mgmt/2019-07-01/network/webapplicationfirewallpolicies.go +++ b/services/network/mgmt/2019-07-01/network/webapplicationfirewallpolicies.go @@ -37,7 +37,8 @@ func NewWebApplicationFirewallPoliciesClient(subscriptionID string) WebApplicati } // NewWebApplicationFirewallPoliciesClientWithBaseURI creates an instance of the WebApplicationFirewallPoliciesClient -// 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 NewWebApplicationFirewallPoliciesClientWithBaseURI(baseURI string, subscriptionID string) WebApplicationFirewallPoliciesClient { return WebApplicationFirewallPoliciesClient{NewWithBaseURI(baseURI, subscriptionID)} }