Share via


AppServicePlanPatchResource Class

Definition

ARM resource for a app service plan.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AppServicePlanPatchResource : Microsoft.Azure.Management.WebSites.Models.ProxyOnlyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AppServicePlanPatchResource = class
    inherit ProxyOnlyResource
Public Class AppServicePlanPatchResource
Inherits ProxyOnlyResource
Inheritance
AppServicePlanPatchResource
Attributes

Constructors

AppServicePlanPatchResource()

Initializes a new instance of the AppServicePlanPatchResource class.

AppServicePlanPatchResource(String, String, String, String, String, Nullable<StatusOptions>, String, HostingEnvironmentProfile, Nullable<Int32>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<ProvisioningState>, KubeEnvironmentProfile, Nullable<Boolean>)

Initializes a new instance of the AppServicePlanPatchResource class.

Properties

ElasticScaleEnabled

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

FreeOfferExpirationTime

Gets or sets the time when the server farm free offer expires.

GeoRegion

Gets geographical location for the App Service plan.

HostingEnvironmentProfile

Gets or sets specification for the App Service Environment to use for the App Service plan.

HyperV

Gets or sets if Hyper-V container app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

Id

Gets resource Id.

(Inherited from ProxyOnlyResource)
IsSpot

Gets or sets if &lt;code&gt;true&lt;/code&gt;, this App Service Plan owns spot instances.

IsXenon

Gets or sets obsolete: If Hyper-V container app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

Kind

Gets or sets kind of resource.

(Inherited from ProxyOnlyResource)
KubeEnvironmentProfile

Gets or sets specification for the Kubernetes Environment to use for the App Service plan.

MaximumElasticWorkerCount

Gets or sets maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan

MaximumNumberOfWorkers

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

Name

Gets resource Name.

(Inherited from ProxyOnlyResource)
NumberOfSites

Gets number of apps assigned to this App Service plan.

PerSiteScaling

Gets or sets if &lt;code&gt;true&lt;/code&gt;, apps assigned to this App Service plan can be scaled independently. If &lt;code&gt;false&lt;/code&gt;, apps assigned to this App Service plan will scale to all instances of the plan.

ProvisioningState

Gets provisioning state of the App Service Plan. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'

Reserved

Gets or sets if Linux app service plan &lt;code&gt;true&lt;/code&gt;, &lt;code&gt;false&lt;/code&gt; otherwise.

ResourceGroup

Gets resource group of the App Service plan.

SpotExpirationTime

Gets or sets the time when the server farm expires. Valid only if it is a spot server farm.

Status

Gets app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'

Subscription

Gets app Service plan subscription.

TargetWorkerCount

Gets or sets scaling worker count.

TargetWorkerSizeId

Gets or sets scaling worker size ID.

Type

Gets resource type.

(Inherited from ProxyOnlyResource)
WorkerTierName

Gets or sets target worker tier assigned to the App Service plan.

ZoneRedundant

Gets or sets if &lt;code&gt;true&lt;/code&gt;, this App Service Plan will perform availability zone balancing. If &lt;code&gt;false&lt;/code&gt;, this App Service Plan will not perform availability zone balancing.

Applies to