你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudServiceNetworkProfile Class

Definition

Network Profile for the cloud service.

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

Constructors

CloudServiceNetworkProfile()

Initializes a new instance of CloudServiceNetworkProfile.

Properties

LoadBalancerConfigurations

List of Load balancer configurations. Cloud service can have up to two load balancer configurations, corresponding to a Public Load Balancer and an Internal Load Balancer.

SlotType

Slot type for the cloud service. Possible values are <br /><br />Production<br /><br />Staging<br /><br /> If not specified, the default value is Production.

SwappableCloudServiceId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CloudServiceNetworkProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudServiceNetworkProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudServiceNetworkProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudServiceNetworkProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudServiceNetworkProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to