共用方式為


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 類別的新實例。

ValidateRequest()

初始化 ValidateRequest 類別的新實例。

public ValidateRequest ();
Public Sub New ()

適用於

ValidateRequest(String, ValidateResourceTypes, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, String, Nullable<Boolean>, String, String, String, String, String, String)

初始化 ValidateRequest 類別的新實例。

public ValidateRequest (string name, Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResourceTypes type, string location, string serverFarmId = default, string skuName = default, bool? needLinuxWorkers = default, bool? isSpot = default, int? capacity = default, string hostingEnvironment = default, bool? isXenon = default, string containerRegistryBaseUrl = default, string containerRegistryUsername = default, string containerRegistryPassword = default, string containerImageRepository = default, string containerImageTag = default, string containerImagePlatform = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest : string * Microsoft.Azure.Management.AppService.Fluent.Models.ValidateResourceTypes * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * string * Nullable<bool> * string * string * string * string * string * string -> Microsoft.Azure.Management.AppService.Fluent.Models.ValidateRequest
Public Sub New (name As String, type As ValidateResourceTypes, location As String, Optional serverFarmId As String = Nothing, Optional skuName As String = Nothing, Optional needLinuxWorkers As Nullable(Of Boolean) = Nothing, Optional isSpot As Nullable(Of Boolean) = Nothing, Optional capacity As Nullable(Of Integer) = Nothing, Optional hostingEnvironment As String = Nothing, Optional isXenon As Nullable(Of Boolean) = Nothing, Optional containerRegistryBaseUrl As String = Nothing, Optional containerRegistryUsername As String = Nothing, Optional containerRegistryPassword As String = Nothing, Optional containerImageRepository As String = Nothing, Optional containerImageTag As String = Nothing, Optional containerImagePlatform As String = Nothing)

參數

name
String

要驗證的資源名稱。

type
ValidateResourceTypes

用於驗證的資源類型。 可能的值包括:'ServerFarm'、'Site'

location
String

資源的預期位置。

serverFarmId
String

裝載應用程式的App Service方案的 ARM 資源識別碼。

skuName
String

App Service方案的目標 SKU 名稱。

needLinuxWorkers
Nullable<Boolean>

<如果App Service計畫適用于 Linux 背景工作角色,則程式碼為 true < /code > ;否則為 >< false < /code > 。 >

isSpot
Nullable<Boolean>

<如果App Service計畫適用于 Spot 實例,則程式碼為 true < /code > ;否則為 >< false < /code > 。 >

capacity
Nullable<Int32>

App Service方案的目標容量, (VM 數目) 。

hostingEnvironment
String

應建立應用程式或App Service方案App Service 環境名稱。

isXenon
Nullable<Boolean>

<程式碼 true < /程式碼 >> ,如果App Service計畫是以 Windows 容器的形式執行

containerRegistryBaseUrl
String

容器登錄的基底 URL

containerRegistryUsername
String

用來存取容器登錄的使用者名稱

containerRegistryPassword
String

用來存取容器登錄的密碼

containerImageRepository
String

存放庫名稱 (映射名稱)

containerImageTag
String

映像標籤

containerImagePlatform
String

平臺 (視窗或 linux)

適用於