Compartir a través de


ComputeResourceSku Class

Definition

Describes an available Compute SKU.

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

Properties

ApiVersions

The api versions that support this SKU.

Capabilities

A name value pair to describe the capability.

Capacity

Specifies the number of virtual machines in the scale set.

Costs

Metadata for retrieving price info.

Family

The Family of this particular SKU.

Kind

The Kind of resources that are supported in this SKU.

LocationInfo

A list of locations and availability zones in those locations where the SKU is available.

Locations

The set of locations that the SKU is available.

Name

The name of SKU.

ResourceType

The type of resource the SKU applies to.

Restrictions

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Size

The Size of the SKU.

Tier

Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeResourceSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeResourceSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourceSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeResourceSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeResourceSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to