AppServicePlanProperties interface
AppServicePlan 資源特定屬性
屬性
| elastic |
ServerFarm 支援 ElasticScale。 此方案中的應用程式會像 ServerFarm 是 ElasticPremium sku 一樣調整 |
| free |
伺服器數位免費供應專案到期的時間。 |
| hosting |
App Service 環境用於 App Service 方案的規格。 |
| hyperV | 如果 Hyper-V 容器 App Service 方案 |
| is |
如果 |
| is |
過時:如果 Hyper-V 容器 App Service 方案 |
| kube |
要用於 App Service 方案的 Kubernetes Environment 規格。 |
| maximum |
此 ElasticScaleEnabled App Service 方案允許的工作者總數上限 |
| per |
如果 |
| reserved | 如果 Linux App Service 方案 |
| spot |
伺服器陣列到期的時間。 只有在它是現成伺服器陣列時才有效。 |
| target |
調整背景工作計數。 |
| target |
調整背景工作角色大小標識碼。 |
| worker |
指派給 App Service 方案的目標背景工作層。 |
| zone |
如果 |
屬性詳細資料
elasticScaleEnabled
ServerFarm 支援 ElasticScale。 此方案中的應用程式會像 ServerFarm 是 ElasticPremium sku 一樣調整
elasticScaleEnabled?: boolean
屬性值
boolean
freeOfferExpirationTime
伺服器數位免費供應專案到期的時間。
freeOfferExpirationTime?: string | Date
屬性值
string | Date
hostingEnvironmentProfile
App Service 環境用於 App Service 方案的規格。
hostingEnvironmentProfile?: HostingEnvironmentProfile
屬性值
hyperV
如果 Hyper-V 容器 App Service 方案 true,則為 ,否則為 false。
hyperV?: boolean
屬性值
boolean
isSpot
如果 true,則此 App Service 方案擁有現成實例。
isSpot?: boolean
屬性值
boolean
isXenon
過時:如果 Hyper-V 容器 App Service 方案 true,則為 ,否則為 false。
isXenon?: boolean
屬性值
boolean
kubeEnvironmentProfile
要用於 App Service 方案的 Kubernetes Environment 規格。
kubeEnvironmentProfile?: KubeEnvironmentProfile
屬性值
maximumElasticWorkerCount
此 ElasticScaleEnabled App Service 方案允許的工作者總數上限
maximumElasticWorkerCount?: number
屬性值
number
perSiteScaling
如果 true,則指派給此 App Service 方案的應用程式可以獨立調整。
如果 false,指派給此 App Service 方案的應用程式將會調整為方案的所有實例。
perSiteScaling?: boolean
屬性值
boolean
reserved
如果 Linux App Service 方案 true,則為 ,否則為 false。
reserved?: boolean
屬性值
boolean
spotExpirationTime
伺服器陣列到期的時間。 只有在它是現成伺服器陣列時才有效。
spotExpirationTime?: string | Date
屬性值
string | Date
targetWorkerCount
調整背景工作計數。
targetWorkerCount?: number
屬性值
number
targetWorkerSizeId
調整背景工作角色大小標識碼。
targetWorkerSizeId?: number
屬性值
number
workerTierName
指派給 App Service 方案的目標背景工作層。
workerTierName?: string
屬性值
string
zoneRedundant
如果 true,此 App Service 方案將會執行可用性區域平衡。
如果 false,此 App Service 方案將不會執行可用性區域平衡。
zoneRedundant?: boolean
屬性值
boolean