Condividi tramite


ManagedClusterLoadBalancingRule Class

Definition

Describes a load balancing rule.

public class ManagedClusterLoadBalancingRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ServiceFabricManagedClusters.Models.ManagedClusterLoadBalancingRule>
type ManagedClusterLoadBalancingRule = class
    interface IJsonModel<ManagedClusterLoadBalancingRule>
    interface IPersistableModel<ManagedClusterLoadBalancingRule>
Public Class ManagedClusterLoadBalancingRule
Implements IJsonModel(Of ManagedClusterLoadBalancingRule), IPersistableModel(Of ManagedClusterLoadBalancingRule)
Inheritance
ManagedClusterLoadBalancingRule
Implements

Constructors

ManagedClusterLoadBalancingRule(Int32, Int32, ManagedClusterLoadBalancingRuleTransportProtocol, ManagedClusterLoadBalanceProbeProtocol)

Initializes a new instance of ManagedClusterLoadBalancingRule.

Properties

BackendPort

The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

FrontendPort

The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534.

LoadDistribution

The load distribution policy for this rule.

ProbePort

The prob port used by the load balancing rule. Acceptable values are between 1 and 65535.

ProbeProtocol

the reference to the load balancer probe used by the load balancing rule.

ProbeRequestPath

The probe request path. Only supported for HTTP/HTTPS probes.

Protocol

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ManagedClusterLoadBalancingRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ManagedClusterLoadBalancingRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedClusterLoadBalancingRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedClusterLoadBalancingRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ManagedClusterLoadBalancingRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to