AppServicePlan interface
App Service plan.
- Extends
Properties
| async |
If |
| elastic |
ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku |
| extended |
Extended Location. |
| free |
The time when the server farm free offer expires. |
| geo |
Geographical location for the App Service plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| hosting |
Specification for the App Service Environment to use for the App Service plan. |
| hyperV | If Hyper-V container app service plan |
| is |
If |
| is |
Obsolete: If Hyper-V container app service plan |
| kube |
Specification for the Kubernetes Environment to use for the App Service plan. |
| maximum |
Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan |
| maximum |
Maximum number of instances that can be assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| number |
Number of apps assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| number |
The number of instances that are assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| per |
If |
| provisioning |
Provisioning state of the App Service Plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| reserved | If Linux app service plan |
| resource |
Resource group of the App Service plan. NOTE: This property will not be serialized. It can only be populated by the server. |
| sku | Description of a SKU for a scalable resource. |
| spot |
The time when the server farm expires. Valid only if it is a spot server farm. |
| status | App Service plan status. NOTE: This property will not be serialized. It can only be populated by the server. |
| subscription | App Service plan subscription. NOTE: This property will not be serialized. It can only be populated by the server. |
| target |
Scaling worker count. |
| target |
Scaling worker size ID. |
| worker |
Target worker tier assigned to the App Service plan. |
| zone |
If |
Inherited Properties
| id | Resource Id. NOTE: This property will not be serialized. It can only be populated by the server. |
| kind | Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. |
| location | Resource Location. |
| name | Resource Name. NOTE: This property will not be serialized. It can only be populated by the server. |
| tags | Resource tags. |
| type | Resource type. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
asyncScalingEnabled
If true, this App Service Plan will attempt to scale asynchronously if there are insufficient workers to scale synchronously.
If false, this App Service Plan will only attempt sync scaling.
asyncScalingEnabled?: boolean
Property Value
boolean
elasticScaleEnabled
ServerFarm supports ElasticScale. Apps in this plan will scale as if the ServerFarm was ElasticPremium sku
elasticScaleEnabled?: boolean
Property Value
boolean
extendedLocation
freeOfferExpirationTime
The time when the server farm free offer expires.
freeOfferExpirationTime?: Date
Property Value
Date
geoRegion
Geographical location for the App Service plan. NOTE: This property will not be serialized. It can only be populated by the server.
geoRegion?: string
Property Value
string
hostingEnvironmentProfile
Specification for the App Service Environment to use for the App Service plan.
hostingEnvironmentProfile?: HostingEnvironmentProfile
Property Value
hyperV
If Hyper-V container app service plan true, false otherwise.
hyperV?: boolean
Property Value
boolean
isSpot
If true, this App Service Plan owns spot instances.
isSpot?: boolean
Property Value
boolean
isXenon
Obsolete: If Hyper-V container app service plan true, false otherwise.
isXenon?: boolean
Property Value
boolean
kubeEnvironmentProfile
Specification for the Kubernetes Environment to use for the App Service plan.
kubeEnvironmentProfile?: KubeEnvironmentProfile
Property Value
maximumElasticWorkerCount
Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan
maximumElasticWorkerCount?: number
Property Value
number
maximumNumberOfWorkers
Maximum number of instances that can be assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server.
maximumNumberOfWorkers?: number
Property Value
number
numberOfSites
Number of apps assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server.
numberOfSites?: number
Property Value
number
numberOfWorkers
The number of instances that are assigned to this App Service plan. NOTE: This property will not be serialized. It can only be populated by the server.
numberOfWorkers?: number
Property Value
number
perSiteScaling
If true, apps assigned to this App Service plan can be scaled independently.
If false, apps assigned to this App Service plan will scale to all instances of the plan.
perSiteScaling?: boolean
Property Value
boolean
provisioningState
Provisioning state of the App Service Plan. NOTE: This property will not be serialized. It can only be populated by the server.
provisioningState?: ProvisioningState
Property Value
reserved
If Linux app service plan true, false otherwise.
reserved?: boolean
Property Value
boolean
resourceGroup
Resource group of the App Service plan. NOTE: This property will not be serialized. It can only be populated by the server.
resourceGroup?: string
Property Value
string
sku
spotExpirationTime
The time when the server farm expires. Valid only if it is a spot server farm.
spotExpirationTime?: Date
Property Value
Date
status
App Service plan status. NOTE: This property will not be serialized. It can only be populated by the server.
status?: StatusOptions
Property Value
subscription
App Service plan subscription. NOTE: This property will not be serialized. It can only be populated by the server.
subscription?: string
Property Value
string
targetWorkerCount
Scaling worker count.
targetWorkerCount?: number
Property Value
number
targetWorkerSizeId
Scaling worker size ID.
targetWorkerSizeId?: number
Property Value
number
workerTierName
Target worker tier assigned to the App Service plan.
workerTierName?: string
Property Value
string
zoneRedundant
If true, this App Service Plan will perform availability zone balancing.
If false, this App Service Plan will not perform availability zone balancing.
zoneRedundant?: boolean
Property Value
boolean
Inherited Property Details
id
Resource Id. NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
Inherited From Resource.id
kind
Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind.
kind?: string
Property Value
string
Inherited From Resource.kind
location
name
Resource Name. NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
Inherited From Resource.name
tags
Resource tags.
tags?: {[propertyName: string]: string}
Property Value
{[propertyName: string]: string}
Inherited From Resource.tags
type
Resource type. NOTE: This property will not be serialized. It can only be populated by the server.
type?: string
Property Value
string
Inherited From Resource.type