Sdílet prostřednictvím


ArmNetworkModelFactory.LoadBalancerBackendAddress Method

Definition

Initializes a new instance of LoadBalancerBackendAddress.

public static Azure.ResourceManager.Network.Models.LoadBalancerBackendAddress LoadBalancerBackendAddress (string name = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, Azure.Core.ResourceIdentifier subnetId = default, string ipAddress = default, Azure.Core.ResourceIdentifier networkInterfaceIPConfigurationId = default, Azure.Core.ResourceIdentifier loadBalancerFrontendIPConfigurationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.NatRulePortMapping> inboundNatRulesPortMapping = default, Azure.ResourceManager.Network.Models.LoadBalancerBackendAddressAdminState? adminState = default);
static member LoadBalancerBackendAddress : string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Network.Models.NatRulePortMapping> * Nullable<Azure.ResourceManager.Network.Models.LoadBalancerBackendAddressAdminState> -> Azure.ResourceManager.Network.Models.LoadBalancerBackendAddress
Public Shared Function LoadBalancerBackendAddress (Optional name As String = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional ipAddress As String = Nothing, Optional networkInterfaceIPConfigurationId As ResourceIdentifier = Nothing, Optional loadBalancerFrontendIPConfigurationId As ResourceIdentifier = Nothing, Optional inboundNatRulesPortMapping As IEnumerable(Of NatRulePortMapping) = Nothing, Optional adminState As Nullable(Of LoadBalancerBackendAddressAdminState) = Nothing) As LoadBalancerBackendAddress

Parameters

name
String

Name of the backend address.

virtualNetworkId
ResourceIdentifier

Reference to an existing virtual network.

subnetId
ResourceIdentifier

Reference to an existing subnet.

ipAddress
String

IP Address belonging to the referenced virtual network.

networkInterfaceIPConfigurationId
ResourceIdentifier

Reference to IP address defined in network interfaces.

loadBalancerFrontendIPConfigurationId
ResourceIdentifier

Reference to the frontend ip address configuration defined in regional loadbalancer.

inboundNatRulesPortMapping
IEnumerable<NatRulePortMapping>

Collection of inbound NAT rule port mappings.

adminState
Nullable<LoadBalancerBackendAddressAdminState>

A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.

Returns

A new LoadBalancerBackendAddress instance for mocking.

Applies to