ResourceSku 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
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 = default, string name = default, string tier = default, string size = default, string family = default, string kind = default, Microsoft.Azure.Management.Compute.Models.ResourceSkuCapacity capacity = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuLocationInfo> locationInfo = default, System.Collections.Generic.IList<string> apiVersions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCosts> costs = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuCapabilities> capabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Models.ResourceSkuRestrictions> restrictions = default);
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 = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional size As String = Nothing, Optional family As String = Nothing, Optional kind As String = Nothing, Optional capacity As ResourceSkuCapacity = Nothing, Optional locations As IList(Of String) = Nothing, Optional locationInfo As IList(Of ResourceSkuLocationInfo) = Nothing, Optional apiVersions As IList(Of String) = Nothing, Optional costs As IList(Of ResourceSkuCosts) = Nothing, Optional capabilities As IList(Of ResourceSkuCapabilities) = 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 virtual machines in a scale set.<br /><br /> Possible Values:<br /><br /> Standard<br /><br /> Basic
- size
- String
The Size of the SKU.
- family
- String
The Family of this particular SKU.
- kind
- String
The Kind of resources that are supported in this SKU.
- capacity
- ResourceSkuCapacity
Specifies the number of virtual machines in the scale set.
- locationInfo
- IList<ResourceSkuLocationInfo>
A list of locations and availability zones in those locations where the SKU is available.
- costs
- IList<ResourceSkuCosts>
Metadata for retrieving price info.
- capabilities
- IList<ResourceSkuCapabilities>
A name value pair to describe the capability.
- restrictions
- IList<ResourceSkuRestrictions>
The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Applies to
Azure SDK for .NET