ArmAppServiceModelFactory.AppServicePlanPatch Method

Definition

Initializes a new instance of 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, int? numberOfWorkers = 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> * 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 numberOfWorkers 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

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

workerTierName
String

Target worker tier assigned to the App Service plan.

status
Nullable<AppServicePlanStatus>

App Service plan status.

subscription
String

App Service plan subscription.

hostingEnvironmentProfile
HostingEnvironmentProfile

Specification for the App Service Environment to use for the App Service plan.

maximumNumberOfWorkers
Nullable<Int32>

Maximum number of instances that can be assigned to this App Service plan.

numberOfWorkers
Nullable<Int32>

The number of instances that are assigned to this App Service plan.

geoRegion
String

Geographical location for the App Service plan.

isPerSiteScaling
Nullable<Boolean>

If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan.

isElasticScaleEnabled
Nullable<Boolean>

ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku.

maximumElasticWorkerCount
Nullable<Int32>

Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan.

numberOfSites
Nullable<Int32>

Number of apps assigned to this App Service plan.

isSpot
Nullable<Boolean>

If <code>true</code>, this App Service Plan owns spot instances.

spotExpirationOn
Nullable<DateTimeOffset>

The time when the server farm expires. Valid only if it is a spot server farm.

freeOfferExpirationOn
Nullable<DateTimeOffset>

The time when the server farm free offer expires.

resourceGroup
String

Resource group of the App Service plan.

isReserved
Nullable<Boolean>

If Linux app service plan <code>true</code>, <code>false</code> otherwise.

isXenon
Nullable<Boolean>

Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

isHyperV
Nullable<Boolean>

If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise.

targetWorkerCount
Nullable<Int32>

Scaling worker count.

targetWorkerSizeId
Nullable<Int32>

Scaling worker size ID.

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Plan.

kubeEnvironmentProfile
KubeEnvironmentProfile

Specification for the Kubernetes Environment to use for the App Service plan.

isZoneRedundant
Nullable<Boolean>

If <code>true</code>, this App Service Plan will perform availability zone balancing. If <code>false</code>, this App Service Plan will not perform availability zone balancing.

kind
String

Kind of resource.

Returns

A new AppServicePlanPatch instance for mocking.

Applies to