共用方式為


CloudServiceRoleProfileProperties Class

Definition

Describes the role properties.

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

Constructors

CloudServiceRoleProfileProperties()

Initializes a new instance of CloudServiceRoleProfileProperties.

Properties

Name

Resource name.

Sku

Describes the cloud service role sku.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CloudServiceRoleProfileProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudServiceRoleProfileProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudServiceRoleProfileProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudServiceRoleProfileProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudServiceRoleProfileProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to