Sku Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Sku() |
Initializes a new instance of the Sku class. |
Sku(String, Nullable<SkuTier>, String, String, Nullable<Int32>) |
Initializes a new instance of the Sku class. |
Sku()
Initializes a new instance of the Sku class.
public Sku ();
Public Sub New ()
Applies to
Sku(String, Nullable<SkuTier>, String, String, Nullable<Int32>)
Initializes a new instance of the Sku class.
public Sku (string name, Microsoft.Azure.Management.LabServices.Models.SkuTier? tier = default, string size = default, string family = default, int? capacity = default);
new Microsoft.Azure.Management.LabServices.Models.Sku : string * Nullable<Microsoft.Azure.Management.LabServices.Models.SkuTier> * string * string * Nullable<int> -> Microsoft.Azure.Management.LabServices.Models.Sku
Public Sub New (name As String, Optional tier As Nullable(Of SkuTier) = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional capacity As Nullable(Of Integer) = Nothing)
Parameters
- name
- String
The name of the SKU. Ex - P3. It is typically a letter+number code
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'
- size
- String
The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
- family
- String
If the service has different generations of hardware, for the same SKU, then that can be captured here.
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.
Applies to
Azure SDK for .NET