共用方式為


CloudServiceLoadBalancerConfiguration Class

Definition

Describes the load balancer configuration.

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

Constructors

CloudServiceLoadBalancerConfiguration(String, IEnumerable<LoadBalancerFrontendIPConfiguration>)

Initializes a new instance of CloudServiceLoadBalancerConfiguration.

Properties

FrontendIPConfigurations

Specifies the frontend IP to be used for the load balancer. Only IPv4 frontend IP address is supported. Each load balancer configuration must have exactly one frontend IP configuration.

Id

Resource Id.

Name

The name of the Load balancer.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CloudServiceLoadBalancerConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudServiceLoadBalancerConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudServiceLoadBalancerConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudServiceLoadBalancerConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudServiceLoadBalancerConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to