ValidateRequest 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
資源驗證要求內容。
[Microsoft.Rest.Serialization.JsonTransformation]
public class ValidateRequest
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ValidateRequest = class
Public Class ValidateRequest
- 繼承
-
ValidateRequest
- 屬性
建構函式
ValidateRequest() |
初始化 ValidateRequest 類別的新實例。 |
ValidateRequest(String, ValidateResourceTypes, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, String, Nullable<Boolean>, String, String, String, String, String, String) |
初始化 ValidateRequest 類別的新實例。 |
屬性
Capacity |
取得或設定App Service計畫的目標容量, () 的 VM 數目。 |
ContainerImagePlatform |
取得或設定平臺 (視窗或 linux) |
ContainerImageRepository |
取得或設定映射名稱 (存放庫名稱) |
ContainerImageTag |
取得或設定影像標記 |
ContainerRegistryBaseUrl |
取得或設定容器登錄的基底 URL |
ContainerRegistryPassword |
取得或設定 用來存取容器登錄的密碼 |
ContainerRegistryUsername |
取得或設定 用來存取容器登錄的使用者名稱 |
HostingEnvironment |
取得或設定應該在其中建立應用程式或App Service計畫之App Service 環境的名稱。 |
IsSpot |
取得或設定 & lt;code & gt;true & lt;/code & gt; 如果App Service計畫適用于 Spot 實例,則為 ;否則為 & lt;code & gt;false & lt;/code & gt;。 |
IsXenon |
取得或設定 & lt;code & gt;true & lt;/code & gt; 如果App Service計畫是以 Windows 容器的形式執行 |
Location |
取得或設定資源的預期位置。 |
Name |
取得或設定要驗證的資源名稱。 |
NeedLinuxWorkers |
取得或設定 & lt;code & gt;true & lt;/code & gt; 如果App Service計畫適用于 Linux 背景工作角色,則為 ;否則為 & lt;code & gt;false & lt;/code & gt;。 |
ServerFarmId |
取得或設定裝載應用程式的App Service方案的 ARM 資源識別碼。 |
SkuName |
取得或設定App Service方案的目標 SKU 名稱。 |
Type |
取得或設定用於驗證的資源類型。 可能的值包括:'ServerFarm'、'Site' |
方法
Validate() |
驗證 物件。 |