Condividi tramite


ArmSku Class

Definition

A class representing SKU for resource.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.ArmSku+ArmSkuConverter))]
public sealed class ArmSku : IEquatable<Azure.ResourceManager.Models.ArmSku>, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Models.ArmSku>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Models.ArmSku>
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.ResourceManager.Models.ArmSku+ArmSkuConverter))>]
type ArmSku = class
    interface IEquatable<ArmSku>
    interface IJsonModel<ArmSku>
    interface IPersistableModel<ArmSku>
Public NotInheritable Class ArmSku
Implements IEquatable(Of ArmSku), IJsonModel(Of ArmSku), IPersistableModel(Of ArmSku)
Inheritance
ArmSku
Attributes
Implements

Constructors

ArmSku(String)

Initializes a new instance of ArmSku.

Properties

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

Equals(ArmSku)

Compares this ArmSku instance with another object and determines if they are equals.

Operators

Equality(ArmSku, ArmSku)

Compares this ArmSku instance with another object and determines if they are equals.

Inequality(ArmSku, ArmSku)

Compares this ArmSku instance with another object and determines if they are not equal.

Explicit Interface Implementations

IJsonModel<ArmSku>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArmSku>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArmSku>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmSku>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArmSku>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to