Freigeben über


ArmAppServiceModelFactory.AppServicePlanPatch Methode

Definition

Initialisiert eine neue instance von AppServicePlanPatch.

public static Azure.ResourceManager.AppService.Models.AppServicePlanPatch AppServicePlanPatch (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = 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? spotExpirationOn = default, DateTimeOffset? freeOfferExpirationOn = 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 AppServicePlanPatch : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * 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.Models.AppServicePlanPatch
Public Shared Function AppServicePlanPatch (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = 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 spotExpirationOn As Nullable(Of DateTimeOffset) = Nothing, Optional freeOfferExpirationOn 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 AppServicePlanPatch

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemDaten.

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.

spotExpirationOn
Nullable<DateTimeOffset>

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

freeOfferExpirationOn
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 AppServicePlanPatch instance zum Mocking.

Gilt für: