Dela via


ComputeResourceSkuCapacity Class

Definition

Describes scaling information of a SKU.

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

Properties

Default

The default capacity.

Maximum

The maximum capacity that can be set.

Minimum

The minimum capacity.

ScaleType

The scale type applicable to the sku.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeResourceSkuCapacity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeResourceSkuCapacity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeResourceSkuCapacity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeResourceSkuCapacity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeResourceSkuCapacity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to