diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index 112156810674..847b02a79b48 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index ebc7e6bb945a..86cf09fd740e 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 03146698cd61..b19f1acbe0e5 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -143,6 +143,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index d0058efffcdc..dda825b97f9a 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index d86292fd583e..35d69b670d8e 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 505c24ec85e2..9274892e7b03 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index ef823346807b..6d478f5eb171 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index e66bf1b1ec81..9706b6255be5 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 0a6034d61fcf..4918bf03a3e2 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 4c36ea7e3739..8e4cdd9cedba 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -139,6 +139,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts index d38ce3f0aaec..c7dc634cc268 100644 --- a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 3e5019d627f2..ca3252d8e3a9 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 79687b39245c..ac395159709d 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index 3fb909cb4ccd..02c5aa898854 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts index cedaa76f9d52..2fadb02b5297 100644 --- a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 5e1d9a6f08e1..0fdf7f83f9d5 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 2de8f489d778..87d5ec478c99 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 2088ec52cad8..886a6f3e05a7 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 07185f73a222..486308541264 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -139,6 +139,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 23cf6911a2bd..ef44d0abf580 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 68155842c724..dae0a3449e54 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index b0a94d75d1f0..d51997fda52e 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -139,6 +139,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index 65a4a5bd2761..a131c956f2c7 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index 5f11d4ef7dda..c58722a9013a 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLinkListResult, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/expressRoutePortAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortAuthorizationsMappers.ts new file mode 100644 index 000000000000..7d4c4cf5d6bf --- /dev/null +++ b/sdk/network/arm-network/src/models/expressRoutePortAuthorizationsMappers.ts @@ -0,0 +1,300 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is regenerated. + */ + +export { + discriminators, + AadAuthenticationParameters, + AddressSpace, + ApplicationGateway, + ApplicationGatewayAuthenticationCertificate, + ApplicationGatewayAutoscaleConfiguration, + ApplicationGatewayAvailableSslOptions, + ApplicationGatewayBackendAddress, + ApplicationGatewayBackendAddressPool, + ApplicationGatewayBackendHttpSettings, + ApplicationGatewayClientAuthConfiguration, + ApplicationGatewayConnectionDraining, + ApplicationGatewayCustomError, + ApplicationGatewayFirewallDisabledRuleGroup, + ApplicationGatewayFirewallExclusion, + ApplicationGatewayFirewallRule, + ApplicationGatewayFirewallRuleGroup, + ApplicationGatewayFirewallRuleSet, + ApplicationGatewayFrontendIPConfiguration, + ApplicationGatewayFrontendPort, + ApplicationGatewayHeaderConfiguration, + ApplicationGatewayHttpListener, + ApplicationGatewayIPConfiguration, + ApplicationGatewayPathRule, + ApplicationGatewayPrivateEndpointConnection, + ApplicationGatewayPrivateLinkConfiguration, + ApplicationGatewayPrivateLinkIpConfiguration, + ApplicationGatewayPrivateLinkResource, + ApplicationGatewayProbe, + ApplicationGatewayProbeHealthResponseMatch, + ApplicationGatewayRedirectConfiguration, + ApplicationGatewayRequestRoutingRule, + ApplicationGatewayRewriteRule, + ApplicationGatewayRewriteRuleActionSet, + ApplicationGatewayRewriteRuleCondition, + ApplicationGatewayRewriteRuleSet, + ApplicationGatewaySku, + ApplicationGatewaySslCertificate, + ApplicationGatewaySslPolicy, + ApplicationGatewaySslPredefinedPolicy, + ApplicationGatewaySslProfile, + ApplicationGatewayTrustedClientCertificate, + ApplicationGatewayTrustedRootCertificate, + ApplicationGatewayUrlConfiguration, + ApplicationGatewayUrlPathMap, + ApplicationGatewayWebApplicationFirewallConfiguration, + ApplicationRule, + ApplicationSecurityGroup, + AzureFirewall, + AzureFirewallApplicationRule, + AzureFirewallApplicationRuleCollection, + AzureFirewallApplicationRuleProtocol, + AzureFirewallFqdnTag, + AzureFirewallIPConfiguration, + AzureFirewallIpGroups, + AzureFirewallNatRCAction, + AzureFirewallNatRule, + AzureFirewallNatRuleCollection, + AzureFirewallNetworkRule, + AzureFirewallNetworkRuleCollection, + AzureFirewallPublicIPAddress, + AzureFirewallRCAction, + AzureFirewallSku, + BackendAddressPool, + BaseResource, + BastionHost, + BastionHostIPConfiguration, + BGPCommunity, + BgpConnection, + BgpServiceCommunity, + BgpSettings, + BreakOutCategoryPolicies, + CloudError, + ConnectionMonitorDestination, + ConnectionMonitorEndpoint, + ConnectionMonitorEndpointFilter, + ConnectionMonitorEndpointFilterItem, + ConnectionMonitorEndpointScope, + ConnectionMonitorEndpointScopeItem, + ConnectionMonitorHttpConfiguration, + ConnectionMonitorIcmpConfiguration, + ConnectionMonitorOutput, + ConnectionMonitorResult, + ConnectionMonitorSource, + ConnectionMonitorSuccessThreshold, + ConnectionMonitorTcpConfiguration, + ConnectionMonitorTestConfiguration, + ConnectionMonitorTestGroup, + ConnectionMonitorWorkspaceSettings, + ConnectionSharedKey, + Container, + ContainerNetworkInterface, + ContainerNetworkInterfaceConfiguration, + ContainerNetworkInterfaceIpConfiguration, + CustomDnsConfigPropertiesFormat, + CustomIpPrefix, + DdosCustomPolicy, + DdosProtectionPlan, + DdosSettings, + Delegation, + DeviceProperties, + DhcpOptions, + DnsSettings, + DscpConfiguration, + EndpointServiceResult, + ExpressRouteCircuit, + ExpressRouteCircuitAuthorization, + ExpressRouteCircuitConnection, + ExpressRouteCircuitPeering, + ExpressRouteCircuitPeeringConfig, + ExpressRouteCircuitPeeringId, + ExpressRouteCircuitReference, + ExpressRouteCircuitServiceProviderProperties, + ExpressRouteCircuitSku, + ExpressRouteCircuitStats, + ExpressRouteConnection, + ExpressRouteConnectionId, + ExpressRouteCrossConnection, + ExpressRouteCrossConnectionPeering, + ExpressRouteGateway, + ExpressRouteGatewayPropertiesAutoScaleConfiguration, + ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds, + ExpressRouteLink, + ExpressRouteLinkMacSecConfig, + ExpressRoutePort, + ExpressRoutePortAuthorization, + ExpressRoutePortAuthorizationListResult, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + FirewallPolicy, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicyThreatIntelWhitelist, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + LoadBalancer, + LoadBalancerBackendAddress, + LoadBalancerSku, + LoadBalancingRule, + LocalNetworkGateway, + ManagedRuleGroupOverride, + ManagedRuleOverride, + ManagedRulesDefinition, + ManagedRuleSet, + ManagedServiceIdentity, + ManagedServiceIdentityUserAssignedIdentitiesValue, + MatchCondition, + MatchVariable, + NatGateway, + NatGatewaySku, + NatRule, + NetworkIntentPolicy, + NetworkInterface, + NetworkInterfaceDnsSettings, + NetworkInterfaceIPConfiguration, + NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, + NetworkInterfaceTapConfiguration, + NetworkProfile, + NetworkRule, + NetworkSecurityGroup, + NetworkVirtualAppliance, + NetworkVirtualApplianceSku, + NetworkVirtualApplianceSkuInstances, + NetworkWatcher, + O365BreakOutCategoryPolicies, + O365PolicyProperties, + Office365PolicyProperties, + OutboundRule, + OwaspCrsExclusionEntry, + P2SConnectionConfiguration, + P2SVpnGateway, + PatchRouteFilter, + PatchRouteFilterRule, + PeerExpressRouteCircuitConnection, + PolicySettings, + PrivateDnsZoneConfig, + PrivateDnsZoneGroup, + PrivateEndpoint, + PrivateEndpointConnection, + PrivateLinkService, + PrivateLinkServiceConnection, + PrivateLinkServiceConnectionState, + PrivateLinkServiceIpConfiguration, + PrivateLinkServicePropertiesAutoApproval, + PrivateLinkServicePropertiesVisibility, + Probe, + PropagatedRouteTable, + ProtocolCustomSettingsFormat, + PublicIPAddress, + PublicIPAddressDnsSettings, + PublicIPAddressSku, + PublicIPPrefix, + PublicIPPrefixSku, + QosIpRange, + QosPortRange, + RadiusServer, + RecordSet, + ReferencedPublicIpAddress, + Resource, + ResourceNavigationLink, + ResourceSet, + RetentionPolicyParameters, + Route, + RouteFilter, + RouteFilterRule, + RouteTable, + RoutingConfiguration, + SecurityPartnerProvider, + SecurityRule, + ServiceAssociationLink, + ServiceEndpointPolicy, + ServiceEndpointPolicyDefinition, + ServiceEndpointPropertiesFormat, + StaticRoute, + Subnet, + SubResource, + TrafficAnalyticsConfigurationProperties, + TrafficAnalyticsProperties, + TrafficSelectorPolicy, + TunnelConnectionHealth, + VirtualApplianceNicProperties, + VirtualApplianceSite, + VirtualApplianceSkuProperties, + VirtualHub, + VirtualHubId, + VirtualHubRoute, + VirtualHubRouteTable, + VirtualHubRouteTableV2, + VirtualHubRouteV2, + VirtualNetwork, + VirtualNetworkBgpCommunities, + VirtualNetworkConnectionGatewayReference, + VirtualNetworkGateway, + VirtualNetworkGatewayConnection, + VirtualNetworkGatewayConnectionListEntity, + VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewaySku, + VirtualNetworkPeering, + VirtualNetworkTap, + VirtualRouter, + VirtualRouterPeering, + VirtualWAN, + VM, + VnetRoute, + VpnClientConfiguration, + VpnClientConnectionHealth, + VpnClientRevokedCertificate, + VpnClientRootCertificate, + VpnConnection, + VpnGateway, + VpnGatewayIpConfiguration, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index 6b9ed08633c2..160c2edee320 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRoutePortsLocationListResult, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index c07f2dcb4cc2..d27af6917031 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortListResult, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index f05ab75ddce2..a5f611982d49 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 3e71b742223f..3f777900297f 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index 32f1d47066a4..4cc48b9307bc 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index 713aac9e7b92..abb140be5d68 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index c10d7c26f992..4b95ec62274e 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 6a7db6e8b295..8d41f537aac0 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 53cd6da75515..a3d070cf0695 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index c72011190b6a..a75a0781d219 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -4651,6 +4651,10 @@ export interface ExpressRouteCircuit extends Resource { * Flag denoting global reach status. */ globalReachEnabled?: boolean; + /** + * The authorizationKey. + */ + authorizationKey?: string; /** * A unique read-only string that changes whenever the resource is updated. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -5124,6 +5128,49 @@ export interface ExpressRouteLink extends SubResource { readonly etag?: string; } +/** + * ExpressRoutePort Authorization resource definition. + * @summary ExpressRoute Port Authorization + */ +export interface ExpressRoutePortAuthorization extends SubResource { + /** + * The authorization key. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authorizationKey?: string; + /** + * The authorization use status. Possible values include: 'Available', 'InUse' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly authorizationUseStatus?: ExpressRoutePortAuthorizationUseStatus; + /** + * The reference to the ExpressRoute circuit resource using the authorization. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly circuit?: SubResource; + /** + * The provisioning state of the authorization resource. Possible values include: 'Succeeded', + * 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; + /** + * Type of the resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * ExpressRoutePort resource definition. * @summary ExpressRoute Port @@ -5170,6 +5217,10 @@ export interface ExpressRoutePort extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly circuits?: SubResource[]; + /** + * The list of authorizations. + */ + authorizations?: ExpressRoutePortAuthorization[]; /** * The provisioning state of the express route port resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -13172,6 +13223,19 @@ export interface ExpressRouteLinkListResult extends Array { nextLink?: string; } +/** + * @interface + * Response for ListExpressRoutePortAuthorizations API service call. + * @summary ExpressRoute Port Authorization List Result + * @extends Array + */ +export interface ExpressRoutePortAuthorizationListResult extends Array { + /** + * The URL to get the next set of results. + */ + nextLink?: string; +} + /** * @interface * Response for ListFirewallPolicies API service call. @@ -14474,6 +14538,14 @@ export type ExpressRouteLinkAdminState = 'Enabled' | 'Disabled'; */ export type ExpressRoutePortsEncapsulation = 'Dot1Q' | 'QinQ'; +/** + * Defines values for ExpressRoutePortAuthorizationUseStatus. + * Possible values include: 'Available', 'InUse' + * @readonly + * @enum {string} + */ +export type ExpressRoutePortAuthorizationUseStatus = 'Available' | 'InUse'; + /** * Defines values for FirewallPolicyNatRuleCollectionActionType. * Possible values include: 'DNAT' @@ -18681,6 +18753,106 @@ export type ExpressRouteLinksListNextResponse = ExpressRouteLinkListResult & { }; }; +/** + * Contains response data for the get operation. + */ +export type ExpressRoutePortAuthorizationsGetResponse = ExpressRoutePortAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRoutePortAuthorization; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type ExpressRoutePortAuthorizationsCreateOrUpdateResponse = ExpressRoutePortAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRoutePortAuthorization; + }; +}; + +/** + * Contains response data for the list operation. + */ +export type ExpressRoutePortAuthorizationsListResponse = ExpressRoutePortAuthorizationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRoutePortAuthorizationListResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type ExpressRoutePortAuthorizationsBeginCreateOrUpdateResponse = ExpressRoutePortAuthorization & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRoutePortAuthorization; + }; +}; + +/** + * Contains response data for the listNext operation. + */ +export type ExpressRoutePortAuthorizationsListNextResponse = ExpressRoutePortAuthorizationListResult & { + /** + * The underlying HTTP response. + */ + _response: msRest.HttpResponse & { + /** + * The response body as text (string format) + */ + bodyAsText: string; + + /** + * The response body as parsed JSON or XML + */ + parsedBody: ExpressRoutePortAuthorizationListResult; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index 44a7ae7bcec7..3ca1c93cd985 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index e470fcab6143..454a5c2f6978 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index a1bff9d38258..7a34f79439d9 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 0823f208e6f6..598f307aa381 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index 81500e5de5f0..cd3855c6f170 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index cbea9de41688..8682f53c0726 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 3297a4eacd04..36861799164d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index 3e7e6c00c316..1ffcf8033720 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index ad70628b8f61..1b16fd74903e 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index 2b640fcca4bd..3221178e565d 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 65c5f1f1ccc4..fab5ec137109 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -7851,6 +7851,12 @@ export const ExpressRouteCircuit: msRest.CompositeMapper = { name: "Boolean" } }, + authorizationKey: { + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, etag: { readOnly: true, serializedName: "etag", @@ -8599,6 +8605,66 @@ export const ExpressRouteLink: msRest.CompositeMapper = { } }; +export const ExpressRoutePortAuthorization: msRest.CompositeMapper = { + serializedName: "ExpressRoutePortAuthorization", + type: { + name: "Composite", + className: "ExpressRoutePortAuthorization", + modelProperties: { + ...SubResource.type.modelProperties, + authorizationKey: { + readOnly: true, + serializedName: "properties.authorizationKey", + type: { + name: "String" + } + }, + authorizationUseStatus: { + readOnly: true, + serializedName: "properties.authorizationUseStatus", + type: { + name: "String" + } + }, + circuit: { + readOnly: true, + serializedName: "properties.circuit", + type: { + name: "Composite", + className: "SubResource" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const ExpressRoutePort: msRest.CompositeMapper = { serializedName: "ExpressRoutePort", type: { @@ -8677,6 +8743,18 @@ export const ExpressRoutePort: msRest.CompositeMapper = { } } }, + authorizations: { + serializedName: "properties.authorizations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRoutePortAuthorization" + } + } + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -21721,6 +21799,34 @@ export const ExpressRouteLinkListResult: msRest.CompositeMapper = { } }; +export const ExpressRoutePortAuthorizationListResult: msRest.CompositeMapper = { + serializedName: "ExpressRoutePortAuthorizationListResult", + type: { + name: "Composite", + className: "ExpressRoutePortAuthorizationListResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "ExpressRoutePortAuthorization" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const FirewallPolicyListResult: msRest.CompositeMapper = { serializedName: "FirewallPolicyListResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 9e98a7d16933..28bd220da533 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index 3a9bdada0b87..235a9d8ba4ea 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index f3674eb468d1..5b942650eb23 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index bd3dfca39ab7..244f31409fc8 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index 31e3d8be13a6..16bde0da86b4 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -138,6 +138,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index 3865e4c23eeb..9d76da5c18f7 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index 438f39e53368..efff3a35079c 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index c6305c3fea6e..a7a34b3fc0c6 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 6fc48dedb4a4..4052082f2846 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -151,6 +151,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index ced5b8ddee04..2b05f18540df 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index bf278f148197..8d7d0b453b7d 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -26,7 +26,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-06-01', + defaultValue: '2020-07-01', type: { name: "String" } diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index f504afec0dd3..7f1b9d24c0d2 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index ce0698c72031..6ec7fc4b7e19 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -134,6 +134,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index 25a3c9e8330d..854aa6c5aff5 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 9be674e6a9f0..1c4ac25cc29b 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -137,6 +137,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index c42c8aa6571e..5546c44c86a9 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 4042e96a0c4b..f818003fd7fb 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index ddac32079583..599bb1329c6b 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 48f58fc2f8c0..77ef5bfa65f7 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 5dede7b5c241..22be9871b3f7 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 5b1f9cc0c242..8db53f356f8c 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index d879841dddf8..63f10a64d783 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index 05c27590f789..3bc195ebca33 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index 3fb909cb4ccd..02c5aa898854 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index 05be4af6d384..b73e36dc3095 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 5cc965dfcc9d..5b647bf0669c 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 4deb91192e81..78f0a80646e6 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 64e6220de167..15692aeafcd5 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts index 32aa4edded5b..ac5b40382e15 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts index e976b1c32114..0be2a691f9cd 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts index e840ebf9c076..67d414b9b745 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts index 4ea325b98504..82dafdffb69d 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts index 6a9fd7ebfed1..841ddbdc81da 100644 --- a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index 3aa8896ce6a4..d910bd4077c7 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -134,6 +134,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index cd7b153f2bde..adbed3b1d98d 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index ada5ab200dc2..72d0d157b358 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -135,6 +135,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index 2a83f95d0ac2..de6e999a6393 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -136,6 +136,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index 9462c9e7e225..ab74c0103970 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index c43466791a17..fdca78b10cfe 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index 08d5724c0892..7aca43fd51c5 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index be5ff0bfe347..c006f2ceee4a 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index cac45b913159..15ef88d4f47d 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -133,6 +133,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 0057b60c8afb..eae8063218fb 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 659f32fa4db0..faa392e0a614 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 408d012bf2c2..ecc3b352788b 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index 262f31321b0f..601e9db8a681 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index 2edb0dc9f0ca..233837b3d187 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index e840ebf9c076..67d414b9b745 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 9cfcf12c93c2..5c6ce88d0538 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index ada59bbcd91f..22453beb90d6 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index 81c0f8ae93cc..c049e60ebe2e 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -132,6 +132,7 @@ export { ExpressRouteLink, ExpressRouteLinkMacSecConfig, ExpressRoutePort, + ExpressRoutePortAuthorization, ExpressRoutePortsLocation, ExpressRoutePortsLocationBandwidths, ExpressRouteServiceProvider, diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index cc5d2e9c05ae..7e27ebfdcf9d 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -45,6 +45,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { expressRoutePortsLocations: operations.ExpressRoutePortsLocations; expressRoutePorts: operations.ExpressRoutePorts; expressRouteLinks: operations.ExpressRouteLinks; + expressRoutePortAuthorizations: operations.ExpressRoutePortAuthorizations; firewallPolicies: operations.FirewallPolicies; firewallPolicyRuleCollectionGroups: operations.FirewallPolicyRuleCollectionGroups; ipAllocations: operations.IpAllocations; @@ -158,6 +159,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.expressRoutePortsLocations = new operations.ExpressRoutePortsLocations(this); this.expressRoutePorts = new operations.ExpressRoutePorts(this); this.expressRouteLinks = new operations.ExpressRouteLinks(this); + this.expressRoutePortAuthorizations = new operations.ExpressRoutePortAuthorizations(this); this.firewallPolicies = new operations.FirewallPolicies(this); this.firewallPolicyRuleCollectionGroups = new operations.FirewallPolicyRuleCollectionGroups(this); this.ipAllocations = new operations.IpAllocations(this); diff --git a/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts b/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts new file mode 100644 index 000000000000..ba8389fd901f --- /dev/null +++ b/sdk/network/arm-network/src/operations/expressRoutePortAuthorizations.ts @@ -0,0 +1,332 @@ +/* + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * Changes may cause incorrect behavior and will be lost if the code is + * regenerated. + */ + +import * as msRest from "@azure/ms-rest-js"; +import * as msRestAzure from "@azure/ms-rest-azure-js"; +import * as Models from "../models"; +import * as Mappers from "../models/expressRoutePortAuthorizationsMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a ExpressRoutePortAuthorizations. */ +export class ExpressRoutePortAuthorizations { + private readonly client: NetworkManagementClientContext; + + /** + * Create a ExpressRoutePortAuthorizations. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Deletes the specified authorization from the specified express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,expressRoutePortName,authorizationName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Gets the specified authorization from the specified express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param callback The callback + */ + get(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + expressRoutePortName, + authorizationName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates or updates an authorization in the specified express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param authorizationParameters Parameters supplied to the create or update express route port + * authorization operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, authorizationParameters: Models.ExpressRoutePortAuthorization, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,expressRoutePortName,authorizationName,authorizationParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Gets all authorizations in an express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param [options] The optional parameters + * @returns Promise + */ + list(resourceGroupName: string, expressRoutePortName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param callback The callback + */ + list(resourceGroupName: string, expressRoutePortName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param options The optional parameters + * @param callback The callback + */ + list(resourceGroupName: string, expressRoutePortName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + list(resourceGroupName: string, expressRoutePortName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + expressRoutePortName, + options + }, + listOperationSpec, + callback) as Promise; + } + + /** + * Deletes the specified authorization from the specified express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + expressRoutePortName, + authorizationName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Creates or updates an authorization in the specified express route port. + * @param resourceGroupName The name of the resource group. + * @param expressRoutePortName The name of the express route port. + * @param authorizationName The name of the authorization. + * @param authorizationParameters Parameters supplied to the create or update express route port + * authorization operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, expressRoutePortName: string, authorizationName: string, authorizationParameters: Models.ExpressRoutePortAuthorization, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + expressRoutePortName, + authorizationName, + authorizationParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Gets all authorizations in an express route port. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listNext(nextPageLink: string, callback: msRest.ServiceCallback): void; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param options The optional parameters + * @param callback The callback + */ + listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listNextOperationSpec, + callback) as Promise; + } +} + +// Operation Specifications +const serializer = new msRest.Serializer(Mappers); +const getOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.expressRoutePortName, + Parameters.authorizationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExpressRoutePortAuthorization + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.expressRoutePortName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExpressRoutePortAuthorizationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.expressRoutePortName, + Parameters.authorizationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.expressRoutePortName, + Parameters.authorizationName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "authorizationParameters", + mapper: { + ...Mappers.ExpressRoutePortAuthorization, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExpressRoutePortAuthorization + }, + 201: { + bodyMapper: Mappers.ExpressRoutePortAuthorization + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ExpressRoutePortAuthorizationListResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 6ca9e2625559..19a3ccbd423d 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -34,6 +34,7 @@ export * from "./expressRouteCrossConnectionPeerings"; export * from "./expressRoutePortsLocations"; export * from "./expressRoutePorts"; export * from "./expressRouteLinks"; +export * from "./expressRoutePortAuthorizations"; export * from "./firewallPolicies"; export * from "./firewallPolicyRuleCollectionGroups"; export * from "./ipAllocations";