From fb819a9624e1700f8c5194f179bde3acc32494cd Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 6 Jan 2021 10:47:51 +0000 Subject: [PATCH] CodeGen from PR 12278 in Azure/azure-rest-api-specs Network august release (#12278) * Adds base for updating Microsoft.Network from version stable/2020-07-01 to version 2020-08-01 * Updates readme * Updates API version in new specs and examples * add patch operation for express route gateway (#11553) * add patch * fix example * Added new cloud service NIC and PIP APIs (#11650) Co-authored-by: Richa Jain * Adding support for Vpn Link Connection Mode (#11574) Co-authored-by: Abhishek Shah * Reverting the changes made for address space update as the changes in service code are not in yet (#11754) Co-authored-by: Hari Prasad Perabattula * VPN NAT for Virtual WAN feature changes (#11815) * VPN NAT for Virtual WAN feature changes * PrettierCheck fixes * Incorporate review comments and update examples * Add edge zone parameters for networking resources and add extendedLocation property to customIpPrefix (#11933) * Add extendedLocation property to customIpPrefix * Fix the directory * Address linting errors * Fix another linting error * Add edge zone parameter for network interfaces * Looks like edgeZone parameter is working when creating network interfaces * EdgeZone parameter for load balancer * Add edge zone parameter for public IP address * Add edge zone parameter for public IP prefix * Add edgeZone parameter for virtual networks * Add edge zone parameter for custom IP prefix Co-authored-by: Will Ehrich * Add location parameter to Loadbalancer Backend Address Pool Properties Format (#11919) * adding location parameter to backendaddresspoolpropertiesformat * ran prettier * Support for Listing IKE Security Associations for Virtual Network Gateway Connections (#11572) * Support to List IKE SAs on VNG Connection * Updating GetIkeSas * Update virtualNetworkGateway.json * Added location headers * Update virtualNetworkGateway.json * Prettier fix * Update custom-words.txt * Update virtualNetworkGateway.json * Update custom-words.txt * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json Co-authored-by: Abhishek Shah * [Fix] GetIkeSas returns result as string (#12225) * Removing IkeSaParameters * Update custom-words.txt * Update virtualNetworkGateway.json * Update virtualNetworkGateway.json * Update VirtualNetworkGatewayConnectionGetIkeSas.json * Update virtualNetworkGateway.json * Update VirtualNetworkGatewayConnectionGetIkeSas.json Co-authored-by: Abhishek Shah * Add extended location properties for private link service and private endpoints and remove edge zone properties (#12039) * Remove edge zone parameter * Add extended location for private endpoint and private link service * Add examples * Capitalization * Prettier Co-authored-by: Will Ehrich * Add missing properties of SecurityRule, Route and RouteTable (#12215) * Add missing properties of SecurityRule Route and RouteTable * Set resourceGuid field to be read only Co-authored-by: Xu Wang * Added placeholder instead of password (#12299) Co-authored-by: nimaller <71352534+nimaller@users.noreply.github.com> Co-authored-by: Richa Jain Co-authored-by: Richa Jain Co-authored-by: Abhishek Shah Co-authored-by: Abhishek Shah Co-authored-by: Hari Prasad Perabattula Co-authored-by: Hari Prasad Perabattula Co-authored-by: Nilambari Co-authored-by: William Ehrich Co-authored-by: Will Ehrich Co-authored-by: Kayden Wilkinson <69224099+Kawilki-M@users.noreply.github.com> Co-authored-by: Xu Wang Co-authored-by: Xu Wang --- sdk/network/arm-network/LICENSE.txt | 2 +- ...atewayPrivateEndpointConnectionsMappers.ts | 2 + ...ationGatewayPrivateLinkResourcesMappers.ts | 2 + .../src/models/applicationGatewaysMappers.ts | 2 + .../applicationSecurityGroupsMappers.ts | 2 + .../availableEndpointServicesMappers.ts | 2 + .../models/azureFirewallFqdnTagsMappers.ts | 2 + .../src/models/azureFirewallsMappers.ts | 2 + .../src/models/bastionHostsMappers.ts | 2 + .../models/bgpServiceCommunitiesMappers.ts | 2 + .../src/models/connectionMonitorsMappers.ts | 2 + .../src/models/customIPPrefixesMappers.ts | 2 + .../src/models/ddosCustomPoliciesMappers.ts | 2 + .../src/models/ddosProtectionPlansMappers.ts | 2 + .../src/models/defaultSecurityRulesMappers.ts | 2 + .../dscpConfigurationOperationsMappers.ts | 2 + ...xpressRouteCircuitAuthorizationsMappers.ts | 2 + .../expressRouteCircuitConnectionsMappers.ts | 2 + .../expressRouteCircuitPeeringsMappers.ts | 2 + .../src/models/expressRouteCircuitsMappers.ts | 2 + .../models/expressRouteConnectionsMappers.ts | 2 + ...ressRouteCrossConnectionPeeringsMappers.ts | 2 + .../expressRouteCrossConnectionsMappers.ts | 2 + .../src/models/expressRouteGatewaysMappers.ts | 3 + .../src/models/expressRouteLinksMappers.ts | 2 + .../expressRoutePortsLocationsMappers.ts | 2 + .../src/models/expressRoutePortsMappers.ts | 2 + .../expressRouteServiceProvidersMappers.ts | 2 + .../src/models/firewallPoliciesMappers.ts | 2 + ...rewallPolicyRuleCollectionGroupsMappers.ts | 2 + .../arm-network/src/models/flowLogsMappers.ts | 2 + .../src/models/hubRouteTablesMappers.ts | 2 + .../hubVirtualNetworkConnectionsMappers.ts | 2 + .../src/models/inboundNatRulesMappers.ts | 2 + .../inboundSecurityRuleOperationsMappers.ts | 2 + sdk/network/arm-network/src/models/index.ts | 347 ++++++++++++++++++ .../src/models/ipAllocationsMappers.ts | 2 + .../arm-network/src/models/ipGroupsMappers.ts | 2 + .../loadBalancerBackendAddressPoolsMappers.ts | 2 + ...BalancerFrontendIPConfigurationsMappers.ts | 2 + .../loadBalancerLoadBalancingRulesMappers.ts | 2 + .../loadBalancerNetworkInterfacesMappers.ts | 2 + .../loadBalancerOutboundRulesMappers.ts | 2 + .../src/models/loadBalancerProbesMappers.ts | 2 + .../src/models/loadBalancersMappers.ts | 2 + .../src/models/localNetworkGatewaysMappers.ts | 2 + sdk/network/arm-network/src/models/mappers.ts | 250 +++++++++++++ .../src/models/natGatewaysMappers.ts | 2 + .../arm-network/src/models/natRulesMappers.ts | 311 ++++++++++++++++ ...networkInterfaceIPConfigurationsMappers.ts | 2 + .../networkInterfaceLoadBalancersMappers.ts | 2 + ...etworkInterfaceTapConfigurationsMappers.ts | 2 + .../src/models/networkInterfacesMappers.ts | 2 + .../src/models/networkProfilesMappers.ts | 2 + .../models/networkSecurityGroupsMappers.ts | 2 + .../models/networkVirtualAppliancesMappers.ts | 2 + .../src/models/networkWatchersMappers.ts | 2 + .../src/models/p2sVpnGatewaysMappers.ts | 2 + .../arm-network/src/models/parameters.ts | 32 +- ...erExpressRouteCircuitConnectionsMappers.ts | 2 + .../src/models/privateDnsZoneGroupsMappers.ts | 2 + .../src/models/privateEndpointsMappers.ts | 2 + .../src/models/privateLinkServicesMappers.ts | 2 + .../src/models/publicIPAddressesMappers.ts | 2 + .../src/models/publicIPPrefixesMappers.ts | 2 + .../models/resourceNavigationLinksMappers.ts | 2 + .../src/models/routeFilterRulesMappers.ts | 2 + .../src/models/routeFiltersMappers.ts | 2 + .../src/models/routeTablesMappers.ts | 2 + .../arm-network/src/models/routesMappers.ts | 2 + .../models/securityPartnerProvidersMappers.ts | 2 + .../src/models/securityRulesMappers.ts | 2 + .../models/serviceAssociationLinksMappers.ts | 2 + .../models/serviceEndpointPoliciesMappers.ts | 2 + ...serviceEndpointPolicyDefinitionsMappers.ts | 2 + .../arm-network/src/models/subnetsMappers.ts | 2 + .../models/virtualApplianceSitesMappers.ts | 2 + .../src/models/virtualApplianceSkusMappers.ts | 2 + .../models/virtualHubBgpConnectionMappers.ts | 2 + .../models/virtualHubBgpConnectionsMappers.ts | 2 + .../virtualHubIpConfigurationMappers.ts | 2 + .../models/virtualHubRouteTableV2sMappers.ts | 2 + .../src/models/virtualHubsMappers.ts | 2 + ...virtualNetworkGatewayConnectionsMappers.ts | 3 + .../models/virtualNetworkGatewaysMappers.ts | 2 + .../models/virtualNetworkPeeringsMappers.ts | 2 + .../src/models/virtualNetworkTapsMappers.ts | 2 + .../src/models/virtualNetworksMappers.ts | 2 + .../models/virtualRouterPeeringsMappers.ts | 2 + .../src/models/virtualRoutersMappers.ts | 2 + .../src/models/virtualWansMappers.ts | 2 + .../src/models/vpnConnectionsMappers.ts | 2 + .../src/models/vpnGatewaysMappers.ts | 2 + .../src/models/vpnLinkConnectionsMappers.ts | 2 + .../models/vpnServerConfigurationsMappers.ts | 2 + .../models/vpnSiteLinkConnectionsMappers.ts | 2 + .../src/models/vpnSiteLinksMappers.ts | 2 + .../arm-network/src/models/vpnSitesMappers.ts | 2 + .../webApplicationFirewallPoliciesMappers.ts | 2 + .../src/networkManagementClient.ts | 2 + .../src/operations/expressRouteGateways.ts | 68 ++++ .../arm-network/src/operations/index.ts | 1 + .../arm-network/src/operations/natRules.ts | 334 +++++++++++++++++ .../src/operations/networkInterfaces.ts | 10 +- .../src/operations/publicIPAddresses.ts | 6 +- .../virtualNetworkGatewayConnections.ts | 63 ++++ 106 files changed, 1596 insertions(+), 20 deletions(-) create mode 100644 sdk/network/arm-network/src/models/natRulesMappers.ts create mode 100644 sdk/network/arm-network/src/operations/natRules.ts diff --git a/sdk/network/arm-network/LICENSE.txt b/sdk/network/arm-network/LICENSE.txt index ea8fb1516028..2d3163745319 100644 --- a/sdk/network/arm-network/LICENSE.txt +++ b/sdk/network/arm-network/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2020 Microsoft +Copyright (c) 2021 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index edf5f622f4ed..4feaf0e9fd8d 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index 9dad6ccb5b11..346b0c1d12aa 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 918b8466ec26..f290586992d9 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -305,8 +305,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index 3d7ba727f589..c4d4797046c8 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index 4727c754d491..39e83ec6d608 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 5aeccec842ce..0f8eb2ad5552 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 60f1c164b8bc..1b8b6fbc458a 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index dedfd12958b4..6ff7817dd9c8 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index e31ae09d1d80..009a2f68e3e5 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index d8413bfbadae..e79026fed11b 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -302,8 +302,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts index a08d99aecace..7b0217224548 100644 --- a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 57842f5ec05f..9a38431b11f3 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index bc530f56d038..0bb79c5ead82 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index 16596c8e2766..abf3c393f86a 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts index f38eab077f7d..8cddff27b9ab 100644 --- a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 406112a393f0..38d0bd642cfc 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 8a620cc2f65c..54ae6f104692 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 422ff2768417..00d5ed8796bb 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index f71382a3116d..efdd5b83787c 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -301,8 +301,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index b1bff68ab9e4..ddb74e2cc03d 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 294ae89b16e6..939df8c9228c 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index 9b04aadcdee2..2d0da6e0827a 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -301,8 +301,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index 5c349824e70d..5e452d0e3c01 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -259,6 +259,7 @@ export { StaticRoute, Subnet, SubResource, + TagsObject, TrafficAnalyticsConfigurationProperties, TrafficAnalyticsProperties, TrafficSelectorPolicy, @@ -294,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index 7e4edeac1f06..0ba7d9f879e7 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index 67b550bc8198..00e3252d2b16 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 42e9be0b5b0b..e2a94e48faa1 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -297,8 +297,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 3a26ac6723a8..bcac8145a87a 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 6edcd7cea873..adc95e9f5fa2 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index a626386e3aa3..792abc7e71c2 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index 33a187f82e04..372be8b5e678 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index 39a079c6a96c..84de10c576af 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 2fb1d7203bad..d566ac11bb7b 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index 7f1456791c11..0fc75a20e857 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts index 9c7206fc9537..ac8c7224569d 100644 --- a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts @@ -293,8 +293,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 3d2f676b8b70..c3ba213b149a 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -249,6 +249,10 @@ export interface SecurityRule extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * The type of the resource. + */ + type?: string; } /** @@ -345,6 +349,10 @@ export interface CustomDnsConfigPropertiesFormat { * Private endpoint resource. */ export interface PrivateEndpoint extends Resource { + /** + * The extended location of the load balancer. + */ + extendedLocation?: ExtendedLocation; /** * The ID of the subnet from which the private IP will be allocated. */ @@ -678,6 +686,10 @@ export interface Route extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; + /** + * A value indicating whether this route overrides overlapping BGP routes regardless of LPM. + */ + hasBgpOverride?: boolean; /** * The name of the resource that is unique within a resource group. This name can be used to * access the resource. @@ -688,6 +700,10 @@ export interface Route extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly etag?: string; + /** + * The type of the resource. + */ + type?: string; } /** @@ -713,6 +729,11 @@ export interface RouteTable extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; + /** + * The resource GUID property of the route table. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceGuid?: 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.** @@ -1369,6 +1390,10 @@ export interface LoadBalancerBackendAddress { * Pool of backend IP addresses. */ export interface BackendAddressPool extends SubResource { + /** + * The location of the backend address pool. + */ + location?: string; /** * An array of backend addresses. */ @@ -3998,6 +4023,10 @@ export interface DnsNameAvailabilityResult { * Custom IP prefix resource. */ export interface CustomIpPrefix extends Resource { + /** + * The extended location of the custom IP prefix. + */ + extendedLocation?: ExtendedLocation; /** * The prefix range in CIDR notation. Should include the start address and the prefix length. */ @@ -9019,6 +9048,10 @@ export interface PrivateLinkServicePropertiesAutoApproval extends ResourceSet { * Private link service resource. */ export interface PrivateLinkService extends Resource { + /** + * The extended location of the load balancer. + */ + extendedLocation?: ExtendedLocation; /** * An array of references to the load balancer IP configurations. */ @@ -11457,6 +11490,10 @@ export interface VpnSiteLinkConnection extends SubResource { * Routing weight for vpn connection. */ routingWeight?: number; + /** + * Vpn link connection mode. Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly' + */ + vpnLinkConnectionMode?: VpnLinkConnectionMode; /** * The connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', * 'NotConnected' @@ -11510,6 +11547,14 @@ export interface VpnSiteLinkConnection extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly provisioningState?: ProvisioningState; + /** + * List of ingress NatRules. + */ + ingressNatRules?: SubResource[]; + /** + * List of egress NatRules. + */ + egressNatRules?: SubResource[]; /** * The name of the resource that is unique within a resource group. This name can be used to * access the resource. @@ -11699,6 +11744,73 @@ export interface VpnGatewayIpConfiguration { privateIpAddress?: string; } +/** + * Vpn NatRule mapping. + */ +export interface VpnNatRuleMapping { + /** + * Address space for Vpn NatRule mapping. + */ + addressSpace?: string; +} + +/** + * VpnGatewayNatRule Resource. + */ +export interface VpnGatewayNatRule extends SubResource { + /** + * The provisioning state of the NAT Rule 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 type of NAT rule for VPN NAT. Possible values include: 'Static', 'Dynamic' + */ + vpnGatewayNatRulePropertiesType?: VpnNatRuleType; + /** + * The Source NAT direction of a VPN NAT. Possible values include: 'EgressSnat', 'IngressSnat' + */ + mode?: VpnNatRuleMode; + /** + * The private IP address internal mapping for NAT. + */ + internalMappings?: VpnNatRuleMapping[]; + /** + * The private IP address external mapping for NAT. + */ + externalMappings?: VpnNatRuleMapping[]; + /** + * The IP Configuration ID this NAT rule applies to. + */ + ipConfigurationId?: string; + /** + * List of egress VpnSiteLinkConnections. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly egressVpnSiteLinkConnections?: SubResource[]; + /** + * List of ingress VpnSiteLinkConnections. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly ingressVpnSiteLinkConnections?: SubResource[]; + /** + * 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; + /** + * Resource type. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly type?: string; +} + /** * VpnGateway Resource. */ @@ -11734,6 +11846,10 @@ export interface VpnGateway extends Resource { * Enable Routing Preference property for the Public IP Interface of the VpnGateway. */ isRoutingPreferenceInternet?: boolean; + /** + * List of all the nat Rules associated with the gateway. + */ + natRules?: VpnGatewayNatRule[]; /** * 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.** @@ -12340,6 +12456,10 @@ export interface ExpressRouteConnection extends SubResource { * Enable internet security. */ enableInternetSecurity?: boolean; + /** + * Enable FastPath to vWan Firewall hub. + */ + expressRouteGatewayBypass?: boolean; /** * The Routing Configuration indicating the associated and propagated route tables on this * connection. @@ -14401,6 +14521,19 @@ export interface ListVpnSiteLinkConnectionsResult extends Array + */ +export interface ListVpnGatewayNatRulesResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL @@ -15538,6 +15671,30 @@ export type HubBgpConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'N */ export type VpnConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotConnected'; +/** + * Defines values for VpnLinkConnectionMode. + * Possible values include: 'Default', 'ResponderOnly', 'InitiatorOnly' + * @readonly + * @enum {string} + */ +export type VpnLinkConnectionMode = 'Default' | 'ResponderOnly' | 'InitiatorOnly'; + +/** + * Defines values for VpnNatRuleType. + * Possible values include: 'Static', 'Dynamic' + * @readonly + * @enum {string} + */ +export type VpnNatRuleType = 'Static' | 'Dynamic'; + +/** + * Defines values for VpnNatRuleMode. + * Possible values include: 'EgressSnat', 'IngressSnat' + * @readonly + * @enum {string} + */ +export type VpnNatRuleMode = 'EgressSnat' | 'IngressSnat'; + /** * Defines values for VirtualWanSecurityProviderType. * Possible values include: 'External', 'Native' @@ -26780,6 +26937,31 @@ export type VirtualNetworkGatewayConnectionsStopPacketCaptureResponse = { }; }; +/** + * Contains response data for the getIkeSas operation. + */ +export type VirtualNetworkGatewayConnectionsGetIkeSasResponse = { + /** + * The parsed response body. + */ + body: string; + + /** + * 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: string; + }; +}; + /** * Contains response data for the beginCreateOrUpdate operation. */ @@ -26910,6 +27092,31 @@ export type VirtualNetworkGatewayConnectionsBeginStopPacketCaptureResponse = { }; }; +/** + * Contains response data for the beginGetIkeSas operation. + */ +export type VirtualNetworkGatewayConnectionsBeginGetIkeSasResponse = { + /** + * The parsed response body. + */ + body: string; + + /** + * 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: string; + }; +}; + /** * Contains response data for the listNext operation. */ @@ -28830,6 +29037,106 @@ export type VpnLinkConnectionsListByVpnConnectionNextResponse = ListVpnSiteLinkC }; }; +/** + * Contains response data for the get operation. + */ +export type NatRulesGetResponse = VpnGatewayNatRule & { + /** + * 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: VpnGatewayNatRule; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type NatRulesCreateOrUpdateResponse = VpnGatewayNatRule & { + /** + * 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: VpnGatewayNatRule; + }; +}; + +/** + * Contains response data for the listByVpnGateway operation. + */ +export type NatRulesListByVpnGatewayResponse = ListVpnGatewayNatRulesResult & { + /** + * 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: ListVpnGatewayNatRulesResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type NatRulesBeginCreateOrUpdateResponse = VpnGatewayNatRule & { + /** + * 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: VpnGatewayNatRule; + }; +}; + +/** + * Contains response data for the listByVpnGatewayNext operation. + */ +export type NatRulesListByVpnGatewayNextResponse = ListVpnGatewayNatRulesResult & { + /** + * 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: ListVpnGatewayNatRulesResult; + }; +}; + /** * Contains response data for the get operation. */ @@ -29370,6 +29677,26 @@ export type ExpressRouteGatewaysCreateOrUpdateResponse = ExpressRouteGateway & { }; }; +/** + * Contains response data for the updateTags operation. + */ +export type ExpressRouteGatewaysUpdateTagsResponse = ExpressRouteGateway & { + /** + * 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: ExpressRouteGateway; + }; +}; + /** * Contains response data for the get operation. */ @@ -29410,6 +29737,26 @@ export type ExpressRouteGatewaysBeginCreateOrUpdateResponse = ExpressRouteGatewa }; }; +/** + * Contains response data for the beginUpdateTags operation. + */ +export type ExpressRouteGatewaysBeginUpdateTagsResponse = ExpressRouteGateway & { + /** + * 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: ExpressRouteGateway; + }; +}; + /** * Contains response data for the createOrUpdate operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index a6c6d8e1fdf8..56cc96372d41 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index 4453ca3cadb8..76e4e598da2d 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index a0619762f5fb..bacabb499476 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 75b6d7af03e1..238eea9e0467 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index 95653fee0fba..33aa5617fbb3 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index a914be13730f..c9bafe6775af 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 58ab43e87cdc..3d782a135433 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index f50656d1daf8..68f09659ffff 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index d33b928daa74..093114f4934b 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index fc68b8d03b36..ac480a853fcf 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index fd72eedc76d6..fde45163178a 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -391,6 +391,12 @@ export const SecurityRule: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + serializedName: "type", + type: { + name: "String" + } } } } @@ -552,6 +558,13 @@ export const PrivateEndpoint: msRest.CompositeMapper = { className: "PrivateEndpoint", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, subnet: { serializedName: "properties.subnet", type: { @@ -1125,6 +1138,12 @@ export const Route: msRest.CompositeMapper = { name: "String" } }, + hasBgpOverride: { + serializedName: "properties.hasBgpOverride", + type: { + name: "Boolean" + } + }, name: { serializedName: "name", type: { @@ -1137,6 +1156,12 @@ export const Route: msRest.CompositeMapper = { type: { name: "String" } + }, + type: { + serializedName: "type", + type: { + name: "String" + } } } } @@ -1187,6 +1212,13 @@ export const RouteTable: msRest.CompositeMapper = { name: "String" } }, + resourceGuid: { + readOnly: true, + serializedName: "properties.resourceGuid", + type: { + name: "String" + } + }, etag: { readOnly: true, serializedName: "etag", @@ -2291,6 +2323,12 @@ export const BackendAddressPool: msRest.CompositeMapper = { className: "BackendAddressPool", modelProperties: { ...SubResource.type.modelProperties, + location: { + serializedName: "properties.location", + type: { + name: "String" + } + }, loadBalancerBackendAddresses: { serializedName: "properties.loadBalancerBackendAddresses", type: { @@ -6807,6 +6845,13 @@ export const CustomIpPrefix: msRest.CompositeMapper = { className: "CustomIpPrefix", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, cidr: { serializedName: "properties.cidr", type: { @@ -15413,6 +15458,13 @@ export const PrivateLinkService: msRest.CompositeMapper = { className: "PrivateLinkService", modelProperties: { ...Resource.type.modelProperties, + extendedLocation: { + serializedName: "extendedLocation", + type: { + name: "Composite", + className: "ExtendedLocation" + } + }, loadBalancerFrontendIpConfigurations: { serializedName: "properties.loadBalancerFrontendIpConfigurations", type: { @@ -19508,6 +19560,12 @@ export const VpnSiteLinkConnection: msRest.CompositeMapper = { name: "Number" } }, + vpnLinkConnectionMode: { + serializedName: "properties.vpnLinkConnectionMode", + type: { + name: "String" + } + }, connectionStatus: { serializedName: "properties.connectionStatus", type: { @@ -19589,6 +19647,30 @@ export const VpnSiteLinkConnection: msRest.CompositeMapper = { name: "String" } }, + ingressNatRules: { + serializedName: "properties.ingressNatRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + egressNatRules: { + serializedName: "properties.egressNatRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, name: { serializedName: "name", type: { @@ -19909,6 +19991,128 @@ export const VpnGatewayIpConfiguration: msRest.CompositeMapper = { } }; +export const VpnNatRuleMapping: msRest.CompositeMapper = { + serializedName: "VpnNatRuleMapping", + type: { + name: "Composite", + className: "VpnNatRuleMapping", + modelProperties: { + addressSpace: { + serializedName: "addressSpace", + type: { + name: "String" + } + } + } + } +}; + +export const VpnGatewayNatRule: msRest.CompositeMapper = { + serializedName: "VpnGatewayNatRule", + type: { + name: "Composite", + className: "VpnGatewayNatRule", + modelProperties: { + ...SubResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + vpnGatewayNatRulePropertiesType: { + serializedName: "properties.type", + type: { + name: "String" + } + }, + mode: { + serializedName: "properties.mode", + type: { + name: "String" + } + }, + internalMappings: { + serializedName: "properties.internalMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnNatRuleMapping" + } + } + } + }, + externalMappings: { + serializedName: "properties.externalMappings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnNatRuleMapping" + } + } + } + }, + ipConfigurationId: { + serializedName: "properties.ipConfigurationId", + type: { + name: "String" + } + }, + egressVpnSiteLinkConnections: { + readOnly: true, + serializedName: "properties.egressVpnSiteLinkConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + ingressVpnSiteLinkConnections: { + readOnly: true, + serializedName: "properties.ingressVpnSiteLinkConnections", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const VpnGateway: msRest.CompositeMapper = { serializedName: "VpnGateway", type: { @@ -19974,6 +20178,18 @@ export const VpnGateway: msRest.CompositeMapper = { name: "Boolean" } }, + natRules: { + serializedName: "properties.natRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnGatewayNatRule" + } + } + } + }, etag: { readOnly: true, serializedName: "etag", @@ -21019,6 +21235,12 @@ export const ExpressRouteConnection: msRest.CompositeMapper = { name: "Boolean" } }, + expressRouteGatewayBypass: { + serializedName: "properties.expressRouteGatewayBypass", + type: { + name: "Boolean" + } + }, routingConfiguration: { serializedName: "properties.routingConfiguration", type: { @@ -24286,6 +24508,34 @@ export const ListVpnSiteLinkConnectionsResult: msRest.CompositeMapper = { } }; +export const ListVpnGatewayNatRulesResult: msRest.CompositeMapper = { + serializedName: "ListVpnGatewayNatRulesResult", + type: { + name: "Composite", + className: "ListVpnGatewayNatRulesResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VpnGatewayNatRule" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const ListP2SVpnGatewaysResult: msRest.CompositeMapper = { serializedName: "ListP2SVpnGatewaysResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 8756780a8cb6..2dc5fa2fff35 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/natRulesMappers.ts b/sdk/network/arm-network/src/models/natRulesMappers.ts new file mode 100644 index 000000000000..0ae29635bede --- /dev/null +++ b/sdk/network/arm-network/src/models/natRulesMappers.ts @@ -0,0 +1,311 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * 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, + ExpressRoutePortsLocation, + ExpressRoutePortsLocationBandwidths, + ExpressRouteServiceProvider, + ExpressRouteServiceProviderBandwidthsOffered, + ExtendedLocation, + FirewallPolicy, + FirewallPolicyCertificateAuthority, + FirewallPolicyFilterRuleCollection, + FirewallPolicyFilterRuleCollectionAction, + FirewallPolicyIntrusionDetection, + FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, + FirewallPolicyIntrusionDetectionConfiguration, + FirewallPolicyIntrusionDetectionSignatureSpecification, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicySku, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + InboundSecurityRule, + InboundSecurityRules, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + ListVpnGatewayNatRulesResult, + 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, + VpnGatewayNatRule, + VpnLinkBgpSettings, + VpnLinkProviderProperties, + VpnNatRuleMapping, + VpnServerConfigRadiusClientRootCertificate, + VpnServerConfigRadiusServerRootCertificate, + VpnServerConfiguration, + VpnServerConfigVpnClientRevokedCertificate, + VpnServerConfigVpnClientRootCertificate, + VpnSite, + VpnSiteLink, + VpnSiteLinkConnection, + WebApplicationFirewallCustomRule, + WebApplicationFirewallPolicy +} from "../models/mappers"; diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index a12b3b121607..ac7063c2a20e 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index f2db023b2316..ab8720e59693 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 2392bd4042fe..fb25803b0487 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index 1859a25c6b49..fec3d35f0b0d 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -302,8 +302,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index a0fb56ef0aa5..d34c840268c8 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index ee2478d64289..17d081738564 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index f997584631d7..6712fe0f7a39 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 72fd890096d0..5eb71becd12a 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -345,8 +345,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index 9df0463acf18..c7c73c1c4289 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -299,8 +299,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnProfileResponse, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index cb6543847c52..293047484c96 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -25,7 +25,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-07-01', + defaultValue: '2020-08-01', type: { name: "String" } @@ -509,6 +509,16 @@ export const natGatewayName: msRest.OperationURLParameter = { } } }; +export const natRuleName: msRest.OperationURLParameter = { + parameterPath: "natRuleName", + mapper: { + required: true, + serializedName: "natRuleName", + type: { + name: "String" + } + } +}; export const networkInterfaceName: msRest.OperationURLParameter = { parameterPath: "networkInterfaceName", mapper: { @@ -915,6 +925,16 @@ export const virtualHubName: msRest.OperationURLParameter = { } } }; +export const virtualmachineIndex: msRest.OperationURLParameter = { + parameterPath: "virtualmachineIndex", + mapper: { + required: true, + serializedName: "virtualmachineIndex", + type: { + name: "String" + } + } +}; export const virtualMachineScaleSetName: msRest.OperationURLParameter = { parameterPath: "virtualMachineScaleSetName", mapper: { @@ -995,16 +1015,6 @@ export const virtualWANName1: msRest.OperationURLParameter = { } } }; -export const virtualmachineIndex: msRest.OperationURLParameter = { - parameterPath: "virtualmachineIndex", - mapper: { - required: true, - serializedName: "virtualmachineIndex", - type: { - name: "String" - } - } -}; export const vpnConnectionName: msRest.OperationURLParameter = { parameterPath: "vpnConnectionName", mapper: { diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index d719b4bc5f64..ef3445dce44a 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index 450b67243f6c..d45770388e8a 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index a36a2bf9b2ef..38a3185d4c29 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 52f3fbe5f342..8319d01d187c 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -301,8 +301,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index ee7ff0837b10..3dc6fd158532 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index b9705568ae0a..706d10b138b7 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index 63239180ab0d..4c5bc57f8476 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 1a19b938bf96..6803e742236e 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 2ad4b951ec11..92aba038b418 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 0b8221c227be..b22d39b5fb20 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index d344c0d1ecd9..465efbb02f88 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index 35f7add72822..9e9cb72cb508 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index 16596c8e2766..abf3c393f86a 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index 495b6e40ab28..ef6a0d01a247 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index f27baa68e62b..7514f466f4de 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 440082729163..6493ce88cf40 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 245dbbdf72c9..727464071a4f 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -297,8 +297,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts index 2b3bf429bc78..7d6a2fbea652 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts index dad1b49106b9..a0f3a1667145 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts index 9c7206fc9537..ac8c7224569d 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts @@ -293,8 +293,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts index 32e5268e8853..b0352d2558b3 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts index 64da07d10bc4..92480f02ca9d 100644 --- a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index 7a6e5eda777c..721fea50b364 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index 977557531167..4686c6cc1b0a 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index 70605d7a95ed..b24ff713ae06 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -115,6 +115,7 @@ export { EndpointServiceResult, ErrorDetails, ErrorModel, + ErrorResponse, ExpressRouteCircuit, ExpressRouteCircuitAuthorization, ExpressRouteCircuitConnection, @@ -298,8 +299,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnPacketCaptureStartParameters, VpnPacketCaptureStopParameters, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index cbde71ce808c..0db431cd2af1 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -308,8 +308,10 @@ export { VpnDeviceScriptParameters, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnPacketCaptureStartParameters, VpnPacketCaptureStopParameters, VpnServerConfigRadiusClientRootCertificate, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index 874528cf8b29..0a832aad934b 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index 59850e3b450c..fbb6968ce3a5 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index c52080df8a9a..ff3c75d5d702 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -299,8 +299,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index 1fa6e05bf72e..0ec91a2c88a3 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index cb4c662337f5..a82553388aba 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 09cc92af3cab..82dc868e3b1b 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 8ef2cac5b09b..a47b36dc0a34 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -296,8 +296,10 @@ export { VpnConnectionPacketCaptureStopParameters, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 3e543815022d..c72b1d21bda1 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -295,10 +295,12 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnGatewayPacketCaptureStartParameters, VpnGatewayPacketCaptureStopParameters, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index 11c05bf8807d..7d67c2166133 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index 4b3025ba0752..a273cd4ba228 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index 9c7206fc9537..ac8c7224569d 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -293,8 +293,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index f7ba74dcd9a4..3f709a7455d4 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -294,8 +294,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index 9b5342ff83a9..3e80478a07c5 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -295,8 +295,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index 490a9134d782..91434b9b11a8 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -293,8 +293,10 @@ export { VpnConnection, VpnGateway, VpnGatewayIpConfiguration, + VpnGatewayNatRule, VpnLinkBgpSettings, VpnLinkProviderProperties, + VpnNatRuleMapping, VpnServerConfigRadiusClientRootCertificate, VpnServerConfigRadiusServerRootCertificate, VpnServerConfiguration, diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index fc7c2c4ca0c5..3a1894190f04 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -113,6 +113,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { vpnConnections: operations.VpnConnections; vpnSiteLinkConnections: operations.VpnSiteLinkConnections; vpnLinkConnections: operations.VpnLinkConnections; + natRules: operations.NatRules; p2sVpnGateways: operations.P2sVpnGateways; vpnServerConfigurationsAssociatedWithVirtualWan: operations.VpnServerConfigurationsAssociatedWithVirtualWan; virtualHubRouteTableV2s: operations.VirtualHubRouteTableV2s; @@ -228,6 +229,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.vpnConnections = new operations.VpnConnections(this); this.vpnSiteLinkConnections = new operations.VpnSiteLinkConnections(this); this.vpnLinkConnections = new operations.VpnLinkConnections(this); + this.natRules = new operations.NatRules(this); this.p2sVpnGateways = new operations.P2sVpnGateways(this); this.vpnServerConfigurationsAssociatedWithVirtualWan = new operations.VpnServerConfigurationsAssociatedWithVirtualWan(this); this.virtualHubRouteTableV2s = new operations.VirtualHubRouteTableV2s(this); diff --git a/sdk/network/arm-network/src/operations/expressRouteGateways.ts b/sdk/network/arm-network/src/operations/expressRouteGateways.ts index d5d654bf3fb8..02e6d07eea10 100644 --- a/sdk/network/arm-network/src/operations/expressRouteGateways.ts +++ b/sdk/network/arm-network/src/operations/expressRouteGateways.ts @@ -92,6 +92,20 @@ export class ExpressRouteGateways { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Updates express route gateway tags. + * @param resourceGroupName The resource group name of the ExpressRouteGateway. + * @param expressRouteGatewayName The name of the gateway. + * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route + * gateway tags. + * @param [options] The optional parameters + * @returns Promise + */ + updateTags(resourceGroupName: string, expressRouteGatewayName: string, expressRouteGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.beginUpdateTags(resourceGroupName,expressRouteGatewayName,expressRouteGatewayParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Fetches the details of a ExpressRoute gateway in a resource group. * @param resourceGroupName The name of the resource group. @@ -158,6 +172,27 @@ export class ExpressRouteGateways { options); } + /** + * Updates express route gateway tags. + * @param resourceGroupName The resource group name of the ExpressRouteGateway. + * @param expressRouteGatewayName The name of the gateway. + * @param expressRouteGatewayParameters Parameters supplied to update a virtual wan express route + * gateway tags. + * @param [options] The optional parameters + * @returns Promise + */ + beginUpdateTags(resourceGroupName: string, expressRouteGatewayName: string, expressRouteGatewayParameters: Models.TagsObject, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + expressRouteGatewayName, + expressRouteGatewayParameters, + options + }, + beginUpdateTagsOperationSpec, + options); + } + /** * Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource * can only be deleted when there are no connection subresources. @@ -287,6 +322,39 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginUpdateTagsOperationSpec: msRest.OperationSpec = { + httpMethod: "PATCH", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.expressRouteGatewayName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "expressRouteGatewayParameters", + mapper: { + ...Mappers.TagsObject, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.ExpressRouteGateway + }, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const beginDeleteMethodOperationSpec: msRest.OperationSpec = { httpMethod: "DELETE", path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}", diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index dfc435682bad..ac8a18054374 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -102,6 +102,7 @@ export * from "./vpnGateways"; export * from "./vpnConnections"; export * from "./vpnSiteLinkConnections"; export * from "./vpnLinkConnections"; +export * from "./natRules"; export * from "./p2sVpnGateways"; export * from "./vpnServerConfigurationsAssociatedWithVirtualWan"; export * from "./virtualHubRouteTableV2s"; diff --git a/sdk/network/arm-network/src/operations/natRules.ts b/sdk/network/arm-network/src/operations/natRules.ts new file mode 100644 index 000000000000..3ad9ff4ec307 --- /dev/null +++ b/sdk/network/arm-network/src/operations/natRules.ts @@ -0,0 +1,334 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + * + * 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/natRulesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a NatRules. */ +export class NatRules { + private readonly client: NetworkManagementClientContext; + + /** + * Create a NatRules. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a nat ruleGet. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param callback The callback + */ + get(resourceGroupName: string, gatewayName: string, natRuleName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param options The optional parameters + * @param callback The callback + */ + get(resourceGroupName: string, gatewayName: string, natRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayName, + natRuleName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat + * rules. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: Models.VpnGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,gatewayName,natRuleName,natRuleParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,gatewayName,natRuleName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves all nat rules for a particular virtual wan vpn gateway. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnGateway(resourceGroupName: string, gatewayName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param callback The callback + */ + listByVpnGateway(resourceGroupName: string, gatewayName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param options The optional parameters + * @param callback The callback + */ + listByVpnGateway(resourceGroupName: string, gatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnGateway(resourceGroupName: string, gatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + gatewayName, + options + }, + listByVpnGatewayOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat + * rules. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param natRuleParameters Parameters supplied to create or Update a Nat Rule. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, gatewayName: string, natRuleName: string, natRuleParameters: Models.VpnGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + gatewayName, + natRuleName, + natRuleParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the VpnGateway. + * @param gatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, gatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + gatewayName, + natRuleName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Retrieves all nat rules for a particular virtual wan vpn gateway. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVpnGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVpnGatewayNext(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 + */ + listByVpnGatewayNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVpnGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVpnGatewayNextOperationSpec, + 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/vpnGateways/{gatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VpnGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVpnGatewayOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "natRuleParameters", + mapper: { + ...Mappers.VpnGatewayNatRule, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VpnGatewayNatRule + }, + 201: { + bodyMapper: Mappers.VpnGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.gatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVpnGatewayNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVpnGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/networkInterfaces.ts b/sdk/network/arm-network/src/operations/networkInterfaces.ts index b6dc711242a7..86fef9e152b4 100644 --- a/sdk/network/arm-network/src/operations/networkInterfaces.ts +++ b/sdk/network/arm-network/src/operations/networkInterfaces.ts @@ -389,7 +389,7 @@ export class NetworkInterfaces { } /** - * Gets information about all network interfaces in a role instance in a cloud service + * Gets information about all network interfaces in a role instance in a cloud service. * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. * @param roleInstanceName The name of role instance. @@ -460,7 +460,7 @@ export class NetworkInterfaces { * Get the specified network interface in a cloud service. * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The name of the network interface. * @param [options] The optional parameters * @returns Promise @@ -469,7 +469,7 @@ export class NetworkInterfaces { /** * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The name of the network interface. * @param callback The callback */ @@ -477,7 +477,7 @@ export class NetworkInterfaces { /** * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The name of the network interface. * @param options The optional parameters * @param callback The callback @@ -714,7 +714,7 @@ export class NetworkInterfaces { } /** - * Gets information about all network interfaces in a role instance in a cloud service + * Gets information about all network interfaces in a role instance in a cloud service. * @param nextPageLink The NextLink from the previous successful call to List operation. * @param [options] The optional parameters * @returns diff --git a/sdk/network/arm-network/src/operations/publicIPAddresses.ts b/sdk/network/arm-network/src/operations/publicIPAddresses.ts index ab25987265f4..929765f2373c 100644 --- a/sdk/network/arm-network/src/operations/publicIPAddresses.ts +++ b/sdk/network/arm-network/src/operations/publicIPAddresses.ts @@ -333,7 +333,7 @@ export class PublicIPAddresses { * service. * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The network interface name. * @param ipConfigurationName The IP configuration name. * @param [options] The optional parameters @@ -343,7 +343,7 @@ export class PublicIPAddresses { /** * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The network interface name. * @param ipConfigurationName The IP configuration name. * @param callback The callback @@ -352,7 +352,7 @@ export class PublicIPAddresses { /** * @param resourceGroupName The name of the resource group. * @param cloudServiceName The name of the cloud service. - * @param roleInstanceName The name of role instance + * @param roleInstanceName The name of role instance. * @param networkInterfaceName The network interface name. * @param ipConfigurationName The IP configuration name. * @param options The optional parameters diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts index 1f0f1438096b..bbcf1eb58641 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayConnections.ts @@ -221,6 +221,19 @@ export class VirtualNetworkGatewayConnections { .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } + /** + * Lists IKE Security Associations for the virtual network gateway connection in the specified + * resource group. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param [options] The optional parameters + * @returns Promise + */ + getIkeSas(resourceGroupName: string, virtualNetworkGatewayConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginGetIkeSas(resourceGroupName,virtualNetworkGatewayConnectionName,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + /** * Creates or updates a virtual network gateway connection in the specified resource group. * @param resourceGroupName The name of the resource group. @@ -366,6 +379,25 @@ export class VirtualNetworkGatewayConnections { options); } + /** + * Lists IKE Security Associations for the virtual network gateway connection in the specified + * resource group. + * @param resourceGroupName The name of the resource group. + * @param virtualNetworkGatewayConnectionName The name of the virtual network gateway Connection. + * @param [options] The optional parameters + * @returns Promise + */ + beginGetIkeSas(resourceGroupName: string, virtualNetworkGatewayConnectionName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayConnectionName, + options + }, + beginGetIkeSasOperationSpec, + options); + } + /** * The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways * connections created. @@ -709,6 +741,37 @@ const beginStopPacketCaptureOperationSpec: msRest.OperationSpec = { serializer }; +const beginGetIkeSasOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayConnectionName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: { + serializedName: "parsedResponse", + type: { + name: "String" + } + } + }, + 202: {}, + default: { + bodyMapper: Mappers.ErrorResponse + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com",