Share via


Sku Class

Definition

The resource model definition representing SKU

public class Sku
type Sku = class
Public Class Sku
Inheritance
Sku

Constructors

Sku()

Initializes a new instance of the Sku class.

Sku(String, String, String, String, Nullable<Int32>)

Initializes a new instance of the Sku class.

Properties

Capacity

Gets or sets 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

Gets or sets if the service has different generations of hardware, for the same SKU, then that can be captured here.

Name

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

Size

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

Tier

Gets or sets 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. Possible values include: 'Free', 'Basic', 'Standard', 'Premium', 'Enterprise'

Methods

Validate()

Validate the object.

Applies to