Show / Hide Table of Contents

    Class Sku

    Describes a virtual machine scale set sku.

    Inheritance
    Object
    Sku
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class Sku

    Constructors

    Sku()

    Initializes a new instance of the Sku class.

    Declaration
    public Sku ();

    Sku(String, String, Nullable<Int64>)

    Initializes a new instance of the Sku class.

    Declaration
    public Sku (string name = null, string tier = null, Nullable<long> capacity = null);
    Parameters
    String name

    The sku name.

    String tier

    Specifies the tier of virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic

    Nullable<Int64> capacity

    Specifies the number of virtual machines in the scale set.

    Properties

    Capacity

    Gets or sets specifies the number of virtual machines in the scale set.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="capacity")]
    public Nullable<long> Capacity { get; set; }
    Property Value
    Nullable<Int64>

    Name

    Gets or sets the sku name.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="name")]
    public string Name { get; set; }
    Property Value
    String

    Tier

    Gets or sets specifies the tier of virtual machines in a scale set.&lt;br /&gt;&lt;br /&gt; Possible Values:&lt;br /&gt;&lt;br /&gt; Standard&lt;br /&gt;&lt;br /&gt; Basic

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="tier")]
    public string Tier { get; set; }
    Property Value
    String

    Back to top Azure SDK for Net