AppServicePlan interface
App Service plan.
- Extends
Properties
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 |
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. |
per |
If |
provisioning |
Provisioning state of the App Service Environment. 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. |
Inherited Properties
id | Resource Id. NOTE: This property will not be serialized. It can only be populated by the server. |
kind | Kind of resource. |
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
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
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
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 Environment. 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
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
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