diff --git a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts index a743d35514f8..1a22c3531d01 100644 --- a/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/applicationGatewaysMappers.ts @@ -160,6 +160,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts index bfe9b81543ff..fd36b011a280 100644 --- a/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/applicationSecurityGroupsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts index 764028fdf0c8..5bbe35c086b0 100644 --- a/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts +++ b/sdk/network/arm-network/src/models/availableEndpointServicesMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts index d4566683a692..188c98a4682f 100644 --- a/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallFqdnTagsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts index 6562477dfd24..879ca507f0f4 100644 --- a/sdk/network/arm-network/src/models/azureFirewallsMappers.ts +++ b/sdk/network/arm-network/src/models/azureFirewallsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/bastionHostsMappers.ts b/sdk/network/arm-network/src/models/bastionHostsMappers.ts index b5e7d8a7d551..b9005aae817e 100644 --- a/sdk/network/arm-network/src/models/bastionHostsMappers.ts +++ b/sdk/network/arm-network/src/models/bastionHostsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts index fbaa408fe882..e8e3ddb3cad5 100644 --- a/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts +++ b/sdk/network/arm-network/src/models/bgpServiceCommunitiesMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts index fde45adf0cca..14d461c4977e 100644 --- a/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts +++ b/sdk/network/arm-network/src/models/connectionMonitorsMappers.ts @@ -156,6 +156,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts index f42fcb7d0110..c750080f8c8f 100644 --- a/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/ddosCustomPoliciesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts index 011133dbbec7..c44f0f7a385b 100644 --- a/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts +++ b/sdk/network/arm-network/src/models/ddosProtectionPlansMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts index 55421c40df1e..5768daaebbc3 100644 --- a/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/defaultSecurityRulesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts index 48f975231608..f533066853fd 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitAuthorizationsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts index 038cf366d0f8..a36a459eb134 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitConnectionsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts index 14817fda65d6..a8724421e6c5 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitPeeringsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts index b4f1290f9359..7b82c7a9bfe2 100644 --- a/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCircuitsMappers.ts @@ -156,6 +156,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts index 2123dfbe2f0e..864bd4fbb10b 100644 --- a/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteConnectionsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts index 74e59cf786c2..f27f8c83b19d 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionPeeringsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts index c89b179725de..a064448ea7be 100644 --- a/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteCrossConnectionsMappers.ts @@ -156,6 +156,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts index a7fb578bbed2..ea0dede8e196 100644 --- a/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteGatewaysMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts index 32f22bc8209b..744b77f63925 100644 --- a/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteLinksMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts index bd9002c59119..ae83a5f8973b 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsLocationsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts index 0128a576a1a5..3917e1f637e9 100644 --- a/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts +++ b/sdk/network/arm-network/src/models/expressRoutePortsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts index 8971d651003b..e73bcd1ef77e 100644 --- a/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/expressRouteServiceProvidersMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts index 47e2adf36ef1..e17914f07755 100644 --- a/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPoliciesMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts index 1134198e3984..7a3266d30165 100644 --- a/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/firewallPolicyRuleGroupsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/flowLogsMappers.ts b/sdk/network/arm-network/src/models/flowLogsMappers.ts index bb80362e73cf..14ec22278f36 100644 --- a/sdk/network/arm-network/src/models/flowLogsMappers.ts +++ b/sdk/network/arm-network/src/models/flowLogsMappers.ts @@ -151,6 +151,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts index 4f52f8e49028..82905a4210ba 100644 --- a/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/hubVirtualNetworkConnectionsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListHubVirtualNetworkConnectionsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts index cb9c718ff875..0fca21122c23 100644 --- a/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts +++ b/sdk/network/arm-network/src/models/inboundNatRulesMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/index.ts b/sdk/network/arm-network/src/models/index.ts index 297a556c5d6b..0a8b0033cd1d 100644 --- a/sdk/network/arm-network/src/models/index.ts +++ b/sdk/network/arm-network/src/models/index.ts @@ -1311,6 +1311,185 @@ export interface VirtualNetworkTap extends Resource { readonly etag?: string; } +/** + * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual + * network. + */ +export interface AddressSpace { + /** + * A list of address blocks reserved for this virtual network in CIDR notation. + */ + addressPrefixes?: string[]; +} + +/** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. + * Standard DHCP option for a subnet overrides VNET DHCP options. + */ +export interface DhcpOptions { + /** + * The list of DNS servers IP addresses. + */ + dnsServers?: string[]; +} + +/** + * Peerings in a virtual network resource. + */ +export interface VirtualNetworkPeering extends SubResource { + /** + * Whether the VMs in the local virtual network space would be able to access the VMs in remote + * virtual network space. + */ + allowVirtualNetworkAccess?: boolean; + /** + * Whether the forwarded traffic from the VMs in the local virtual network will be + * allowed/disallowed in remote virtual network. + */ + allowForwardedTraffic?: boolean; + /** + * If gateway links can be used in remote virtual networking to link to this virtual network. + */ + allowGatewayTransit?: boolean; + /** + * If remote gateways can be used on this virtual network. If the flag is set to true, and + * allowGatewayTransit on remote peering is also true, virtual network will use gateways of + * remote virtual network for transit. Only one peering can have this flag set to true. This flag + * cannot be set if virtual network already has a gateway. + */ + useRemoteGateways?: boolean; + /** + * The reference to the remote virtual network. The remote virtual network can be in the same or + * different region (preview). See here to register for the preview and learn more + * (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). + */ + remoteVirtualNetwork?: SubResource; + /** + * The reference to the remote virtual network address space. + */ + remoteAddressSpace?: AddressSpace; + /** + * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', + * 'Disconnected' + */ + peeringState?: VirtualNetworkPeeringState; + /** + * The provisioning state of the virtual network peering resource. Possible values include: + * 'Succeeded', 'Updating', 'Deleting', 'Failed' + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly provisioningState?: ProvisioningState; + /** + * The name of the resource that is unique within a resource group. This name can be used to + * access the resource. + */ + name?: string; + /** + * A unique read-only string that changes whenever the resource is updated. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly etag?: string; +} + +/** + * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + */ +export interface VirtualNetworkBgpCommunities { + /** + * The BGP community associated with the virtual network. + */ + virtualNetworkCommunity: string; + /** + * The BGP community associated with the region of the virtual network. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly regionalCommunity?: string; +} + +/** + * Virtual Network resource. + */ +export interface VirtualNetwork extends Resource { + /** + * The AddressSpace that contains an array of IP address ranges that can be used by subnets. + */ + addressSpace?: AddressSpace; + /** + * The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual + * network. + */ + dhcpOptions?: DhcpOptions; + /** + * A list of subnets in a Virtual Network. + */ + subnets?: Subnet[]; + /** + * A list of peerings in a Virtual Network. + */ + virtualNetworkPeerings?: VirtualNetworkPeering[]; + /** + * The resourceGuid property of the Virtual Network resource. + * **NOTE: This property will not be serialized. It can only be populated by the server.** + */ + readonly resourceGuid?: string; + /** + * The provisioning state of the virtual network 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; + /** + * Indicates if DDoS protection is enabled for all the protected resources in the virtual + * network. It requires a DDoS protection plan associated with the resource. Default value: + * false. + */ + enableDdosProtection?: boolean; + /** + * Indicates if VM protection is enabled for all the subnets in the virtual network. Default + * value: false. + */ + enableVmProtection?: boolean; + /** + * The DDoS protection plan associated with the virtual network. + */ + ddosProtectionPlan?: SubResource; + /** + * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. + */ + bgpCommunities?: VirtualNetworkBgpCommunities; + /** + * Array of IpAllocation which reference this VNET. + */ + ipAllocations?: SubResource[]; + /** + * 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; +} + +/** + * Load balancer backend addresses. + */ +export interface LoadBalancerBackendAddress { + /** + * Reference to an existing virtual network. + */ + virtualNetwork?: VirtualNetwork; + /** + * IP Address belonging to the referenced virtual network. + */ + ipAddress?: string; + /** + * Reference to IP address defined in network interfaces. + */ + networkInterfaceIPConfiguration?: NetworkInterfaceIPConfiguration; + /** + * Name of the backend address. + */ + name?: string; +} + /** * Pool of backend IP addresses. */ @@ -1320,6 +1499,10 @@ export interface BackendAddressPool extends SubResource { * **NOTE: This property will not be serialized. It can only be populated by the server.** */ readonly backendIPConfigurations?: NetworkInterfaceIPConfiguration[]; + /** + * An array of backend addresses. + */ + loadBalancerBackendAddresses?: LoadBalancerBackendAddress[]; /** * An array of references to load balancing rules that use this backend address pool. * **NOTE: This property will not be serialized. It can only be populated by the server.** @@ -8534,75 +8717,6 @@ export interface Usage { name: UsageName; } -/** - * AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual - * network. - */ -export interface AddressSpace { - /** - * A list of address blocks reserved for this virtual network in CIDR notation. - */ - addressPrefixes?: string[]; -} - -/** - * Peerings in a virtual network resource. - */ -export interface VirtualNetworkPeering extends SubResource { - /** - * Whether the VMs in the local virtual network space would be able to access the VMs in remote - * virtual network space. - */ - allowVirtualNetworkAccess?: boolean; - /** - * Whether the forwarded traffic from the VMs in the local virtual network will be - * allowed/disallowed in remote virtual network. - */ - allowForwardedTraffic?: boolean; - /** - * If gateway links can be used in remote virtual networking to link to this virtual network. - */ - allowGatewayTransit?: boolean; - /** - * If remote gateways can be used on this virtual network. If the flag is set to true, and - * allowGatewayTransit on remote peering is also true, virtual network will use gateways of - * remote virtual network for transit. Only one peering can have this flag set to true. This flag - * cannot be set if virtual network already has a gateway. - */ - useRemoteGateways?: boolean; - /** - * The reference to the remote virtual network. The remote virtual network can be in the same or - * different region (preview). See here to register for the preview and learn more - * (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering). - */ - remoteVirtualNetwork?: SubResource; - /** - * The reference to the remote virtual network address space. - */ - remoteAddressSpace?: AddressSpace; - /** - * The status of the virtual network peering. Possible values include: 'Initiated', 'Connected', - * 'Disconnected' - */ - peeringState?: VirtualNetworkPeeringState; - /** - * The provisioning state of the virtual network peering resource. Possible values include: - * 'Succeeded', 'Updating', 'Deleting', 'Failed' - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly provisioningState?: ProvisioningState; - /** - * The name of the resource that is unique within a resource group. This name can be used to - * access the resource. - */ - name?: string; - /** - * A unique read-only string that changes whenever the resource is updated. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly etag?: string; -} - /** * Response for ResourceNavigationLinks_List operation. */ @@ -8633,94 +8747,6 @@ export interface ServiceAssociationLinksListResult { readonly nextLink?: string; } -/** - * DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. - * Standard DHCP option for a subnet overrides VNET DHCP options. - */ -export interface DhcpOptions { - /** - * The list of DNS servers IP addresses. - */ - dnsServers?: string[]; -} - -/** - * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - */ -export interface VirtualNetworkBgpCommunities { - /** - * The BGP community associated with the virtual network. - */ - virtualNetworkCommunity: string; - /** - * The BGP community associated with the region of the virtual network. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly regionalCommunity?: string; -} - -/** - * Virtual Network resource. - */ -export interface VirtualNetwork extends Resource { - /** - * The AddressSpace that contains an array of IP address ranges that can be used by subnets. - */ - addressSpace?: AddressSpace; - /** - * The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual - * network. - */ - dhcpOptions?: DhcpOptions; - /** - * A list of subnets in a Virtual Network. - */ - subnets?: Subnet[]; - /** - * A list of peerings in a Virtual Network. - */ - virtualNetworkPeerings?: VirtualNetworkPeering[]; - /** - * The resourceGuid property of the Virtual Network resource. - * **NOTE: This property will not be serialized. It can only be populated by the server.** - */ - readonly resourceGuid?: string; - /** - * The provisioning state of the virtual network 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; - /** - * Indicates if DDoS protection is enabled for all the protected resources in the virtual - * network. It requires a DDoS protection plan associated with the resource. Default value: - * false. - */ - enableDdosProtection?: boolean; - /** - * Indicates if VM protection is enabled for all the subnets in the virtual network. Default - * value: false. - */ - enableVmProtection?: boolean; - /** - * The DDoS protection plan associated with the virtual network. - */ - ddosProtectionPlan?: SubResource; - /** - * Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. - */ - bgpCommunities?: VirtualNetworkBgpCommunities; - /** - * Array of IpAllocation which reference this VNET. - */ - ipAllocations?: SubResource[]; - /** - * 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; -} - /** * Response for CheckIPAddressAvailability API service call. */ @@ -12763,6 +12789,14 @@ export type PublicIPAddressSkuName = 'Basic' | 'Standard'; */ export type DdosSettingsProtectionCoverage = 'Basic' | 'Standard'; +/** + * Defines values for VirtualNetworkPeeringState. + * Possible values include: 'Initiated', 'Connected', 'Disconnected' + * @readonly + * @enum {string} + */ +export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; + /** * Defines values for TransportProtocol. * Possible values include: 'Udp', 'Tcp', 'All' @@ -13439,14 +13473,6 @@ export type SecurityProviderName = 'ZScaler' | 'IBoss' | 'Checkpoint'; */ export type SecurityPartnerProviderConnectionStatus = 'Unknown' | 'PartiallyConnected' | 'Connected' | 'NotConnected'; -/** - * Defines values for VirtualNetworkPeeringState. - * Possible values include: 'Initiated', 'Connected', 'Disconnected' - * @readonly - * @enum {string} - */ -export type VirtualNetworkPeeringState = 'Initiated' | 'Connected' | 'Disconnected'; - /** * Defines values for VirtualNetworkGatewayType. * Possible values include: 'Vpn', 'ExpressRoute' @@ -17558,6 +17584,46 @@ export type LoadBalancerBackendAddressPoolsGetResponse = BackendAddressPool & { }; }; +/** + * Contains response data for the createOrUpdate operation. + */ +export type LoadBalancerBackendAddressPoolsCreateOrUpdateResponse = BackendAddressPool & { + /** + * 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: BackendAddressPool; + }; +}; + +/** + * Contains response data for the beginCreateOrUpdate operation. + */ +export type LoadBalancerBackendAddressPoolsBeginCreateOrUpdateResponse = BackendAddressPool & { + /** + * 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: BackendAddressPool; + }; +}; + /** * Contains response data for the listNext operation. */ diff --git a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts index c4c7544e6d7b..573d0cb5688e 100644 --- a/sdk/network/arm-network/src/models/ipAllocationsMappers.ts +++ b/sdk/network/arm-network/src/models/ipAllocationsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/ipGroupsMappers.ts b/sdk/network/arm-network/src/models/ipGroupsMappers.ts index 2836d5614c36..32504f2990ce 100644 --- a/sdk/network/arm-network/src/models/ipGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/ipGroupsMappers.ts @@ -151,6 +151,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts index 3b789c69b7ab..e969c964996d 100644 --- a/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerBackendAddressPoolsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerBackendAddressPoolListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts index 26b026a89e74..7303a7c2b5ba 100644 --- a/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerFrontendIPConfigurationsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerFrontendIPConfigurationListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts index deb07efede08..0f2af7434462 100644 --- a/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerLoadBalancingRulesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerLoadBalancingRuleListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts index 20038be54b13..a7b73b66c93e 100644 --- a/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerNetworkInterfacesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts index 00d4228c58be..c5ac743ae4c6 100644 --- a/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerOutboundRulesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerOutboundRuleListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts index da2767813aef..cab72508234b 100644 --- a/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancerProbesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerProbeListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/loadBalancersMappers.ts b/sdk/network/arm-network/src/models/loadBalancersMappers.ts index fc3b6806d036..043abe54f2b0 100644 --- a/sdk/network/arm-network/src/models/loadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/loadBalancersMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerListResult, LoadBalancerSku, LoadBalancingRule, diff --git a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts index 81ca5b153493..89d56404e95c 100644 --- a/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/localNetworkGatewaysMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/mappers.ts b/sdk/network/arm-network/src/models/mappers.ts index 37cfb03578ba..2ecdebd3437c 100644 --- a/sdk/network/arm-network/src/models/mappers.ts +++ b/sdk/network/arm-network/src/models/mappers.ts @@ -2186,6 +2186,293 @@ export const VirtualNetworkTap: msRest.CompositeMapper = { } }; +export const AddressSpace: msRest.CompositeMapper = { + serializedName: "AddressSpace", + type: { + name: "Composite", + className: "AddressSpace", + modelProperties: { + addressPrefixes: { + serializedName: "addressPrefixes", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const DhcpOptions: msRest.CompositeMapper = { + serializedName: "DhcpOptions", + type: { + name: "Composite", + className: "DhcpOptions", + modelProperties: { + dnsServers: { + serializedName: "dnsServers", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + } + } + } +}; + +export const VirtualNetworkPeering: msRest.CompositeMapper = { + serializedName: "VirtualNetworkPeering", + type: { + name: "Composite", + className: "VirtualNetworkPeering", + modelProperties: { + ...SubResource.type.modelProperties, + allowVirtualNetworkAccess: { + serializedName: "properties.allowVirtualNetworkAccess", + type: { + name: "Boolean" + } + }, + allowForwardedTraffic: { + serializedName: "properties.allowForwardedTraffic", + type: { + name: "Boolean" + } + }, + allowGatewayTransit: { + serializedName: "properties.allowGatewayTransit", + type: { + name: "Boolean" + } + }, + useRemoteGateways: { + serializedName: "properties.useRemoteGateways", + type: { + name: "Boolean" + } + }, + remoteVirtualNetwork: { + serializedName: "properties.remoteVirtualNetwork", + type: { + name: "Composite", + className: "SubResource" + } + }, + remoteAddressSpace: { + serializedName: "properties.remoteAddressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + peeringState: { + serializedName: "properties.peeringState", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetworkBgpCommunities: msRest.CompositeMapper = { + serializedName: "VirtualNetworkBgpCommunities", + type: { + name: "Composite", + className: "VirtualNetworkBgpCommunities", + modelProperties: { + virtualNetworkCommunity: { + required: true, + serializedName: "virtualNetworkCommunity", + type: { + name: "String" + } + }, + regionalCommunity: { + readOnly: true, + serializedName: "regionalCommunity", + type: { + name: "String" + } + } + } + } +}; + +export const VirtualNetwork: msRest.CompositeMapper = { + serializedName: "VirtualNetwork", + type: { + name: "Composite", + className: "VirtualNetwork", + modelProperties: { + ...Resource.type.modelProperties, + addressSpace: { + serializedName: "properties.addressSpace", + type: { + name: "Composite", + className: "AddressSpace" + } + }, + dhcpOptions: { + serializedName: "properties.dhcpOptions", + type: { + name: "Composite", + className: "DhcpOptions" + } + }, + subnets: { + serializedName: "properties.subnets", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "Subnet" + } + } + } + }, + virtualNetworkPeerings: { + serializedName: "properties.virtualNetworkPeerings", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "VirtualNetworkPeering" + } + } + } + }, + resourceGuid: { + readOnly: true, + serializedName: "properties.resourceGuid", + type: { + name: "String" + } + }, + provisioningState: { + readOnly: true, + serializedName: "properties.provisioningState", + type: { + name: "String" + } + }, + enableDdosProtection: { + serializedName: "properties.enableDdosProtection", + defaultValue: false, + type: { + name: "Boolean" + } + }, + enableVmProtection: { + serializedName: "properties.enableVmProtection", + defaultValue: false, + type: { + name: "Boolean" + } + }, + ddosProtectionPlan: { + serializedName: "properties.ddosProtectionPlan", + type: { + name: "Composite", + className: "SubResource" + } + }, + bgpCommunities: { + serializedName: "properties.bgpCommunities", + type: { + name: "Composite", + className: "VirtualNetworkBgpCommunities" + } + }, + ipAllocations: { + serializedName: "properties.ipAllocations", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "SubResource" + } + } + } + }, + etag: { + readOnly: true, + serializedName: "etag", + type: { + name: "String" + } + } + } + } +}; + +export const LoadBalancerBackendAddress: msRest.CompositeMapper = { + serializedName: "LoadBalancerBackendAddress", + type: { + name: "Composite", + className: "LoadBalancerBackendAddress", + modelProperties: { + virtualNetwork: { + serializedName: "properties.virtualNetwork", + type: { + name: "Composite", + className: "VirtualNetwork" + } + }, + ipAddress: { + serializedName: "properties.ipAddress", + type: { + name: "String" + } + }, + networkInterfaceIPConfiguration: { + serializedName: "properties.networkInterfaceIPConfiguration", + type: { + name: "Composite", + className: "NetworkInterfaceIPConfiguration" + } + }, + name: { + serializedName: "name", + type: { + name: "String" + } + } + } + } +}; + export const BackendAddressPool: msRest.CompositeMapper = { serializedName: "BackendAddressPool", type: { @@ -2201,7 +2488,19 @@ export const BackendAddressPool: msRest.CompositeMapper = { element: { type: { name: "Composite", - className: "NetworkInterfaceIPConfiguration" + className: "NetworkInterfaceIPConfiguration" + } + } + } + }, + loadBalancerBackendAddresses: { + serializedName: "properties.loadBalancerBackendAddresses", + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LoadBalancerBackendAddress" } } } @@ -14459,102 +14758,6 @@ export const Usage: msRest.CompositeMapper = { } }; -export const AddressSpace: msRest.CompositeMapper = { - serializedName: "AddressSpace", - type: { - name: "Composite", - className: "AddressSpace", - modelProperties: { - addressPrefixes: { - serializedName: "addressPrefixes", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualNetworkPeering: msRest.CompositeMapper = { - serializedName: "VirtualNetworkPeering", - type: { - name: "Composite", - className: "VirtualNetworkPeering", - modelProperties: { - ...SubResource.type.modelProperties, - allowVirtualNetworkAccess: { - serializedName: "properties.allowVirtualNetworkAccess", - type: { - name: "Boolean" - } - }, - allowForwardedTraffic: { - serializedName: "properties.allowForwardedTraffic", - type: { - name: "Boolean" - } - }, - allowGatewayTransit: { - serializedName: "properties.allowGatewayTransit", - type: { - name: "Boolean" - } - }, - useRemoteGateways: { - serializedName: "properties.useRemoteGateways", - type: { - name: "Boolean" - } - }, - remoteVirtualNetwork: { - serializedName: "properties.remoteVirtualNetwork", - type: { - name: "Composite", - className: "SubResource" - } - }, - remoteAddressSpace: { - serializedName: "properties.remoteAddressSpace", - type: { - name: "Composite", - className: "AddressSpace" - } - }, - peeringState: { - serializedName: "properties.peeringState", - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - name: { - serializedName: "name", - type: { - name: "String" - } - }, - etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - export const ResourceNavigationLinksListResult: msRest.CompositeMapper = { serializedName: "ResourceNavigationLinksListResult", type: { @@ -14613,161 +14816,6 @@ export const ServiceAssociationLinksListResult: msRest.CompositeMapper = { } }; -export const DhcpOptions: msRest.CompositeMapper = { - serializedName: "DhcpOptions", - type: { - name: "Composite", - className: "DhcpOptions", - modelProperties: { - dnsServers: { - serializedName: "dnsServers", - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - } - } - } -}; - -export const VirtualNetworkBgpCommunities: msRest.CompositeMapper = { - serializedName: "VirtualNetworkBgpCommunities", - type: { - name: "Composite", - className: "VirtualNetworkBgpCommunities", - modelProperties: { - virtualNetworkCommunity: { - required: true, - serializedName: "virtualNetworkCommunity", - type: { - name: "String" - } - }, - regionalCommunity: { - readOnly: true, - serializedName: "regionalCommunity", - type: { - name: "String" - } - } - } - } -}; - -export const VirtualNetwork: msRest.CompositeMapper = { - serializedName: "VirtualNetwork", - type: { - name: "Composite", - className: "VirtualNetwork", - modelProperties: { - ...Resource.type.modelProperties, - addressSpace: { - serializedName: "properties.addressSpace", - type: { - name: "Composite", - className: "AddressSpace" - } - }, - dhcpOptions: { - serializedName: "properties.dhcpOptions", - type: { - name: "Composite", - className: "DhcpOptions" - } - }, - subnets: { - serializedName: "properties.subnets", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "Subnet" - } - } - } - }, - virtualNetworkPeerings: { - serializedName: "properties.virtualNetworkPeerings", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "VirtualNetworkPeering" - } - } - } - }, - resourceGuid: { - readOnly: true, - serializedName: "properties.resourceGuid", - type: { - name: "String" - } - }, - provisioningState: { - readOnly: true, - serializedName: "properties.provisioningState", - type: { - name: "String" - } - }, - enableDdosProtection: { - serializedName: "properties.enableDdosProtection", - defaultValue: false, - type: { - name: "Boolean" - } - }, - enableVmProtection: { - serializedName: "properties.enableVmProtection", - defaultValue: false, - type: { - name: "Boolean" - } - }, - ddosProtectionPlan: { - serializedName: "properties.ddosProtectionPlan", - type: { - name: "Composite", - className: "SubResource" - } - }, - bgpCommunities: { - serializedName: "properties.bgpCommunities", - type: { - name: "Composite", - className: "VirtualNetworkBgpCommunities" - } - }, - ipAllocations: { - serializedName: "properties.ipAllocations", - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "SubResource" - } - } - } - }, - etag: { - readOnly: true, - serializedName: "etag", - type: { - name: "String" - } - } - } - } -}; - export const IPAddressAvailabilityResult: msRest.CompositeMapper = { serializedName: "IPAddressAvailabilityResult", type: { diff --git a/sdk/network/arm-network/src/models/natGatewaysMappers.ts b/sdk/network/arm-network/src/models/natGatewaysMappers.ts index ec3df4e5a532..af8bf88d9abd 100644 --- a/sdk/network/arm-network/src/models/natGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/natGatewaysMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts index 465a79420225..8e857b8182c3 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceIPConfigurationsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts index 69d980556e2b..7b16c28bed02 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceLoadBalancersMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts index 8dd8ba262bd1..b9bf727876be 100644 --- a/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfaceTapConfigurationsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts index eaaea0bde5cd..40d51ae8173b 100644 --- a/sdk/network/arm-network/src/models/networkInterfacesMappers.ts +++ b/sdk/network/arm-network/src/models/networkInterfacesMappers.ts @@ -155,6 +155,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkProfilesMappers.ts b/sdk/network/arm-network/src/models/networkProfilesMappers.ts index af1b9e6b14a8..1c12db7ae3be 100644 --- a/sdk/network/arm-network/src/models/networkProfilesMappers.ts +++ b/sdk/network/arm-network/src/models/networkProfilesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts index b6f750db28ac..05c3e6dd9949 100644 --- a/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/networkSecurityGroupsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts index bbebe8f18690..11c7c3697c48 100644 --- a/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts +++ b/sdk/network/arm-network/src/models/networkVirtualAppliancesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/networkWatchersMappers.ts b/sdk/network/arm-network/src/models/networkWatchersMappers.ts index d9e2e7b3d801..35cc9e52a41d 100644 --- a/sdk/network/arm-network/src/models/networkWatchersMappers.ts +++ b/sdk/network/arm-network/src/models/networkWatchersMappers.ts @@ -171,6 +171,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts index ab669abcadaa..a706b92bb1c1 100644 --- a/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/p2sVpnGatewaysMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListP2SVpnGatewaysResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/parameters.ts b/sdk/network/arm-network/src/models/parameters.ts index 613b4bec9a4c..01d463eae62c 100644 --- a/sdk/network/arm-network/src/models/parameters.ts +++ b/sdk/network/arm-network/src/models/parameters.ts @@ -26,7 +26,7 @@ export const apiVersion0: msRest.OperationQueryParameter = { required: true, isConstant: true, serializedName: "api-version", - defaultValue: '2020-03-01', + defaultValue: '2020-04-01', type: { name: "String" } diff --git a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts index 60fb41f3886b..2bd7bed6c1cc 100644 --- a/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/peerExpressRouteCircuitConnectionsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts index 29c76a1e569c..fcc1cafa3357 100644 --- a/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts +++ b/sdk/network/arm-network/src/models/privateDnsZoneGroupsMappers.ts @@ -151,6 +151,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts index ea7ca3ba8e60..da499eec9a65 100644 --- a/sdk/network/arm-network/src/models/privateEndpointsMappers.ts +++ b/sdk/network/arm-network/src/models/privateEndpointsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts index b130cd138de6..b1ba2b1f37b3 100644 --- a/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts +++ b/sdk/network/arm-network/src/models/privateLinkServicesMappers.ts @@ -154,6 +154,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts index 5eb2af1e9072..a60a14c026b3 100644 --- a/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPAddressesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts index a8351a80ae9c..eb5fcb53d2b7 100644 --- a/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts +++ b/sdk/network/arm-network/src/models/publicIPPrefixesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts index 12ef9e04a726..cb35599c8293 100644 --- a/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/resourceNavigationLinksMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts index ee8590a3a0ec..d9e356698f36 100644 --- a/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts +++ b/sdk/network/arm-network/src/models/routeFilterRulesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/routeFiltersMappers.ts b/sdk/network/arm-network/src/models/routeFiltersMappers.ts index 2d8dbbb1a72d..03ba9f965176 100644 --- a/sdk/network/arm-network/src/models/routeFiltersMappers.ts +++ b/sdk/network/arm-network/src/models/routeFiltersMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/routeTablesMappers.ts b/sdk/network/arm-network/src/models/routeTablesMappers.ts index 9db570b8bad0..2f41825b999d 100644 --- a/sdk/network/arm-network/src/models/routeTablesMappers.ts +++ b/sdk/network/arm-network/src/models/routeTablesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/routesMappers.ts b/sdk/network/arm-network/src/models/routesMappers.ts index 33a8033c2934..9a6f8f9e2dd5 100644 --- a/sdk/network/arm-network/src/models/routesMappers.ts +++ b/sdk/network/arm-network/src/models/routesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts index f0e358b242b9..dea8d883bd1f 100644 --- a/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts +++ b/sdk/network/arm-network/src/models/securityPartnerProvidersMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/securityRulesMappers.ts b/sdk/network/arm-network/src/models/securityRulesMappers.ts index 55421c40df1e..5768daaebbc3 100644 --- a/sdk/network/arm-network/src/models/securityRulesMappers.ts +++ b/sdk/network/arm-network/src/models/securityRulesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts index b354021205cf..e84259b261e0 100644 --- a/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts +++ b/sdk/network/arm-network/src/models/serviceAssociationLinksMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts index f32703d876aa..38686d4038f3 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPoliciesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts index b327f452aa42..927b9fbb3e2b 100644 --- a/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts +++ b/sdk/network/arm-network/src/models/serviceEndpointPolicyDefinitionsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/subnetsMappers.ts b/sdk/network/arm-network/src/models/subnetsMappers.ts index 702a13507496..73238402fcd1 100644 --- a/sdk/network/arm-network/src/models/subnetsMappers.ts +++ b/sdk/network/arm-network/src/models/subnetsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts index 1594a46afa53..e4b1f73e58ef 100644 --- a/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubRouteTableV2sMappers.ts @@ -152,6 +152,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVirtualHubRouteTableV2sResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualHubsMappers.ts b/sdk/network/arm-network/src/models/virtualHubsMappers.ts index 660bd495178f..32ab45a90561 100644 --- a/sdk/network/arm-network/src/models/virtualHubsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualHubsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVirtualHubsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts index 4c22f8289fc2..bad5d4a175ef 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewayConnectionsMappers.ts @@ -152,6 +152,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts index 5cb4d6e01bce..768a442174d7 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkGatewaysMappers.ts @@ -155,6 +155,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts index c7d57e562b43..ba7d8401730a 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkPeeringsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts index 5c2e0e093fbc..80c23a967abc 100644 --- a/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworkTapsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts index b714d3c1ac3d..570424f071cd 100644 --- a/sdk/network/arm-network/src/models/virtualNetworksMappers.ts +++ b/sdk/network/arm-network/src/models/virtualNetworksMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts index 440688668ace..9e9c420b2cdc 100644 --- a/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRouterPeeringsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts index 47834f0bb60f..9a7166651b2f 100644 --- a/sdk/network/arm-network/src/models/virtualRoutersMappers.ts +++ b/sdk/network/arm-network/src/models/virtualRoutersMappers.ts @@ -150,6 +150,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/virtualWansMappers.ts b/sdk/network/arm-network/src/models/virtualWansMappers.ts index f8573dd7669a..8419015bdcdf 100644 --- a/sdk/network/arm-network/src/models/virtualWansMappers.ts +++ b/sdk/network/arm-network/src/models/virtualWansMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVirtualWANsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts index 18f955fe7f30..237049e94b2d 100644 --- a/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnConnectionsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnConnectionsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts index 3389c179fb38..17e73df678c8 100644 --- a/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts +++ b/sdk/network/arm-network/src/models/vpnGatewaysMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnGatewaysResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts index f54a4cbfe66c..782e7cb304f9 100644 --- a/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnLinkConnectionsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnSiteLinkConnectionsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts index 88665f7a4460..c8311f1fbf66 100644 --- a/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnServerConfigurationsMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnServerConfigurationsResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts index fdd7ca29c2cb..7b37da16938b 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinkConnectionsMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts index 7552f558cc71..8eaaf63a30ac 100644 --- a/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSiteLinksMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnSiteLinksResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/vpnSitesMappers.ts b/sdk/network/arm-network/src/models/vpnSitesMappers.ts index 6024d5e0655f..709c11ebfa69 100644 --- a/sdk/network/arm-network/src/models/vpnSitesMappers.ts +++ b/sdk/network/arm-network/src/models/vpnSitesMappers.ts @@ -150,6 +150,7 @@ export { Ipv6ExpressRouteCircuitPeeringConfig, ListVpnSitesResult, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts index e17f6269d8bd..305ab7927bee 100644 --- a/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts +++ b/sdk/network/arm-network/src/models/webApplicationFirewallPoliciesMappers.ts @@ -149,6 +149,7 @@ export { Ipv6CircuitConnectionConfig, Ipv6ExpressRouteCircuitPeeringConfig, LoadBalancer, + LoadBalancerBackendAddress, LoadBalancerSku, LoadBalancingRule, LocalNetworkGateway, diff --git a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts index 005083559cc1..a580d4acc321 100644 --- a/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts +++ b/sdk/network/arm-network/src/operations/loadBalancerBackendAddressPools.ts @@ -9,6 +9,7 @@ */ 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/loadBalancerBackendAddressPoolsMappers"; import * as Parameters from "../models/parameters"; @@ -94,6 +95,77 @@ export class LoadBalancerBackendAddressPools { callback) as Promise; } + /** + * Creates or updates a load balancer backend address pool. + * @param resourceGroupName The name of the resource group. + * @param loadBalancerName The name of the load balancer. + * @param backendAddressPoolName The name of the backend address pool. + * @param parameters Parameters supplied to the create or update load balancer backend address pool + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + createOrUpdate(resourceGroupName: string, loadBalancerName: string, backendAddressPoolName: string, parameters: Models.BackendAddressPool, options?: msRest.RequestOptionsBase): Promise { + return this.beginCreateOrUpdate(resourceGroupName,loadBalancerName,backendAddressPoolName,parameters,options) + .then(lroPoller => lroPoller.pollUntilFinished()) as Promise; + } + + /** + * Deletes the specified load balancer backend address pool. + * @param resourceGroupName The name of the resource group. + * @param loadBalancerName The name of the load balancer. + * @param backendAddressPoolName The name of the backend address pool. + * @param [options] The optional parameters + * @returns Promise + */ + deleteMethod(resourceGroupName: string, loadBalancerName: string, backendAddressPoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.beginDeleteMethod(resourceGroupName,loadBalancerName,backendAddressPoolName,options) + .then(lroPoller => lroPoller.pollUntilFinished()); + } + + /** + * Creates or updates a load balancer backend address pool. + * @param resourceGroupName The name of the resource group. + * @param loadBalancerName The name of the load balancer. + * @param backendAddressPoolName The name of the backend address pool. + * @param parameters Parameters supplied to the create or update load balancer backend address pool + * operation. + * @param [options] The optional parameters + * @returns Promise + */ + beginCreateOrUpdate(resourceGroupName: string, loadBalancerName: string, backendAddressPoolName: string, parameters: Models.BackendAddressPool, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + loadBalancerName, + backendAddressPoolName, + parameters, + options + }, + beginCreateOrUpdateOperationSpec, + options); + } + + /** + * Deletes the specified load balancer backend address pool. + * @param resourceGroupName The name of the resource group. + * @param loadBalancerName The name of the load balancer. + * @param backendAddressPoolName The name of the backend address pool. + * @param [options] The optional parameters + * @returns Promise + */ + beginDeleteMethod(resourceGroupName: string, loadBalancerName: string, backendAddressPoolName: string, options?: msRest.RequestOptionsBase): Promise { + return this.client.sendLRORequest( + { + resourceGroupName, + loadBalancerName, + backendAddressPoolName, + options + }, + beginDeleteMethodOperationSpec, + options); + } + /** * Gets all the load balancer backed address pools. * @param nextPageLink The NextLink from the previous successful call to List operation. @@ -176,6 +248,68 @@ const getOperationSpec: msRest.OperationSpec = { serializer }; +const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = { + httpMethod: "PUT", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.loadBalancerName, + Parameters.backendAddressPoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + requestBody: { + parameterPath: "parameters", + mapper: { + ...Mappers.BackendAddressPool, + required: true + } + }, + responses: { + 200: { + bodyMapper: Mappers.BackendAddressPool + }, + 201: { + bodyMapper: Mappers.BackendAddressPool + }, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + +const beginDeleteMethodOperationSpec: msRest.OperationSpec = { + httpMethod: "DELETE", + path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}", + urlParameters: [ + Parameters.resourceGroupName, + Parameters.loadBalancerName, + Parameters.backendAddressPoolName, + Parameters.subscriptionId + ], + queryParameters: [ + Parameters.apiVersion0 + ], + headerParameters: [ + Parameters.acceptLanguage + ], + responses: { + 200: {}, + 202: {}, + 204: {}, + default: { + bodyMapper: Mappers.CloudError + } + }, + serializer +}; + const listNextOperationSpec: msRest.OperationSpec = { httpMethod: "GET", baseUrl: "https://management.azure.com",