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, SkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, 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, SkuCapacity, IList<String>, IList<ResourceSkuLocationInfo>, IList<ResourceSkuRestrictions>)
Initializes a new instance of the ResourceSku class.
public ResourceSku (string resourceType = default, string name = default, string tier = default, Microsoft.Azure.Management.AppPlatform.Models.SkuCapacity capacity = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuLocationInfo> locationInfo = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuRestrictions> restrictions = default);
new Microsoft.Azure.Management.AppPlatform.Models.ResourceSku : string * string * string * Microsoft.Azure.Management.AppPlatform.Models.SkuCapacity * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuLocationInfo> * System.Collections.Generic.IList<Microsoft.Azure.Management.AppPlatform.Models.ResourceSkuRestrictions> -> Microsoft.Azure.Management.AppPlatform.Models.ResourceSku
Public Sub New (Optional resourceType As String = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional capacity As SkuCapacity = Nothing, Optional locations As IList(Of String) = Nothing, Optional locationInfo As IList(Of ResourceSkuLocationInfo) = Nothing, Optional restrictions As IList(Of ResourceSkuRestrictions) = Nothing)
Parameters
- resourceType
- String
Gets the type of resource the SKU applies to.
- name
- String
Gets the name of SKU.
- tier
- String
Gets the tier of SKU.
- capacity
- SkuCapacity
Gets the capacity of SKU.
- locationInfo
- IList<ResourceSkuLocationInfo>
Gets a list of locations and availability zones in those locations where the SKU is available.
- restrictions
- IList<ResourceSkuRestrictions>
Gets the restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Applies to
Azure SDK for .NET