ArmNetworkModelFactory.LoadBalancingRuleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Network.LoadBalancingRuleData LoadBalancingRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> backendAddressPools = default, Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol? protocol = default, Azure.ResourceManager.Network.Models.LoadDistribution? loadDistribution = default, int? frontendPort = default, int? backendPort = default, int? idleTimeoutInMinutes = default, bool? enableFloatingIP = default, bool? enableTcpReset = default, bool? disableOutboundSnat = default, bool? enableConnectionTracking = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier frontendIPConfigurationId = default, Azure.Core.ResourceIdentifier backendAddressPoolId = default, Azure.Core.ResourceIdentifier probeId = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default, Azure.ETag? eTag = default);
static member LoadBalancingRuleData : Azure.Core.ResourceIdentifier * string * string * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * Nullable<Azure.ResourceManager.Network.Models.LoadBalancingTransportProtocol> * Nullable<Azure.ResourceManager.Network.Models.LoadDistribution> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.LoadBalancingRuleData
Public Shared Function LoadBalancingRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional backendAddressPools As IEnumerable(Of WritableSubResource) = Nothing, Optional protocol As Nullable(Of LoadBalancingTransportProtocol) = Nothing, Optional loadDistribution As Nullable(Of LoadDistribution) = Nothing, Optional frontendPort As Nullable(Of Integer) = Nothing, Optional backendPort As Nullable(Of Integer) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional enableFloatingIP As Nullable(Of Boolean) = Nothing, Optional enableTcpReset As Nullable(Of Boolean) = Nothing, Optional disableOutboundSnat As Nullable(Of Boolean) = Nothing, Optional enableConnectionTracking As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional frontendIPConfigurationId As ResourceIdentifier = Nothing, Optional backendAddressPoolId As ResourceIdentifier = Nothing, Optional probeId As ResourceIdentifier = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As LoadBalancingRuleData
Parameters
Resource ID.
- name
- String
Name of the resource.
- type
- String
Resource type.
- backendAddressPools
- IEnumerable<WritableSubResource>
An array of references to pool of DIPs.
- protocol
- Nullable<LoadBalancingTransportProtocol>
The reference to the transport protocol used by the load balancing rule.
- loadDistribution
- Nullable<LoadDistribution>
The load distribution policy for this rule.
The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables "Any Port".
The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".
The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.
Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.
Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.
Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.
Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the load balancing rule resource.
- frontendIPConfigurationId
- ResourceIdentifier
Resource ID.
- backendAddressPoolId
- ResourceIdentifier
Resource ID.
- probeId
- ResourceIdentifier
Resource ID.
- additionalProperties
- IDictionary<String,BinaryData>
Gets the AdditionalProperties.
Returns
A new LoadBalancingRuleData instance for mocking.