ArmAppPlatformModelFactory.AvailableAppPlatformSku Method
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.
Initializes a new instance of AvailableAppPlatformSku.
public static Azure.ResourceManager.AppPlatform.Models.AvailableAppPlatformSku AvailableAppPlatformSku (Azure.Core.ResourceType? resourceType = default, string name = default, string tier = default, Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuCapacity capacity = default, System.Collections.Generic.IEnumerable<Azure.Core.AzureLocation> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuLocationInfo> locationInfo = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictions> restrictions = default);
static member AvailableAppPlatformSku : Nullable<Azure.Core.ResourceType> * string * string * Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuCapacity * seq<Azure.Core.AzureLocation> * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuLocationInfo> * seq<Azure.ResourceManager.AppPlatform.Models.AppPlatformSkuRestrictions> -> Azure.ResourceManager.AppPlatform.Models.AvailableAppPlatformSku
Public Shared Function AvailableAppPlatformSku (Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional name As String = Nothing, Optional tier As String = Nothing, Optional capacity As AppPlatformSkuCapacity = Nothing, Optional locations As IEnumerable(Of AzureLocation) = Nothing, Optional locationInfo As IEnumerable(Of AppPlatformSkuLocationInfo) = Nothing, Optional restrictions As IEnumerable(Of AppPlatformSkuRestrictions) = Nothing) As AvailableAppPlatformSku
Parameters
- resourceType
- Nullable<ResourceType>
Gets the type of resource the SKU applies to.
- name
- String
Gets the name of SKU.
- tier
- String
Gets the tier of SKU.
- capacity
- AppPlatformSkuCapacity
Gets the capacity of SKU.
- locations
- IEnumerable<AzureLocation>
Gets the set of locations that the SKU is available.
- locationInfo
- IEnumerable<AppPlatformSkuLocationInfo>
Gets a list of locations and availability zones in those locations where the SKU is available.
- restrictions
- IEnumerable<AppPlatformSkuRestrictions>
Gets the restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
Returns
A new AvailableAppPlatformSku instance for mocking.