Class Sku
SKU parameters supplied to the create Redis operation.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Redis.dll
Syntax
public class Sku
Constructors
Sku()
Initializes a new instance of the Sku class.
Declaration
public Sku ();
Sku(String, String, Int32)
Initializes a new instance of the Sku class.
Declaration
public Sku (string name, string family, int capacity);
Parameters
|
String
name
The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium). Possible values include: 'Basic', 'Standard', 'Premium' |
|
String
family
The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). Possible values include: 'C', 'P' |
|
Int32
capacity
The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4). |
Properties
Capacity
Gets or sets the size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4).
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="capacity")]
public int Capacity { get; set; }
Property Value
|
Int32
|
Family
Gets or sets the SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium). Possible values include: 'C', 'P'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="family")]
public string Family { get; set; }
Property Value
|
String
|
Name
Gets or sets the type of Redis cache to deploy. Valid values: (Basic, Standard, Premium). Possible values include: 'Basic', 'Standard', 'Premium'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public string Name { get; set; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |