Dela via


ResourceSku Constructors

Definition

Overloads

ResourceSku()

Initializes a new instance of the ResourceSku class.

ResourceSku(String, String, String, String, IList<String>, IList<ResourceSkuRestrictions>)

Initializes a new instance of the ResourceSku class.

ResourceSku()

Initializes a new instance of the ResourceSku class.

public ResourceSku ();
Public Sub New ()

Applies to

ResourceSku(String, String, String, String, IList<String>, IList<ResourceSkuRestrictions>)

Initializes a new instance of the ResourceSku class.

public ResourceSku (string resourceType = default, string name = default, string tier = default, string kind = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictions> restrictions = default);
new Microsoft.Azure.Management.CognitiveServices.Models.ResourceSku : string * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.CognitiveServices.Models.ResourceSkuRestrictions> -> Microsoft.Azure.Management.CognitiveServices.Models.ResourceSku
Public Sub New (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional kind As String = Nothing, Optional locations As IList(Of String) = Nothing, Optional restrictions As IList(Of ResourceSkuRestrictions) = Nothing)

Parameters

resourceType
String

The type of resource the SKU applies to.

name
String

The name of SKU.

tier
String

Specifies the tier of Cognitive Services account.

kind
String

The Kind of resources that are supported in this SKU.

locations
IList<String>

The set of locations that the SKU is available.

restrictions
IList<ResourceSkuRestrictions>

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.

Applies to