你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ValidateRequest 构造函数

定义

重载

ValidateRequest()

初始化 ValidateRequest 类的新实例。

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

初始化 ValidateRequest 类的新实例。

ValidateRequest()

初始化 ValidateRequest 类的新实例。

public ValidateRequest ();
Public Sub New ()

适用于

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

初始化 ValidateRequest 类的新实例。

public ValidateRequest (string name, string 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, Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment appServiceEnvironment = default);
new Microsoft.Azure.Management.WebSites.Models.ValidateRequest : string * string * string * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * string * Nullable<bool> * string * string * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.AppServiceEnvironment -> Microsoft.Azure.Management.WebSites.Models.ValidateRequest
Public Sub New (name As String, type As String, 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, Optional appServiceEnvironment As AppServiceEnvironment = Nothing)

参数

name
String

要验证的资源名称。

type
String

用于验证的资源类型。 可能的值包括:“ServerFarm”、“Site”、“Microsoft.Web/hostingEnvironments”

location
String

资源的预期位置。

serverFarmId
String

将托管应用的App 服务计划的 ARM 资源 ID。

skuName
String

App 服务计划的目标 SKU 的名称。

needLinuxWorkers
Nullable<Boolean>

<如果App 服务计划适用于 Linux 辅助角色,则为代码>true/code>;否则为 <false></code><。

isSpot
Nullable<Boolean>

<如果>App 服务计划适用于现成实例,则代码为 true</code>;否则为 <false></code>。

capacity
Nullable<Int32>

App 服务计划的目标容量 () VM 数。

hostingEnvironment
String

应在其中创建应用或App 服务计划的应用服务环境的名称。

isXenon
Nullable<Boolean>

<code>true</code>(如果App 服务计划作为 Windows 容器运行)

containerRegistryBaseUrl
String

容器注册表的基 URL

containerRegistryUsername
String

用于访问容器注册表的用户名

containerRegistryPassword
String

用于访问容器注册表的密码

containerImageRepository
String

存储库名称 (映像名称)

containerImageTag
String

映像标记

containerImagePlatform
String

平台 (Windows 或 linux)

appServiceEnvironment
AppServiceEnvironment

应用服务环境属性

适用于