ValidateRequest interface
資源驗證要求內容。
屬性
| app |
App Service 環境屬性 |
| capacity | App Service 方案的目標容量(VM 數目)。 |
| container |
平台 (windows 或 linux) |
| container |
存放庫名稱(映像名稱) |
| container |
影像標籤 |
| container |
容器登錄的基底 URL |
| container |
存取容器登錄的密碼 |
| container |
用來存取容器登錄的用戶名稱 |
| hosting |
應在其中建立應用程式或App Service方案的App Service環境名稱。 |
| is |
如果 App Service 方案適用於 Spot 實例, |
| is |
如果 App Service 方案是以 Windows 容器的形式執行, |
| location | 資源的預期位置。 |
| name | 要驗證的資源名稱。 |
| need |
如果 App Service 方案適用於 Linux 背景工作角色, |
| server |
裝載應用程式的 App Service 方案的 ARM 資源識別碼。 |
| sku |
App Service 方案的目標 SKU 名稱。 |
| type | 用於驗證的資源類型。 |
屬性詳細資料
appServiceEnvironment
capacity
App Service 方案的目標容量(VM 數目)。
capacity?: number
屬性值
number
containerImagePlatform
平台 (windows 或 linux)
containerImagePlatform?: string
屬性值
string
containerImageRepository
存放庫名稱(映像名稱)
containerImageRepository?: string
屬性值
string
containerImageTag
影像標籤
containerImageTag?: string
屬性值
string
containerRegistryBaseUrl
容器登錄的基底 URL
containerRegistryBaseUrl?: string
屬性值
string
containerRegistryPassword
存取容器登錄的密碼
containerRegistryPassword?: string
屬性值
string
containerRegistryUsername
用來存取容器登錄的用戶名稱
containerRegistryUsername?: string
屬性值
string
hostingEnvironment
應在其中建立應用程式或App Service方案的App Service環境名稱。
hostingEnvironment?: string
屬性值
string
isSpot
如果 App Service 方案適用於 Spot 實例,true;否則,false。
isSpot?: boolean
屬性值
boolean
isXenon
如果 App Service 方案是以 Windows 容器的形式執行,true
isXenon?: boolean
屬性值
boolean
location
資源的預期位置。
location: string
屬性值
string
name
要驗證的資源名稱。
name: string
屬性值
string
needLinuxWorkers
如果 App Service 方案適用於 Linux 背景工作角色,true;否則,false。
needLinuxWorkers?: boolean
屬性值
boolean
serverFarmId
裝載應用程式的 App Service 方案的 ARM 資源識別碼。
serverFarmId?: string
屬性值
string
skuName
App Service 方案的目標 SKU 名稱。
skuName?: string
屬性值
string
type
用於驗證的資源類型。
type: string
屬性值
string