Class Sku
An ARM Resource SKU.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public class Sku
Constructors
Sku()
Initializes a new instance of the Sku class.
Declaration
public Sku ();
Sku(String, String, String, String, Nullable<Int32>)
Initializes a new instance of the Sku class.
Declaration
public Sku (string name, string tier = null, string size = null, string family = null, Nullable<int> capacity = null);
Parameters
String
name
The name of the SKU, typically, a letter + Number code, e.g. P3. |
String
tier
The tier or edition of the particular SKU, e.g. Basic, Premium. |
String
size
Size of the particular SKU |
String
family
If the service has different generations of hardware, for the same SKU, then that can be captured here. |
Nullable<Int32>
capacity
Capacity of the particular SKU. |
Properties
Capacity
Gets or sets capacity of the particular SKU.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="capacity")]
public Nullable<int> Capacity { get; set; }
Property Value
Nullable<Int32>
|
Family
Gets or sets if the service has different generations of hardware, for the same SKU, then that can be captured here.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="family")]
public string Family { get; set; }
Property Value
String
|
Name
Gets or sets the name of the SKU, typically, a letter + Number code, e.g. P3.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
String
|
Size
Gets or sets size of the particular SKU
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="size")]
public string Size { get; set; }
Property Value
String
|
Tier
Gets or sets the tier or edition of the particular SKU, e.g. Basic, Premium.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="tier")]
public string Tier { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |