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, Azure.ResourceManager.Models.ManagedServiceIdentity identity = 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 * Azure.ResourceManager.Models.ManagedServiceIdentity * 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 identity As ManagedServiceIdentity = 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.

identity
ManagedServiceIdentity

Managed service identity. Serialized Name: AppServicePlanPatchResource.identity

workerTierName
String

Target worker tier assigned to the App Service plan. Serialized Name: AppServicePlanPatchResource.properties.workerTierName

status
Nullable<AppServicePlanStatus>

App Service plan status. Serialized Name: AppServicePlanPatchResource.properties.status

subscription
String

App Service plan subscription. Serialized Name: AppServicePlanPatchResource.properties.subscription

hostingEnvironmentProfile
HostingEnvironmentProfile

Specification for the App Service Environment to use for the App Service plan. Serialized Name: AppServicePlanPatchResource.properties.hostingEnvironmentProfile

maximumNumberOfWorkers
Nullable<Int32>

Maximum number of instances that can be assigned to this App Service plan. Serialized Name: AppServicePlanPatchResource.properties.maximumNumberOfWorkers

numberOfWorkers
Nullable<Int32>

The number of instances that are assigned to this App Service plan. Serialized Name: AppServicePlanPatchResource.properties.numberOfWorkers

geoRegion
String

Geographical location for the App Service plan. Serialized Name: AppServicePlanPatchResource.properties.geoRegion

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. Serialized Name: AppServicePlanPatchResource.properties.perSiteScaling

isElasticScaleEnabled
Nullable<Boolean>

ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku Serialized Name: AppServicePlanPatchResource.properties.elasticScaleEnabled

maximumElasticWorkerCount
Nullable<Int32>

Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan Serialized Name: AppServicePlanPatchResource.properties.maximumElasticWorkerCount

numberOfSites
Nullable<Int32>

Number of apps assigned to this App Service plan. Serialized Name: AppServicePlanPatchResource.properties.numberOfSites

isSpot
Nullable<Boolean>

If <code>true</code>, this App Service Plan owns spot instances. Serialized Name: AppServicePlanPatchResource.properties.isSpot

spotExpirationOn
Nullable<DateTimeOffset>

The time when the server farm expires. Valid only if it is a spot server farm. Serialized Name: AppServicePlanPatchResource.properties.spotExpirationTime

freeOfferExpirationOn
Nullable<DateTimeOffset>

The time when the server farm free offer expires. Serialized Name: AppServicePlanPatchResource.properties.freeOfferExpirationTime

resourceGroup
String

Resource group of the App Service plan. Serialized Name: AppServicePlanPatchResource.properties.resourceGroup

isReserved
Nullable<Boolean>

If Linux app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlanPatchResource.properties.reserved

isXenon
Nullable<Boolean>

Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlanPatchResource.properties.isXenon

isHyperV
Nullable<Boolean>

If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. Serialized Name: AppServicePlanPatchResource.properties.hyperV

targetWorkerCount
Nullable<Int32>

Scaling worker count. Serialized Name: AppServicePlanPatchResource.properties.targetWorkerCount

targetWorkerSizeId
Nullable<Int32>

Scaling worker size ID. Serialized Name: AppServicePlanPatchResource.properties.targetWorkerSizeId

provisioningState
Nullable<ProvisioningState>

Provisioning state of the App Service Plan. Serialized Name: AppServicePlanPatchResource.properties.provisioningState

kubeEnvironmentProfile
KubeEnvironmentProfile

Specification for the Kubernetes Environment to use for the App Service plan. Serialized Name: AppServicePlanPatchResource.properties.kubeEnvironmentProfile

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. Serialized Name: AppServicePlanPatchResource.properties.zoneRedundant

kind
String

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Returns

A new AppServicePlanPatch instance for mocking.

Applies to