ResourceSku Constructors

Definition

Overloads

ResourceSku()

Initializes a new instance of the ResourceSku class.

ResourceSku(String, String, String, String, String, String, ResourceSkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<String>, IList<ResourceSkuCosts>, IList<ResourceSkuCapabilities>, 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, String, String, ResourceSkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<String>, IList<ResourceSkuCosts>, IList<ResourceSkuCapabilities>, IList<ResourceSkuRestrictions>)

Initializes a new instance of the ResourceSku class.

public ResourceSku (string resourceType = null, string name = null, string tier = null, string size = null, string family = null, string kind = null, Microsoft.Azure.Management.Compute.Models.ResourceSkuCapacity capacity = null, System.Collections.Generic.IList<string> locations = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuLocationInfo> locationInfo = null, System.Collections.Generic.IList<string> apiVersions = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCosts> costs = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCapabilities> capabilities = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictions> restrictions = null);
new Microsoft.Azure.Management.Compute.Models.ResourceSku : string * string * string * string * string * string * Microsoft.Azure.Management.Compute.Models.ResourceSkuCapacity * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuLocationInfo> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCosts> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCapabilities> * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictions> -> Microsoft.Azure.Management.Compute.Models.ResourceSku
Public Sub New (Optional resourceType As String = null, Optional name As String = null, Optional tier As String = null, Optional size As String = null, Optional family As String = null, Optional kind As String = null, Optional capacity As ResourceSkuCapacity = null, Optional locations As IList(Of String) = null, Optional locationInfo As IList(Of ResourceSkuLocationInfo) = null, Optional apiVersions As IList(Of String) = null, Optional costs As IList(Of ResourceSkuCosts) = null, Optional capabilities As IList(Of ResourceSkuCapabilities) = null, Optional restrictions As IList(Of ResourceSkuRestrictions) = null)

Parameters

resourceType
System.String

The type of resource the SKU applies to.

name
System.String

The name of SKU.

tier
System.String

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

size
System.String

The Size of the SKU.

family
System.String

The Family of this particular SKU.

kind
System.String

The Kind of resources that are supported in this SKU.

capacity
ResourceSkuCapacity

Specifies the number of virtual machines in the scale set.

locations
System.Collections.Generic.IList<System.String>

The set of locations that the SKU is available.

locationInfo
System.Collections.Generic.IList<ResourceSkuLocationInfo>

A list of locations and availability zones in those locations where the SKU is available.

apiVersions
System.Collections.Generic.IList<System.String>

The api versions that support this SKU.

costs
System.Collections.Generic.IList<ResourceSkuCosts>

Metadata for retrieving price info.

capabilities
System.Collections.Generic.IList<ResourceSkuCapabilities>

A name value pair to describe the capability.

restrictions
System.Collections.Generic.IList<ResourceSkuRestrictions>

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

Applies to