Freigeben über


ArmAppPlatformModelFactory.AvailableAppPlatformSku Methode

Definition

Initialisiert eine neue instance von 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

Parameter

resourceType
Nullable<ResourceType>

Ruft den Ressourcentyp ab, für den die SKU gilt.

name
String

Ruft den Namen der SKU ab.

tier
String

Ruft die Ebene der SKU ab.

capacity
AppPlatformSkuCapacity

Ruft die Kapazität der SKU ab.

locations
IEnumerable<AzureLocation>

Ruft den Satz von Speicherorten ab, an denen die SKU verfügbar ist.

locationInfo
IEnumerable<AppPlatformSkuLocationInfo>

Ruft eine Liste der Standorte und Verfügbarkeitszonen an den Standorten ab, an denen die SKU verfügbar ist.

restrictions
IEnumerable<AppPlatformSkuRestrictions>

Ruft die Einschränkungen ab, aufgrund derer die SKU nicht verwendet werden kann. Dies ist leer, wenn es keine Einschränkungen gibt.

Gibt zurück

Eine neue AvailableAppPlatformSku instance zum Mocking.

Gilt für: