Freigeben über


ArmAppServiceModelFactory.AppServicePlanData Methode

Definition

Initialisiert eine neue instance von AppServicePlanData.

public static Azure.ResourceManager.AppService.AppServicePlanData AppServicePlanData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.AppService.Models.AppServiceSkuDescription sku = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, string workerTierName = default, Azure.ResourceManager.AppService.Models.AppServicePlanStatus? status = default, string subscription = default, Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile hostingEnvironmentProfile = default, int? maximumNumberOfWorkers = default, string geoRegion = default, bool? isPerSiteScaling = default, bool? isElasticScaleEnabled = default, int? maximumElasticWorkerCount = default, int? numberOfSites = default, bool? isSpot = default, DateTimeOffset? spotExpireOn = default, DateTimeOffset? freeOfferExpireOn = default, string resourceGroup = default, bool? isReserved = default, bool? isXenon = default, bool? isHyperV = default, int? targetWorkerCount = default, int? targetWorkerSizeId = default, Azure.ResourceManager.AppService.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.AppService.Models.KubeEnvironmentProfile kubeEnvironmentProfile = default, bool? isZoneRedundant = default, string kind = default);
static member AppServicePlanData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.AppService.Models.AppServiceSkuDescription * Azure.ResourceManager.Resources.Models.ExtendedLocation * string * Nullable<Azure.ResourceManager.AppService.Models.AppServicePlanStatus> * string * Azure.ResourceManager.AppService.Models.HostingEnvironmentProfile * Nullable<int> * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<Azure.ResourceManager.AppService.Models.ProvisioningState> * Azure.ResourceManager.AppService.Models.KubeEnvironmentProfile * Nullable<bool> * string -> Azure.ResourceManager.AppService.AppServicePlanData
Public Shared Function AppServicePlanData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional sku As AppServiceSkuDescription = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional workerTierName As String = Nothing, Optional status As Nullable(Of AppServicePlanStatus) = Nothing, Optional subscription As String = Nothing, Optional hostingEnvironmentProfile As HostingEnvironmentProfile = Nothing, Optional maximumNumberOfWorkers As Nullable(Of Integer) = Nothing, Optional geoRegion As String = Nothing, Optional isPerSiteScaling As Nullable(Of Boolean) = Nothing, Optional isElasticScaleEnabled As Nullable(Of Boolean) = Nothing, Optional maximumElasticWorkerCount As Nullable(Of Integer) = Nothing, Optional numberOfSites As Nullable(Of Integer) = Nothing, Optional isSpot As Nullable(Of Boolean) = Nothing, Optional spotExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional freeOfferExpireOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceGroup As String = Nothing, Optional isReserved As Nullable(Of Boolean) = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional isHyperV As Nullable(Of Boolean) = Nothing, Optional targetWorkerCount As Nullable(Of Integer) = Nothing, Optional targetWorkerSizeId As Nullable(Of Integer) = Nothing, Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional kubeEnvironmentProfile As KubeEnvironmentProfile = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional kind As String = Nothing) As AppServicePlanData

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

tags
IDictionary<String,String>

Die Tags.

location
AzureLocation

Der Speicherort.

sku
AppServiceSkuDescription

Beschreibung einer SKU für eine skalierbare Ressource.

extendedLocation
ExtendedLocation

Erweiterter Speicherort.

workerTierName
String

Zielarbeitsebene, die dem App Service Plan zugewiesen ist.

status
Nullable<AppServicePlanStatus>

App Service plan status.

subscription
String

App Service Planabonnement.

hostingEnvironmentProfile
HostingEnvironmentProfile

Spezifikation für die App Service-Umgebung, die für den App Service-Plan verwendet werden soll.

maximumNumberOfWorkers
Nullable<Int32>

Maximale Anzahl von Instanzen, die diesem App Service Plan zugewiesen werden können.

geoRegion
String

Geografischer Standort für den App Service-Plan.

isPerSiteScaling
Nullable<Boolean>

Wenn <Code>true</Code> ist, können Apps, die diesem App Service Plan zugewiesen sind, unabhängig skaliert werden. Wenn <Code>false</code> ist, werden Apps, die diesem App Service Plan zugewiesen sind, auf alle Instanzen des Plans skaliert.

isElasticScaleEnabled
Nullable<Boolean>

ServerFarm unterstützt ElasticScale. Apps in diesem Plan werden so skaliert, als wäre die ServerFarm elasticPremium sku.

maximumElasticWorkerCount
Nullable<Int32>

Die maximale Anzahl der insgesamt zulässigen Mitarbeiter für diesen ElasticScaleEnabled-App Service-Plan.

numberOfSites
Nullable<Int32>

Anzahl der Apps, die diesem App Service Plan zugewiesen sind.

isSpot
Nullable<Boolean>

Wenn <Code>true</code> ist, besitzt dieser App Service Plan Spotinstanzen.

spotExpireOn
Nullable<DateTimeOffset>

Der Zeitpunkt, zu dem die Serverfarm abläuft. Nur gültig, wenn es sich um eine Spotserverfarm handelt.

freeOfferExpireOn
Nullable<DateTimeOffset>

Der Zeitpunkt, zu dem das kostenlose Angebot der Serverfarm abläuft.

resourceGroup
String

Ressourcengruppe des App Service Plans.

isReserved
Nullable<Boolean>

Wenn linux app service plan <code>true</code>, <code>false</code andernfalls code> .

isXenon
Nullable<Boolean>

Veraltet: Wenn Hyper-V Container App Service-Plancode true/code>, <code>false</code andernfalls code>.<<>

isHyperV
Nullable<Boolean>

Wenn Hyper-V Container App Service-Plancode true/code>, <code>false</code andernfalls code>.<<>

targetWorkerCount
Nullable<Int32>

Skalieren der Workeranzahl.

targetWorkerSizeId
Nullable<Int32>

Skalieren der Workergröße-ID.

provisioningState
Nullable<ProvisioningState>

Bereitstellungsstatus des App Service Plans.

kubeEnvironmentProfile
KubeEnvironmentProfile

Spezifikation für die Kubernetes-Umgebung, die für den App Service-Plan verwendet werden soll.

isZoneRedundant
Nullable<Boolean>

Wenn <Code>true</code> ist, führt dieser App Service Plan einen Ausgleich der Verfügbarkeitszonen durch. Wenn <Code>false</code> ist, führt dieser App Service Plan keinen Ausgleich der Verfügbarkeitszonen durch.

kind
String

Art der Ressource.

Gibt zurück

Eine neue AppServicePlanData instance zum Mocking.

Gilt für: