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, String, 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, String, String, String, Nullable<Int32>)
Initializes a new instance of the Sku class.
public Sku (string name, string tier = default, string size = default, string family = default, int? capacity = default);
new Microsoft.Azure.Management.CognitiveServices.Models.Sku : string * string * string * string * Nullable<int> -> Microsoft.Azure.Management.CognitiveServices.Models.Sku
Public Sub New (name As String, Optional tier As String = 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
- tier
- String
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'
- 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