Partilhar via


CloudServiceRoleSku Class

Definition

Describes the cloud service role sku.

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

Constructors

CloudServiceRoleSku()

Initializes a new instance of CloudServiceRoleSku.

Properties

Capacity

Specifies the number of role instances in the cloud service.

Name

The sku name. NOTE: If the new SKU is not supported on the hardware the cloud service is currently on, you need to delete and recreate the cloud service or move back to the old sku.

Tier

Specifies the tier of the cloud service. Possible Values are <br /><br /> Standard <br /><br /> Basic.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CloudServiceRoleSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudServiceRoleSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudServiceRoleSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudServiceRoleSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudServiceRoleSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to