Udostępnij za pośrednictwem


ArmNetworkModelFactory.BackendAddressPoolData Method

Definition

Initializes a new instance of BackendAddressPoolData.

public static Azure.ResourceManager.Network.BackendAddressPoolData BackendAddressPoolData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterface> tunnelInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.LoadBalancerBackendAddress> loadBalancerBackendAddresses = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> backendIPConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> loadBalancingRules = default, Azure.Core.ResourceIdentifier outboundRuleId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> outboundRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> inboundNatRules = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, int? drainPeriodInSeconds = default, Azure.Core.ResourceIdentifier virtualNetworkId = default, Azure.ResourceManager.Network.Models.BackendAddressSyncMode? syncMode = default);
static member BackendAddressPoolData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterface> * seq<Azure.ResourceManager.Network.Models.LoadBalancerBackendAddress> * seq<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<int> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.BackendAddressSyncMode> -> Azure.ResourceManager.Network.BackendAddressPoolData
Public Shared Function BackendAddressPoolData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tunnelInterfaces As IEnumerable(Of GatewayLoadBalancerTunnelInterface) = Nothing, Optional loadBalancerBackendAddresses As IEnumerable(Of LoadBalancerBackendAddress) = Nothing, Optional backendIPConfigurations As IEnumerable(Of NetworkInterfaceIPConfigurationData) = Nothing, Optional loadBalancingRules As IEnumerable(Of WritableSubResource) = Nothing, Optional outboundRuleId As ResourceIdentifier = Nothing, Optional outboundRules As IEnumerable(Of WritableSubResource) = Nothing, Optional inboundNatRules As IEnumerable(Of WritableSubResource) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional drainPeriodInSeconds As Nullable(Of Integer) = Nothing, Optional virtualNetworkId As ResourceIdentifier = Nothing, Optional syncMode As Nullable(Of BackendAddressSyncMode) = Nothing) As BackendAddressPoolData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

location
Nullable<AzureLocation>

The location of the backend address pool.

tunnelInterfaces
IEnumerable<GatewayLoadBalancerTunnelInterface>

An array of gateway load balancer tunnel interfaces.

loadBalancerBackendAddresses
IEnumerable<LoadBalancerBackendAddress>

An array of backend addresses.

backendIPConfigurations
IEnumerable<NetworkInterfaceIPConfigurationData>

An array of references to IP addresses defined in network interfaces.

loadBalancingRules
IEnumerable<WritableSubResource>

An array of references to load balancing rules that use this backend address pool.

outboundRuleId
ResourceIdentifier

A reference to an outbound rule that uses this backend address pool.

outboundRules
IEnumerable<WritableSubResource>

An array of references to outbound rules that use this backend address pool.

inboundNatRules
IEnumerable<WritableSubResource>

An array of references to inbound NAT rules that use this backend address pool.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the backend address pool resource.

drainPeriodInSeconds
Nullable<Int32>

Amount of seconds Load Balancer waits for before sending RESET to client and backend address.

virtualNetworkId
ResourceIdentifier

A reference to a virtual network.

syncMode
Nullable<BackendAddressSyncMode>

Backend address synchronous mode for the backend pool.

Returns

A new BackendAddressPoolData instance for mocking.

Applies to