Language

MonitorSku Class

Definition

The resource model definition representing SKU.

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

Constructors

Name Description
MonitorSku(String)

Initializes a new instance of MonitorSku.

Properties

Name Description
Capacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

Family

If the service has different generations of hardware, for the same SKU, then that can be captured here.

Name

The name of the SKU. Ex - P3. It is typically a letter+number code.

Size

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

Tier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<MonitorSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<MonitorSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<MonitorSku>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<MonitorSku>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<MonitorSku>.Write(ModelReaderWriterOptions)

Applies to