diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts index 07d952e84660..9abcfb8ebc4f 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateEndpointConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts index 85a0b5406645..222266d6ff2c 100644 --- a/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewayPrivateLinkResourcesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index 05ed4ef3f9c0..bb6108924580 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -172,6 +172,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -294,6 +295,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index cf9faf34301e..dc15048000bd 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index 23fbbce0a3ba..e277dc6cff49 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index 873fed349cb3..a8c28d35ffd9 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 1a023588521c..308ea0255bc2 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index 961c33268b6d..ed651ae53a02 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index 1f71a8773237..39ee6d9e47f2 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index 270f748fbb5b..3c4dbff89eb2 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HopLink, HTTPHeader, HubIPAddresses, @@ -291,6 +292,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts index 706df93cbeb3..dd42d9871acc 100644 --- a/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/customIPPrefixesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index 9ff446249074..c2e389fa40c9 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 36e39d14e1cc..4a1f7d02e5ab 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index c1e6c1a3fbc7..529b268cd07d 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts index c2ce73499728..c1c3ac07c62e 100644 --- a/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/dscpConfigurationOperationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 6b6fac907122..1843b36cdf7f 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 7a9a52132ecc..dc7f3d252569 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index e666b7d213db..879c84ba2a1e 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index 32f61b0d9250..c7c9d1bbb74f 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -290,6 +291,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index c4ccce04a14d..25cb168fc7db 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 4d4f15cbe244..d62b04278213 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index d699059ad6b6..3cfb87ec7f0a 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -168,6 +168,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -290,6 +291,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index e67aa1ae3cb8..4589a590a6df 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index e125c350c049..63af02f104ea 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index e3a4d25caee9..30b67a4743a3 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 6b666a1d7706..2c797c5ac328 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, GenerateExpressRoutePortsLOARequest, GenerateExpressRoutePortsLOAResult, HTTPHeader, @@ -286,6 +287,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 416ce26822a3..1471bad36568 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index dd6537cf4a71..a08544d3f9c6 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts index f13f838eb1d4..cea0b064c822 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleCollectionGroupsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index 56b6a349c879..71634a470bfc 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -163,6 +163,7 @@ export { FlowLogFormatParameters, FlowLogListResult, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts index bd6eee0a2c02..003660797824 100644 --- a/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts +++ b/sdk/network/arm-network/src/models/hubRouteTablesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index cae0d433eb86..51cdb57d37cf 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index b8c62f32b878..b53e48d6431a 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts index fc1036897ffc..95b1de2b68bc 100644 --- a/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts +++ b/sdk/network/arm-network/src/models/inboundSecurityRuleOperationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -282,6 +283,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 905167bce8ef..f9425f2bfaee 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -262,7 +262,11 @@ export interface ExtendedLocation { /** * The name of the extended location. */ - name: string; + name?: string; + /** + * The type of the extended location. Possible values include: 'EdgeZone' + */ + type?: ExtendedLocationTypes; } /** @@ -1298,6 +1302,10 @@ export interface FrontendIPConfiguration extends SubResource { * The reference to the Public IP Prefix resource. */ publicIPPrefix?: SubResource; + /** + * The reference to gateway load balancer frontend IP. + */ + gatewayLoadBalancer?: SubResource; /** * The provisioning state of the frontend IP configuration resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -1366,6 +1374,30 @@ export interface VirtualNetworkTap extends Resource { readonly etag?: string; } +/** + * Gateway load balancer tunnel interface of a load balancer backend address pool. + */ +export interface GatewayLoadBalancerTunnelInterface { + /** + * Port of gateway load balancer tunnel interface. + */ + port?: number; + /** + * Identifier of gateway load balancer tunnel interface. + */ + identifier?: number; + /** + * Protocol of gateway load balancer tunnel interface. Possible values include: 'None', 'Native', + * 'VXLAN' + */ + protocol?: GatewayLoadBalancerTunnelProtocol; + /** + * Traffic type of gateway load balancer tunnel interface. Possible values include: 'None', + * 'Internal', 'External' + */ + type?: GatewayLoadBalancerTunnelInterfaceType; +} + /** * Load balancer backend addresses. */ @@ -1405,6 +1437,10 @@ export interface BackendAddressPool extends SubResource { * The location of the backend address pool. */ location?: string; + /** + * An array of gateway load balancer tunnel interfaces. + */ + tunnelInterfaces?: GatewayLoadBalancerTunnelInterface[]; /** * An array of backend addresses. */ @@ -1545,6 +1581,10 @@ export interface NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties * IPConfiguration in a network interface. */ export interface NetworkInterfaceIPConfiguration extends SubResource { + /** + * The reference to gateway load balancer frontend IP. + */ + gatewayLoadBalancer?: SubResource; /** * The reference to Virtual Network Taps. */ @@ -4042,6 +4082,23 @@ export interface CustomIpPrefix extends Resource { * The prefix range in CIDR notation. Should include the start address and the prefix length. */ cidr?: string; + /** + * Signed message for WAN validation. + */ + signedMessage?: string; + /** + * Authorization message for WAN validation. + */ + authorizationMessage?: string; + /** + * The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix. + */ + customIpPrefixParent?: CustomIpPrefix; + /** + * The list of all Children for IPv6 /48 CustomIpPrefix. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly childCustomIpPrefixes?: CustomIpPrefix[]; /** * The commissioned state of the Custom IP Prefix. Possible values include: 'Provisioning', * 'Provisioned', 'Commissioning', 'Commissioned', 'Decommissioning', 'Deprovisioning' @@ -4057,6 +4114,11 @@ export interface CustomIpPrefix extends Resource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly resourceGuid?: string; + /** + * The reason why resource is in failed state. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly failedReason?: string; /** * The provisioning state of the custom IP prefix resource. Possible values include: 'Succeeded', * 'Updating', 'Deleting', 'Failed' @@ -5981,7 +6043,7 @@ export interface IpGroup extends Resource { */ export interface LoadBalancerSku { /** - * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard' + * Name of a load balancer SKU. Possible values include: 'Basic', 'Standard', 'Gateway' */ name?: LoadBalancerSkuName; /** @@ -6003,6 +6065,10 @@ export interface LoadBalancingRule extends SubResource { * backend IPs. */ backendAddressPool?: SubResource; + /** + * An array of references to pool of DIPs. + */ + backendAddressPools?: SubResource[]; /** * The reference to the load balancer probe used by the load balancing rule. */ @@ -6322,6 +6388,30 @@ export interface LoadBalancer extends Resource { readonly etag?: string; } +/** + * VIP swap request's frontend IP configuration object. + */ +export interface LoadBalancerVipSwapRequestFrontendIPConfiguration { + /** + * The ID of frontend IP configuration resource. + */ + id?: string; + /** + * A reference to public IP address resource. + */ + publicIPAddress?: SubResource; +} + +/** + * The request for a VIP swap. + */ +export interface LoadBalancerVipSwapRequest { + /** + * A list of frontend IP configuration resources that should swap VIPs. + */ + frontendIPConfigurations?: LoadBalancerVipSwapRequestFrontendIPConfiguration[]; +} + /** * SKU of nat gateway. */ @@ -9699,9 +9789,13 @@ export interface VirtualNetworkPeering extends SubResource { */ remoteVirtualNetwork?: SubResource; /** - * The reference to the remote virtual network address space. + * The reference to the address space peered with the remote virtual network. */ remoteAddressSpace?: AddressSpace; + /** + * The reference to the current address space of the remote virtual network. + */ + remoteVirtualNetworkAddressSpace?: AddressSpace; /** * The reference to the remote virtual network's Bgp Communities. */ @@ -9711,6 +9805,11 @@ export interface VirtualNetworkPeering extends SubResource { * 'Disconnected' */ peeringState?: VirtualNetworkPeeringState; + /** + * The peering sync status of the virtual network peering. Possible values include: + * 'FullyInSync', 'RemoteNotInSync', 'LocalNotInSync', 'LocalAndRemoteNotInSync' + */ + peeringSyncLevel?: VirtualNetworkPeeringLevel; /** * The provisioning state of the virtual network peering resource. Possible values include: * 'Succeeded', 'Updating', 'Deleting', 'Failed' @@ -9787,6 +9886,10 @@ export interface VirtualNetwork extends Resource { * network. */ dhcpOptions?: DhcpOptions; + /** + * The FlowTimeout value (in minutes) for the Virtual Network + */ + flowTimeoutInMinutes?: number; /** * A list of subnets in a Virtual Network. */ @@ -9985,6 +10088,63 @@ export interface VirtualNetworkGatewayIPConfiguration extends SubResource { readonly etag?: string; } +/** + * Vpn NatRule mapping. + */ +export interface VpnNatRuleMapping { + /** + * Address space for Vpn NatRule mapping. + */ + addressSpace?: string; +} + +/** + * VirtualNetworkGatewayNatRule Resource. + */ +export interface VirtualNetworkGatewayNatRule 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' + */ + virtualNetworkGatewayNatRulePropertiesType?: 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; + /** + * 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; +} + /** * VirtualNetworkGatewaySku details. */ @@ -10395,14 +10555,22 @@ export interface VirtualNetworkGateway extends Resource { */ readonly inboundDnsForwardingEndpoint?: string; /** - * MAS FIJI customer vnet resource id. VirtualNetworkGateway of type local gateway is associated - * with the customer vnet. + * Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the + * customer vnet. */ vNetExtendedLocationResourceId?: string; + /** + * NatRules for virtual network gateway. + */ + natRules?: VirtualNetworkGatewayNatRule[]; + /** + * EnableBgpRouteTranslationForNat flag. + */ + enableBgpRouteTranslationForNat?: boolean; /** * The extended location of type local virtual network gateway. */ - virtualNetworkExtendedLocation?: ExtendedLocation; + extendedLocation?: ExtendedLocation; /** * 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.** @@ -10559,6 +10727,14 @@ export interface VirtualNetworkGatewayConnection extends Resource { * The reference to local network gateway resource. */ localNetworkGateway2?: LocalNetworkGateway; + /** + * List of ingress NatRules. + */ + ingressNatRules?: SubResource[]; + /** + * List of egress NatRules. + */ + egressNatRules?: SubResource[]; /** * Gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', * 'VPNClient' @@ -11550,6 +11726,11 @@ export interface VirtualHub extends Resource { * Flag to control transit for VirtualRouter hub. */ allowBranchToBranchTraffic?: boolean; + /** + * The preferred gateway to route on-prem traffic. Possible values include: 'ExpressRoute', + * 'VpnGateway', 'None' + */ + preferredRoutingGateway?: PreferredRoutingGateway; /** * 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.** @@ -11827,16 +12008,6 @@ export interface VpnGatewayIpConfiguration { privateIpAddress?: string; } -/** - * Vpn NatRule mapping. - */ -export interface VpnNatRuleMapping { - /** - * Address space for Vpn NatRule mapping. - */ - addressSpace?: string; -} - /** * VpnGatewayNatRule Resource. */ @@ -13242,6 +13413,28 @@ export interface SubnetsGetOptionalParams extends msRest.RequestOptionsBase { expand?: string; } +/** + * Optional Parameters. + */ +export interface VirtualNetworkPeeringsCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameter indicates the intention to sync the peering with the current address space on the + * remote vNet after it's updated. Possible values include: 'true' + */ + syncRemoteAddressSpace?: SyncRemoteAddressSpace; +} + +/** + * Optional Parameters. + */ +export interface VirtualNetworkPeeringsBeginCreateOrUpdateOptionalParams extends msRest.RequestOptionsBase { + /** + * Parameter indicates the intention to sync the peering with the current address space on the + * remote vNet after it's updated. Possible values include: 'true' + */ + syncRemoteAddressSpace?: SyncRemoteAddressSpace; +} + /** * Optional Parameters. */ @@ -14452,6 +14645,19 @@ export interface LocalNetworkGatewayListResult extends Array + */ +export interface ListVirtualNetworkGatewayNatRulesResult extends Array { + /** + * URL to get the next set of operation list results if there are any. + */ + nextLink?: string; +} + /** * @interface * Response for ListVirtualNetworkTap API service call. @@ -14748,6 +14954,14 @@ export type SecurityRuleAccess = 'Allow' | 'Deny'; */ export type SecurityRuleDirection = 'Inbound' | 'Outbound'; +/** + * Defines values for ExtendedLocationTypes. + * Possible values include: 'EdgeZone' + * @readonly + * @enum {string} + */ +export type ExtendedLocationTypes = 'EdgeZone'; + /** * Defines values for FlowLogFormatType. * Possible values include: 'JSON' @@ -14805,6 +15019,22 @@ export type VirtualNetworkPrivateEndpointNetworkPolicies = 'Enabled' | 'Disabled */ export type VirtualNetworkPrivateLinkServiceNetworkPolicies = 'Enabled' | 'Disabled'; +/** + * Defines values for GatewayLoadBalancerTunnelProtocol. + * Possible values include: 'None', 'Native', 'VXLAN' + * @readonly + * @enum {string} + */ +export type GatewayLoadBalancerTunnelProtocol = 'None' | 'Native' | 'VXLAN'; + +/** + * Defines values for GatewayLoadBalancerTunnelInterfaceType. + * Possible values include: 'None', 'Internal', 'External' + * @readonly + * @enum {string} + */ +export type GatewayLoadBalancerTunnelInterfaceType = 'None' | 'Internal' | 'External'; + /** * Defines values for TransportProtocol. * Possible values include: 'Udp', 'Tcp', 'All' @@ -14942,14 +15172,6 @@ export type ApplicationGatewayFirewallMode = 'Detection' | 'Prevention'; */ export type ResourceIdentityType = 'SystemAssigned' | 'UserAssigned' | 'SystemAssigned, UserAssigned' | 'None'; -/** - * Defines values for ExtendedLocationTypes. - * Possible values include: 'EdgeZone' - * @readonly - * @enum {string} - */ -export type ExtendedLocationTypes = 'EdgeZone'; - /** * Defines values for AzureFirewallRCActionType. * Possible values include: 'Allow', 'Deny' @@ -15225,11 +15447,11 @@ export type IpAllocationType = 'Undefined' | 'Hypernet'; /** * Defines values for LoadBalancerSkuName. - * Possible values include: 'Basic', 'Standard' + * Possible values include: 'Basic', 'Standard', 'Gateway' * @readonly * @enum {string} */ -export type LoadBalancerSkuName = 'Basic' | 'Standard'; +export type LoadBalancerSkuName = 'Basic' | 'Standard' | 'Gateway'; /** * Defines values for LoadBalancerSkuTier. @@ -15587,6 +15809,31 @@ export type SecurityPartnerProviderConnectionStatus = 'Unknown' | 'PartiallyConn */ export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; +/** + * Defines values for VirtualNetworkPeeringLevel. + * Possible values include: 'FullyInSync', 'RemoteNotInSync', 'LocalNotInSync', + * 'LocalAndRemoteNotInSync' + * @readonly + * @enum {string} + */ +export type VirtualNetworkPeeringLevel = 'FullyInSync' | 'RemoteNotInSync' | 'LocalNotInSync' | 'LocalAndRemoteNotInSync'; + +/** + * 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 VirtualNetworkGatewayType. * Possible values include: 'Vpn', 'ExpressRoute', 'LocalGateway' @@ -15762,6 +16009,14 @@ export type OfficeTrafficCategory = 'Optimize' | 'OptimizeAndAllow' | 'All' | 'N */ export type RoutingState = 'None' | 'Provisioned' | 'Provisioning' | 'Failed'; +/** + * Defines values for PreferredRoutingGateway. + * Possible values include: 'ExpressRoute', 'VpnGateway', 'None' + * @readonly + * @enum {string} + */ +export type PreferredRoutingGateway = 'ExpressRoute' | 'VpnGateway' | 'None'; + /** * Defines values for HubBgpConnectionStatus. * Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected' @@ -15786,22 +16041,6 @@ export type VpnConnectionStatus = 'Unknown' | 'Connecting' | 'Connected' | 'NotC */ 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' @@ -15925,6 +16164,14 @@ export type OwaspCrsExclusionEntrySelectorMatchOperator = 'Equals' | 'Contains' */ export type ManagedRuleEnabledState = 'Disabled'; +/** + * Defines values for SyncRemoteAddressSpace. + * Possible values include: 'true' + * @readonly + * @enum {string} + */ +export type SyncRemoteAddressSpace = 'true'; + /** * Contains response data for the get operation. */ @@ -27356,6 +27603,106 @@ export type LocalNetworkGatewaysListNextResponse = LocalNetworkGatewayListResult }; }; +/** + * Contains response data for the get operation. + */ +export type VirtualNetworkGatewayNatRulesGetResponse = VirtualNetworkGatewayNatRule & { + /** + * 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: VirtualNetworkGatewayNatRule; + }; +}; + +/** + * Contains response data for the createOrUpdate operation. + */ +export type VirtualNetworkGatewayNatRulesCreateOrUpdateResponse = VirtualNetworkGatewayNatRule & { + /** + * 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: VirtualNetworkGatewayNatRule; + }; +}; + +/** + * Contains response data for the listByVirtualNetworkGateway operation. + */ +export type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayResponse = ListVirtualNetworkGatewayNatRulesResult & { + /** + * 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: ListVirtualNetworkGatewayNatRulesResult; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type VirtualNetworkGatewayNatRulesBeginCreateOrUpdateResponse = VirtualNetworkGatewayNatRule & { + /** + * 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: VirtualNetworkGatewayNatRule; + }; +}; + +/** + * Contains response data for the listByVirtualNetworkGatewayNext operation. + */ +export type VirtualNetworkGatewayNatRulesListByVirtualNetworkGatewayNextResponse = ListVirtualNetworkGatewayNatRulesResult & { + /** + * 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: ListVirtualNetworkGatewayNatRulesResult; + }; +}; + /** * Contains response data for the get operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index 70080421e7b7..7e158c6c3058 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index 9fc0a6882990..f3a8f010e716 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 854b57843956..d63904c36ef3 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 7d57d165cb59..74c2c2ddf96b 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index 38f067cb1c5a..030a34216add 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index 2f4426a0eca3..7da15e51f2f3 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 7c00d4b5e15f..c81c7aedb393 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index aec3b2e83fc9..439e02e6f936 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index a921cbab8c00..6842075c331c 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -185,6 +186,8 @@ export { LoadBalancerBackendAddress, LoadBalancerListResult, LoadBalancerSku, + LoadBalancerVipSwapRequest, + LoadBalancerVipSwapRequestFrontendIPConfiguration, LoadBalancingRule, LocalNetworkGateway, ManagedRuleGroupOverride, @@ -284,6 +287,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index ba7752ec769f..f0bbabe3911f 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 56f73f4a52e6..1e78b7072494 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -409,17 +409,13 @@ export const ExtendedLocation: msRest.CompositeMapper = { className: "ExtendedLocation", modelProperties: { name: { - required: true, serializedName: "name", type: { name: "String" } }, type: { - required: true, - isConstant: true, serializedName: "type", - defaultValue: 'EdgeZone', type: { name: "String" } @@ -2174,6 +2170,13 @@ export const FrontendIPConfiguration: msRest.CompositeMapper = { className: "SubResource" } }, + gatewayLoadBalancer: { + serializedName: "properties.gatewayLoadBalancer", + type: { + name: "Composite", + className: "SubResource" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -2281,6 +2284,40 @@ export const VirtualNetworkTap: msRest.CompositeMapper = { } }; +export const GatewayLoadBalancerTunnelInterface: msRest.CompositeMapper = { + serializedName: "GatewayLoadBalancerTunnelInterface", + type: { + name: "Composite", + className: "GatewayLoadBalancerTunnelInterface", + modelProperties: { + port: { + serializedName: "port", + type: { + name: "Number" + } + }, + identifier: { + serializedName: "identifier", + type: { + name: "Number" + } + }, + protocol: { + serializedName: "protocol", + type: { + name: "String" + } + }, + type: { + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const LoadBalancerBackendAddress: msRest.CompositeMapper = { serializedName: "LoadBalancerBackendAddress", type: { @@ -2345,6 +2382,18 @@ export const BackendAddressPool: msRest.CompositeMapper = { name: "String" } }, + tunnelInterfaces: { + serializedName: "properties.tunnelInterfaces", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "GatewayLoadBalancerTunnelInterface" + } + } + } + }, loadBalancerBackendAddresses: { serializedName: "properties.loadBalancerBackendAddresses", type: { @@ -2567,6 +2616,13 @@ export const NetworkInterfaceIPConfiguration: msRest.CompositeMapper = { className: "NetworkInterfaceIPConfiguration", modelProperties: { ...SubResource.type.modelProperties, + gatewayLoadBalancer: { + serializedName: "properties.gatewayLoadBalancer", + type: { + name: "Composite", + className: "SubResource" + } + }, virtualNetworkTaps: { serializedName: "properties.virtualNetworkTaps", type: { @@ -6874,6 +6930,38 @@ export const CustomIpPrefix: msRest.CompositeMapper = { name: "String" } }, + signedMessage: { + serializedName: "properties.signedMessage", + type: { + name: "String" + } + }, + authorizationMessage: { + serializedName: "properties.authorizationMessage", + type: { + name: "String" + } + }, + customIpPrefixParent: { + serializedName: "properties.customIpPrefixParent", + type: { + name: "Composite", + className: "CustomIpPrefix" + } + }, + childCustomIpPrefixes: { + readOnly: true, + serializedName: "properties.childCustomIpPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "CustomIpPrefix" + } + } + } + }, commissionedState: { serializedName: "properties.commissionedState", type: { @@ -6900,6 +6988,13 @@ export const CustomIpPrefix: msRest.CompositeMapper = { name: "String" } }, + failedReason: { + readOnly: true, + serializedName: "properties.failedReason", + type: { + name: "String" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -10138,6 +10233,18 @@ export const LoadBalancingRule: msRest.CompositeMapper = { className: "SubResource" } }, + backendAddressPools: { + serializedName: "properties.backendAddressPools", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, probe: { serializedName: "properties.probe", type: { @@ -10614,6 +10721,51 @@ export const LoadBalancer: msRest.CompositeMapper = { } }; +export const LoadBalancerVipSwapRequestFrontendIPConfiguration: msRest.CompositeMapper = { + serializedName: "LoadBalancerVipSwapRequestFrontendIPConfiguration", + type: { + name: "Composite", + className: "LoadBalancerVipSwapRequestFrontendIPConfiguration", + modelProperties: { + id: { + serializedName: "id", + type: { + name: "String" + } + }, + publicIPAddress: { + serializedName: "properties.publicIPAddress", + type: { + name: "Composite", + className: "SubResource" + } + } + } + } +}; + +export const LoadBalancerVipSwapRequest: msRest.CompositeMapper = { + serializedName: "LoadBalancerVipSwapRequest", + type: { + name: "Composite", + className: "LoadBalancerVipSwapRequest", + modelProperties: { + frontendIPConfigurations: { + serializedName: "frontendIPConfigurations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerVipSwapRequestFrontendIPConfiguration" + } + } + } + } + } + } +}; + export const NatGatewaySku: msRest.CompositeMapper = { serializedName: "NatGatewaySku", type: { @@ -16606,6 +16758,13 @@ export const VirtualNetworkPeering: msRest.CompositeMapper = { className: "AddressSpace" } }, + remoteVirtualNetworkAddressSpace: { + serializedName: "properties.remoteVirtualNetworkAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, remoteBgpCommunities: { serializedName: "properties.remoteBgpCommunities", type: { @@ -16619,6 +16778,12 @@ export const VirtualNetworkPeering: msRest.CompositeMapper = { name: "String" } }, + peeringSyncLevel: { + serializedName: "properties.peeringSyncLevel", + type: { + name: "String" + } + }, provisioningState: { readOnly: true, serializedName: "properties.provisioningState", @@ -16750,6 +16915,12 @@ export const VirtualNetwork: msRest.CompositeMapper = { className: "DhcpOptions" } }, + flowTimeoutInMinutes: { + serializedName: "properties.flowTimeoutInMinutes", + type: { + name: "Number" + } + }, subnets: { serializedName: "properties.subnets", type: { @@ -17079,6 +17250,102 @@ export const VirtualNetworkGatewayIPConfiguration: msRest.CompositeMapper = { } }; +export const VpnNatRuleMapping: msRest.CompositeMapper = { + serializedName: "VpnNatRuleMapping", + type: { + name: "Composite", + className: "VpnNatRuleMapping", + modelProperties: { + addressSpace: { + serializedName: "addressSpace", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetworkGatewayNatRule: msRest.CompositeMapper = { + serializedName: "VirtualNetworkGatewayNatRule", + type: { + name: "Composite", + className: "VirtualNetworkGatewayNatRule", + modelProperties: { + ...SubResource.type.modelProperties, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + virtualNetworkGatewayNatRulePropertiesType: { + 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" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + }, + type: { + readOnly: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const VirtualNetworkGatewaySku: msRest.CompositeMapper = { serializedName: "VirtualNetworkGatewaySku", type: { @@ -17742,8 +18009,26 @@ export const VirtualNetworkGateway: msRest.CompositeMapper = { name: "String" } }, - virtualNetworkExtendedLocation: { - serializedName: "properties.virtualNetworkExtendedLocation", + natRules: { + serializedName: "properties.natRules", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkGatewayNatRule" + } + } + } + }, + enableBgpRouteTranslationForNat: { + serializedName: "properties.enableBgpRouteTranslationForNat", + type: { + name: "Boolean" + } + }, + extendedLocation: { + serializedName: "extendedLocation", type: { name: "Composite", className: "ExtendedLocation" @@ -17996,7 +18281,6 @@ export const VirtualNetworkGatewayConnection: msRest.CompositeMapper = { virtualNetworkGateway1: { required: true, serializedName: "properties.virtualNetworkGateway1", - defaultValue: {}, type: { name: "Composite", className: "VirtualNetworkGateway" @@ -18016,6 +18300,30 @@ export const VirtualNetworkGatewayConnection: msRest.CompositeMapper = { className: "LocalNetworkGateway" } }, + 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" + } + } + } + }, connectionType: { required: true, serializedName: "properties.connectionType", @@ -19672,6 +19980,12 @@ export const VirtualHub: msRest.CompositeMapper = { name: "Boolean" } }, + preferredRoutingGateway: { + serializedName: "properties.preferredRoutingGateway", + type: { + name: "String" + } + }, etag: { readOnly: true, serializedName: "etag", @@ -20146,22 +20460,6 @@ 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: { @@ -21632,7 +21930,6 @@ export const PolicySettings: msRest.CompositeMapper = { maxRequestBodySizeInKb: { serializedName: "maxRequestBodySizeInKb", constraints: { - InclusiveMaximum: 128, InclusiveMinimum: 8 }, type: { @@ -24327,6 +24624,34 @@ export const LocalNetworkGatewayListResult: msRest.CompositeMapper = { } }; +export const ListVirtualNetworkGatewayNatRulesResult: msRest.CompositeMapper = { + serializedName: "ListVirtualNetworkGatewayNatRulesResult", + type: { + name: "Composite", + className: "ListVirtualNetworkGatewayNatRulesResult", + modelProperties: { + value: { + serializedName: "", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkGatewayNatRule" + } + } + } + }, + nextLink: { + serializedName: "nextLink", + type: { + name: "String" + } + } + } + } +}; + export const VirtualNetworkTapListResult: msRest.CompositeMapper = { serializedName: "VirtualNetworkTapListResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index 1ba72d8e16da..da6fb6fa6c8c 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/natRulesMappers.ts b/sdk/network/arm-network/src/models/natRulesMappers.ts index 174700e4a753..bcca5775aad8 100644 --- a/sdk/network/arm-network/src/models/natRulesMappers.ts +++ b/sdk/network/arm-network/src/models/natRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index ee37f6a709b9..373183d39518 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index 25508c661594..d82a711f4a9b 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 5d7ec36380a2..fa20115544e0 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index 76b8439a890e..8415f12c095b 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -167,6 +167,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -291,6 +292,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index b50182d2eabc..04d20046089b 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index 4b3339d7b590..627b3f25def6 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index 7cbcdbe275ba..e74262987fed 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index 5793839ad28f..25b50d0add97 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -182,6 +182,7 @@ export { FlowLogInformation, FlowLogStatusParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HopLink, HTTPConfiguration, HTTPHeader, @@ -334,6 +335,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index 8098108828c3..3c60186aba95 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -288,6 +289,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index e2f61757d3af..f1c8c3f18c71 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-11-01', + defaultValue: '2021-02-01', type: { name: "String" } @@ -895,6 +895,18 @@ export const subscriptionId: msRest.OperationURLParameter = { } } }; +export const syncRemoteAddressSpace: msRest.OperationQueryParameter = { + parameterPath: [ + "options", + "syncRemoteAddressSpace" + ], + mapper: { + serializedName: "syncRemoteAddressSpace", + type: { + name: "String" + } + } +}; export const tapConfigurationName: msRest.OperationURLParameter = { parameterPath: "tapConfigurationName", mapper: { diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index e872e0090d52..12b4f9bf2a2c 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index 9c96585cef15..7c3d678b3dc8 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -163,6 +163,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index 35b2e8ec03bb..ef8818a7d366 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index 0f0b5fc094e3..011cbfda71f6 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -166,6 +166,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -290,6 +291,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index e4850cc7c5bd..361e4e8ef165 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index 1d9a6be528f7..7f46a3ce3d35 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index 812662e42521..cf240de27b90 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index 2e3118d2b827..55cff99477ff 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 0c0cb77502c1..76bd50827e0d 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 2cafcb89d48a..7c8aaef7dd91 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index 6b8abbcaa7c5..ebd7e806ec0c 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index c823f07005e6..bb78738f4369 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index c1e6c1a3fbc7..529b268cd07d 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index feeacad26c99..2f94bef6d1b6 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index 87d55e4c0ac8..8194db6f0d9d 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index 29364c04a5f6..8aa700870528 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 43b1a3a6c2f4..d34a2675ef84 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -286,6 +287,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts index 10493dc8eb8a..4831a95e4e85 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSitesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts index 0f8151365ec5..319327c716ae 100644 --- a/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts +++ b/sdk/network/arm-network/src/models/virtualApplianceSkusMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts index fc1036897ffc..95b1de2b68bc 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -282,6 +283,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts index fe047edab691..866d2862d8ef 100644 --- a/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubBgpConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts index c3e18455173a..7b2575a840ca 100644 --- a/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubIpConfigurationMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index aab4ab8bdaf5..7143ac47ad59 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -163,6 +163,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index e956302e95ff..6335090f24a3 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index d3ae0412d019..8803dde56f19 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -165,6 +165,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -288,6 +289,7 @@ export { VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayConnectionListResult, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts new file mode 100644 index 000000000000..c92c342c1efe --- /dev/null +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayNatRulesMappers.ts @@ -0,0 +1,317 @@ +/* + * 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, + FirewallPolicyInsights, + FirewallPolicyIntrusionDetection, + FirewallPolicyIntrusionDetectionBypassTrafficSpecifications, + FirewallPolicyIntrusionDetectionConfiguration, + FirewallPolicyIntrusionDetectionSignatureSpecification, + FirewallPolicyLogAnalyticsResources, + FirewallPolicyLogAnalyticsWorkspace, + FirewallPolicyNatRuleCollection, + FirewallPolicyNatRuleCollectionAction, + FirewallPolicyRule, + FirewallPolicyRuleApplicationProtocol, + FirewallPolicyRuleCollection, + FirewallPolicyRuleCollectionGroup, + FirewallPolicySku, + FirewallPolicySNAT, + FirewallPolicyThreatIntelWhitelist, + FirewallPolicyTransportSecurity, + FlowLog, + FlowLogFormatParameters, + FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, + HTTPHeader, + HubIPAddresses, + HubIpConfiguration, + HubPublicIPAddresses, + HubRoute, + HubRouteTable, + HubVirtualNetworkConnection, + InboundNatPool, + InboundNatRule, + InboundSecurityRule, + InboundSecurityRules, + IpAllocation, + IPConfiguration, + IPConfigurationBgpPeeringAddress, + IPConfigurationProfile, + IpGroup, + IpsecPolicy, + IpTag, + Ipv6CircuitConnectionConfig, + Ipv6ExpressRouteCircuitPeeringConfig, + ListVirtualNetworkGatewayNatRulesResult, + 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, + VirtualNetworkGatewayNatRule, + 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/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index a7bd84a9d894..59655aa0ebab 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -165,6 +165,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, GatewayRoute, GatewayRouteListResult, HTTPHeader, @@ -292,6 +293,7 @@ export { VirtualNetworkGatewayIPConfiguration, VirtualNetworkGatewayListConnectionsResult, VirtualNetworkGatewayListResult, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index 4133de24be16..82f06a226d85 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -282,6 +283,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkPeeringListResult, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index dd649659f0de..f9102dfdc59b 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index aaf7273937a5..269bac496226 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkListResult, VirtualNetworkListUsageResult, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index 1aca8affa674..2685ae15552d 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index 6cf84d50bdbf..b19ba8de6c0a 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -162,6 +162,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index 2e3573de55e4..98d71a624fee 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 336a13d221c0..1402c1726b74 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index f2b8aec5a4b1..dd9ca55e1fd9 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index da28cfa5c961..bc0a844f6ce0 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -163,6 +163,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -285,6 +286,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index ea7a862817bc..3c40e012a802 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index fc1036897ffc..95b1de2b68bc 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -282,6 +283,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 7b48d08801e7..01c9c8836b8a 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -283,6 +284,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index 8b0b0b1a9d2e..ac603b3ed2df 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -284,6 +285,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index 3d1f923c65d2..5805646e1ae2 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -161,6 +161,7 @@ export { FlowLog, FlowLogFormatParameters, FrontendIPConfiguration, + GatewayLoadBalancerTunnelInterface, HTTPHeader, HubIPAddresses, HubIpConfiguration, @@ -282,6 +283,7 @@ export { VirtualNetworkGatewayConnection, VirtualNetworkGatewayConnectionListEntity, VirtualNetworkGatewayIPConfiguration, + VirtualNetworkGatewayNatRule, VirtualNetworkGatewaySku, VirtualNetworkPeering, VirtualNetworkTap, diff --git a/sdk/network/arm-network/src/networkManagementClient.ts b/sdk/network/arm-network/src/networkManagementClient.ts index cca010a83adc..158c0c0390e3 100644 --- a/sdk/network/arm-network/src/networkManagementClient.ts +++ b/sdk/network/arm-network/src/networkManagementClient.ts @@ -99,6 +99,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { virtualNetworkGateways: operations.VirtualNetworkGateways; virtualNetworkGatewayConnections: operations.VirtualNetworkGatewayConnections; localNetworkGateways: operations.LocalNetworkGateways; + virtualNetworkGatewayNatRules: operations.VirtualNetworkGatewayNatRules; virtualNetworkTaps: operations.VirtualNetworkTaps; virtualRouters: operations.VirtualRouters; virtualRouterPeerings: operations.VirtualRouterPeerings; @@ -215,6 +216,7 @@ class NetworkManagementClient extends NetworkManagementClientContext { this.virtualNetworkGateways = new operations.VirtualNetworkGateways(this); this.virtualNetworkGatewayConnections = new operations.VirtualNetworkGatewayConnections(this); this.localNetworkGateways = new operations.LocalNetworkGateways(this); + this.virtualNetworkGatewayNatRules = new operations.VirtualNetworkGatewayNatRules(this); this.virtualNetworkTaps = new operations.VirtualNetworkTaps(this); this.virtualRouters = new operations.VirtualRouters(this); this.virtualRouterPeerings = new operations.VirtualRouterPeerings(this); diff --git a/sdk/network/arm-network/src/networkManagementClientContext.ts b/sdk/network/arm-network/src/networkManagementClientContext.ts index 1271b5d39e4a..30d913d55203 100644 --- a/sdk/network/arm-network/src/networkManagementClientContext.ts +++ b/sdk/network/arm-network/src/networkManagementClientContext.ts @@ -26,42 +26,35 @@ export class NetworkManagementClientContext extends msRestAzure.AzureServiceClie * subscription. The subscription ID forms part of the URI for every service call. * @param [options] The parameter options */ - constructor( - credentials: msRest.ServiceClientCredentials, - subscriptionId: string, - options?: Models.NetworkManagementClientOptions - ) { + constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.NetworkManagementClientOptions) { if (credentials == undefined) { - throw new Error("'credentials' cannot be null."); + throw new Error('\'credentials\' cannot be null.'); } if (subscriptionId == undefined) { - throw new Error("'subscriptionId' cannot be null."); + throw new Error('\'subscriptionId\' cannot be null.'); } if (!options) { options = {}; } - if (!options.userAgent) { + if(!options.userAgent) { const defaultUserAgent = msRestAzure.getDefaultUserAgentValue(); options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`; } super(credentials, options); - this.acceptLanguage = "en-US"; + this.acceptLanguage = 'en-US'; this.longRunningOperationRetryTimeout = 30; this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com"; this.requestContentType = "application/json; charset=utf-8"; this.credentials = credentials; this.subscriptionId = subscriptionId; - if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) { + if(options.acceptLanguage !== null && options.acceptLanguage !== undefined) { this.acceptLanguage = options.acceptLanguage; } - if ( - options.longRunningOperationRetryTimeout !== null && - options.longRunningOperationRetryTimeout !== undefined - ) { + if(options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) { this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout; } } diff --git a/sdk/network/arm-network/src/operations/index.ts b/sdk/network/arm-network/src/operations/index.ts index 5e23f4aa5643..99d7960fd45f 100644 --- a/sdk/network/arm-network/src/operations/index.ts +++ b/sdk/network/arm-network/src/operations/index.ts @@ -88,6 +88,7 @@ export * from "./virtualNetworkPeerings"; export * from "./virtualNetworkGateways"; export * from "./virtualNetworkGatewayConnections"; export * from "./localNetworkGateways"; +export * from "./virtualNetworkGatewayNatRules"; export * from "./virtualNetworkTaps"; export * from "./virtualRouters"; export * from "./virtualRouterPeerings"; diff --git a/sdk/network/arm-network/src/operations/loadBalancers.ts b/sdk/network/arm-network/src/operations/loadBalancers.ts index 144a1af196be..dbcf29300e60 100644 --- a/sdk/network/arm-network/src/operations/loadBalancers.ts +++ b/sdk/network/arm-network/src/operations/loadBalancers.ts @@ -171,6 +171,18 @@ export class LoadBalancers { callback) as Promise; } + /** + * Swaps VIPs between two load balancers. + * @param location The region where load balancers are located at. + * @param parameters Parameters that define which VIPs should be swapped. + * @param [options] The optional parameters + * @returns Promise + */ + swapPublicIpAddresses(location: string, parameters: Models.LoadBalancerVipSwapRequest, options?: msRest.RequestOptionsBase): Promise { + return this.beginSwapPublicIpAddresses(location,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + /** * Deletes the specified load balancer. * @param resourceGroupName The name of the resource group. @@ -209,6 +221,24 @@ export class LoadBalancers { options); } + /** + * Swaps VIPs between two load balancers. + * @param location The region where load balancers are located at. + * @param parameters Parameters that define which VIPs should be swapped. + * @param [options] The optional parameters + * @returns Promise + */ + beginSwapPublicIpAddresses(location: string, parameters: Models.LoadBalancerVipSwapRequest, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + location, + parameters, + options + }, + beginSwapPublicIpAddressesOperationSpec, + options); + } + /** * Gets all the load balancers in a subscription. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -433,6 +463,36 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { serializer }; +const beginSwapPublicIpAddressesOperationSpec: msRest.OperationSpec = { + httpMethod: "POST", + path: "subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses", + urlParameters: [ + Parameters.location0, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.LoadBalancerVipSwapRequest, + required: true + } + }, + responses: { + 200: {}, + 202: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listAllNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com", diff --git a/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.ts new file mode 100644 index 000000000000..2c581039ce79 --- /dev/null +++ b/sdk/network/arm-network/src/operations/virtualNetworkGatewayNatRules.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/virtualNetworkGatewayNatRulesMappers"; +import * as Parameters from "../models/parameters"; +import { NetworkManagementClientContext } from "../networkManagementClientContext"; + +/** Class representing a VirtualNetworkGatewayNatRules. */ +export class VirtualNetworkGatewayNatRules { + private readonly client: NetworkManagementClientContext; + + /** + * Create a VirtualNetworkGatewayNatRules. + * @param {NetworkManagementClientContext} client Reference to the service client. + */ + constructor(client: NetworkManagementClientContext) { + this.client = client; + } + + /** + * Retrieves the details of a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param callback The callback + */ + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName 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, virtualNetworkGatewayName: string, natRuleName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + get(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + options + }, + getOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + * existing nat rules. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName 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, virtualNetworkGatewayName: string, natRuleName: string, natRuleParameters: Models.VirtualNetworkGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,virtualNetworkGatewayName,natRuleName,natRuleParameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,virtualNetworkGatewayName,natRuleName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Retrieves all nat rules for a particular virtual network gateway. + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param callback The callback + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, callback: msRest.ServiceCallback): void; + /** + * @param resourceGroupName The resource group name of the virtual network gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param options The optional parameters + * @param callback The callback + */ + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVirtualNetworkGateway(resourceGroupName: string, virtualNetworkGatewayName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + resourceGroupName, + virtualNetworkGatewayName, + options + }, + listByVirtualNetworkGatewayOperationSpec, + callback) as Promise; + } + + /** + * Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the + * existing nat rules. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName 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, virtualNetworkGatewayName: string, natRuleName: string, natRuleParameters: Models.VirtualNetworkGatewayNatRule, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + natRuleParameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes a nat rule. + * @param resourceGroupName The resource group name of the Virtual Network Gateway. + * @param virtualNetworkGatewayName The name of the gateway. + * @param natRuleName The name of the nat rule. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, virtualNetworkGatewayName: string, natRuleName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + virtualNetworkGatewayName, + natRuleName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + + /** + * Retrieves all nat rules for a particular virtual network gateway. + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param [options] The optional parameters + * @returns Promise + */ + listByVirtualNetworkGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise; + /** + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param callback The callback + */ + listByVirtualNetworkGatewayNext(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 + */ + listByVirtualNetworkGatewayNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback): void; + listByVirtualNetworkGatewayNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback, callback?: msRest.ServiceCallback): Promise { + return this.client.sendOperationRequest( + { + nextPageLink, + options + }, + listByVirtualNetworkGatewayNextOperationSpec, + 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/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualNetworkGatewayOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualNetworkGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "natRuleParameters", + mapper: { + ...Mappers.VirtualNetworkGatewayNatRule, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + 201: { + bodyMapper: Mappers.VirtualNetworkGatewayNatRule + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", + urlParameters: [ + Parameters.subscriptionId, + Parameters.resourceGroupName, + Parameters.virtualNetworkGatewayName, + Parameters.natRuleName + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const listByVirtualNetworkGatewayNextOperationSpec: msRest.OperationSpec = { + httpMethod: "GET", + baseUrl: "https://management.azure.com", + path: "{nextLink}", + urlParameters: [ + Parameters.nextPageLink + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: { + bodyMapper: Mappers.ListVirtualNetworkGatewayNatRulesResult + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; diff --git a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts index badd47438967..d367ad03fcf3 100644 --- a/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts +++ b/sdk/network/arm-network/src/operations/virtualNetworkPeerings.ts @@ -85,7 +85,7 @@ export class VirtualNetworkPeerings { * @param [options] The optional parameters * @returns Promise */ - createOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: msRest.RequestOptionsBase): Promise { + createOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: Models.VirtualNetworkPeeringsCreateOrUpdateOptionalParams): Promise { return this.beginCreateOrUpdate(resourceGroupName,virtualNetworkName,virtualNetworkPeeringName,virtualNetworkPeeringParameters,options) .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; } @@ -152,7 +152,7 @@ export class VirtualNetworkPeerings { * @param [options] The optional parameters * @returns Promise */ - beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: msRest.RequestOptionsBase): Promise { + beginCreateOrUpdate(resourceGroupName: string, virtualNetworkName: string, virtualNetworkPeeringName: string, virtualNetworkPeeringParameters: Models.VirtualNetworkPeering, options?: Models.VirtualNetworkPeeringsBeginCreateOrUpdateOptionalParams): Promise { return this.client.sendLRORequest( { resourceGroupName, @@ -283,6 +283,7 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { Parameters.subscriptionId ], queryParameters: [ + Parameters.syncRemoteAddressSpace, Parameters.apiVersion0 ], headerParameters: [