Udostępnij za pośrednictwem


LoadBalancingRuleData Class

Definition

A class representing the LoadBalancingRule data model. A load balancing rule for a load balancer.

public class LoadBalancingRuleData : Azure.ResourceManager.Network.Models.NetworkResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.LoadBalancingRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.LoadBalancingRuleData>
public class LoadBalancingRuleData : Azure.ResourceManager.Network.Models.NetworkResourceData
type LoadBalancingRuleData = class
    inherit NetworkResourceData
    interface IJsonModel<LoadBalancingRuleData>
    interface IPersistableModel<LoadBalancingRuleData>
type LoadBalancingRuleData = class
    inherit NetworkResourceData
Public Class LoadBalancingRuleData
Inherits NetworkResourceData
Implements IJsonModel(Of LoadBalancingRuleData), IPersistableModel(Of LoadBalancingRuleData)
Public Class LoadBalancingRuleData
Inherits NetworkResourceData
Inheritance
LoadBalancingRuleData
Implements

Constructors

LoadBalancingRuleData()

Initializes a new instance of LoadBalancingRuleData.

Properties

BackendAddressPoolId

Gets or sets Id.

BackendAddressPools

An array of references to pool of DIPs.

BackendPort

The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables "Any Port".

DisableOutboundSnat

Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule.

EnableFloatingIP

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.

EnableTcpReset

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.

ETag

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

FrontendIPConfigurationId

Gets or sets Id.

FrontendPort

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".

Id

Resource ID.

(Inherited from NetworkResourceData)
IdleTimeoutInMinutes

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.

LoadDistribution

The load distribution policy for this rule.

Name

Resource name.

(Inherited from NetworkResourceData)
ProbeId

Gets or sets Id.

Protocol

The reference to the transport protocol used by the load balancing rule.

ProvisioningState

The provisioning state of the load balancing rule resource.

ResourceType

Resource type.

(Inherited from NetworkResourceData)

Explicit Interface Implementations

IJsonModel<LoadBalancingRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<LoadBalancingRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkResourceData)
IJsonModel<NetworkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkResourceData)
IPersistableModel<LoadBalancingRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LoadBalancingRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<LoadBalancingRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkResourceData)

Applies to