Share via


Sku Class

Definition

The resource model definition representing SKU

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.SkuTypeConverter))]
public class Sku : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISku
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.SkuTypeConverter))>]
type Sku = class
    interface ISku
    interface IJsonSerializable
Public Class Sku
Implements ISku
Inheritance
Sku
Attributes
Implements

Constructors

Sku()

Creates an new Sku instance.

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. E.g. 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

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Sku.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Sku.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISku.

FromJsonString(String)

Creates a new instance of Sku, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Sku into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to