共用方式為


AppServicePlan interface

App Service 方案。

Extends

屬性

asyncScalingEnabled

如果 true,則如果沒有足夠的輔助角色來同步縮放,則此應用服務計劃將嘗試異步縮放。 如果 false,則此應用服務計劃將僅嘗試同步縮放。

elasticScaleEnabled

ServerFarm 支援 ElasticScale。 此方案中的應用程式會像 ServerFarm 是 ElasticPremium sku 一樣調整

extendedLocation

擴充位置。

freeOfferExpirationTime

伺服器數位免費供應專案到期的時間。

geoRegion

App Service 方案的地理位置。 注意:這個屬性不會串行化。 它只能由伺服器填入。

hostingEnvironmentProfile

App Service 環境用於 App Service 方案的規格。

hyperV

如果 Hyper-V 容器 App Service 方案 true,則為 ,否則為 false

identity

受控服務識別。

installScripts

安裝與此 App Service 方案相關聯的腳本。

isCustomMode

此伺服器陣列是否處於自訂模式。

isSpot

如果 true,則此 App Service 方案擁有現成實例。

isXenon

過時:如果 Hyper-V 容器 App Service 方案 true,則為 ,否則為 false

kubeEnvironmentProfile

要用於 App Service 方案的 Kubernetes Environment 規格。

maximumElasticWorkerCount

此 ElasticScaleEnabled App Service 方案允許的工作者總數上限

maximumNumberOfWorkers

可指派給此 App Service 方案的實例數目上限。 注意:這個屬性不會串行化。 它只能由伺服器填入。

network

伺服器陣列的所有網路設定。

numberOfSites

指派給此 App Service 方案的應用程式數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

numberOfWorkers

指派給此 App Service 方案的實例數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

perSiteScaling

如果 true,則指派給此 App Service 方案的應用程式可以獨立調整。 如果 false,指派給此 App Service 方案的應用程式將會調整為方案的所有實例。

planDefaultIdentity

平臺要使用受控識別來進行各種功能和整合的身分識別。

provisioningState

App Service 方案的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

rdpEnabled

如果 ,則 true會為此 App Service 方案啟用 RDP 存取。 僅適用於 IsCustomMode ASP。 如果 ,RDP false存取已停用。

registryAdapters

與此 App Service 方案相關聯的登錄配接器。

reserved

如果 Linux App Service 方案 true,則為 ,否則為 false

resourceGroup

App Service 方案的資源群組。 注意:這個屬性不會串行化。 它只能由伺服器填入。

sku

可調整資源的 SKU 描述。

spotExpirationTime

伺服器陣列到期的時間。 只有在它是現成伺服器陣列時才有效。

status

App Service 方案狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

storageMounts

與此 App Service 方案相關聯的儲存體掛接。

subscription

App Service 方案訂用帳戶。 注意:這個屬性不會串行化。 它只能由伺服器填入。

targetWorkerCount

調整背景工作計數。

targetWorkerSizeId

調整背景工作角色大小標識碼。

workerTierName

指派給 App Service 方案的目標背景工作層。

zoneRedundant

如果 true,此 App Service 方案將會執行可用性區域平衡。 如果 false,此 App Service 方案將不會執行可用性區域平衡。

繼承的屬性

id

資源標識碼。注意:此屬性將不會串行化。 它只能由伺服器填入。

kind

資源種類。 如果資源是應用程式,您可以參考 https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference 以取得種類支援的詳細值。

location

資源位置。

name

資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

tags

資源標籤。

type

資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

asyncScalingEnabled

如果 true,則如果沒有足夠的輔助角色來同步縮放,則此應用服務計劃將嘗試異步縮放。 如果 false,則此應用服務計劃將僅嘗試同步縮放。

asyncScalingEnabled?: boolean

屬性值

boolean

elasticScaleEnabled

ServerFarm 支援 ElasticScale。 此方案中的應用程式會像 ServerFarm 是 ElasticPremium sku 一樣調整

elasticScaleEnabled?: boolean

屬性值

boolean

extendedLocation

擴充位置。

extendedLocation?: ExtendedLocation

屬性值

freeOfferExpirationTime

伺服器數位免費供應專案到期的時間。

freeOfferExpirationTime?: Date

屬性值

Date

geoRegion

App Service 方案的地理位置。 注意:這個屬性不會串行化。 它只能由伺服器填入。

geoRegion?: string

屬性值

string

hostingEnvironmentProfile

App Service 環境用於 App Service 方案的規格。

hostingEnvironmentProfile?: HostingEnvironmentProfile

屬性值

hyperV

如果 Hyper-V 容器 App Service 方案 true,則為 ,否則為 false

hyperV?: boolean

屬性值

boolean

identity

受控服務識別。

identity?: ManagedServiceIdentity

屬性值

installScripts

安裝與此 App Service 方案相關聯的腳本。

installScripts?: InstallScript[]

屬性值

isCustomMode

此伺服器陣列是否處於自訂模式。

isCustomMode?: 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

maximumNumberOfWorkers

可指派給此 App Service 方案的實例數目上限。 注意:這個屬性不會串行化。 它只能由伺服器填入。

maximumNumberOfWorkers?: number

屬性值

number

network

伺服器陣列的所有網路設定。

network?: ServerFarmNetworkSettings

屬性值

numberOfSites

指派給此 App Service 方案的應用程式數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

numberOfSites?: number

屬性值

number

numberOfWorkers

指派給此 App Service 方案的實例數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

numberOfWorkers?: number

屬性值

number

perSiteScaling

如果 true,則指派給此 App Service 方案的應用程式可以獨立調整。 如果 false,指派給此 App Service 方案的應用程式將會調整為方案的所有實例。

perSiteScaling?: boolean

屬性值

boolean

planDefaultIdentity

平臺要使用受控識別來進行各種功能和整合的身分識別。

planDefaultIdentity?: DefaultIdentity

屬性值

provisioningState

App Service 方案的布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState?: ProvisioningState

屬性值

rdpEnabled

如果 ,則 true會為此 App Service 方案啟用 RDP 存取。 僅適用於 IsCustomMode ASP。 如果 ,RDP false存取已停用。

rdpEnabled?: boolean

屬性值

boolean

registryAdapters

與此 App Service 方案相關聯的登錄配接器。

registryAdapters?: RegistryAdapter[]

屬性值

reserved

如果 Linux App Service 方案 true,則為 ,否則為 false

reserved?: boolean

屬性值

boolean

resourceGroup

App Service 方案的資源群組。 注意:這個屬性不會串行化。 它只能由伺服器填入。

resourceGroup?: string

屬性值

string

sku

可調整資源的 SKU 描述。

sku?: SkuDescription

屬性值

spotExpirationTime

伺服器陣列到期的時間。 只有在它是現成伺服器陣列時才有效。

spotExpirationTime?: Date

屬性值

Date

status

App Service 方案狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

status?: StatusOptions

屬性值

storageMounts

與此 App Service 方案相關聯的儲存體掛接。

storageMounts?: StorageMount[]

屬性值

subscription

App Service 方案訂用帳戶。 注意:這個屬性不會串行化。 它只能由伺服器填入。

subscription?: string

屬性值

string

targetWorkerCount

調整背景工作計數。

targetWorkerCount?: number

屬性值

number

targetWorkerSizeId

調整背景工作角色大小標識碼。

targetWorkerSizeId?: number

屬性值

number

workerTierName

指派給 App Service 方案的目標背景工作層。

workerTierName?: string

屬性值

string

zoneRedundant

如果 true,此 App Service 方案將會執行可用性區域平衡。 如果 false,此 App Service 方案將不會執行可用性區域平衡。

zoneRedundant?: boolean

屬性值

boolean

繼承的屬性詳細資料

id

資源標識碼。注意:此屬性將不會串行化。 它只能由伺服器填入。

id?: string

屬性值

string

繼承自Resource.id

kind

資源種類。 如果資源是應用程式,您可以參考 https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference 以取得種類支援的詳細值。

kind?: string

屬性值

string

繼承自Resource.kind

location

資源位置。

location: string

屬性值

string

繼承自Resource.location

name

資源名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

name?: string

屬性值

string

繼承自Resource.name

tags

資源標籤。

tags?: {[propertyName: string]: string}

屬性值

{[propertyName: string]: string}

繼承自Resource.tags

type

資源類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

type?: string

屬性值

string

繼承自Resource.type