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

WorkerPoolResourceInner 构造函数

定义

重载

WorkerPoolResourceInner()

初始化 WorkerPoolResourceInner 类的新实例。

WorkerPoolResourceInner(String, String, String, String, Nullable<Int32>, Nullable<ComputeModeOptions>, String, Nullable<Int32>, IList<String>, SkuDescription)

初始化 WorkerPoolResourceInner 类的新实例。

WorkerPoolResourceInner()

初始化 WorkerPoolResourceInner 类的新实例。

public WorkerPoolResourceInner ();
Public Sub New ()

适用于

WorkerPoolResourceInner(String, String, String, String, Nullable<Int32>, Nullable<ComputeModeOptions>, String, Nullable<Int32>, IList<String>, SkuDescription)

初始化 WorkerPoolResourceInner 类的新实例。

public WorkerPoolResourceInner (string id = default, string name = default, string type = default, string kind = default, int? workerSizeId = default, Microsoft.Azure.Management.AppService.Fluent.Models.ComputeModeOptions? computeMode = default, string workerSize = default, int? workerCount = default, System.Collections.Generic.IList<string> instanceNames = default, Microsoft.Azure.Management.AppService.Fluent.Models.SkuDescription sku = default);
new Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner : string * string * string * string * Nullable<int> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.ComputeModeOptions> * string * Nullable<int> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.AppService.Fluent.Models.SkuDescription -> Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional workerSizeId As Nullable(Of Integer) = Nothing, Optional computeMode As Nullable(Of ComputeModeOptions) = Nothing, Optional workerSize As String = Nothing, Optional workerCount As Nullable(Of Integer) = Nothing, Optional instanceNames As IList(Of String) = Nothing, Optional sku As SkuDescription = Nothing)

参数

id
String
name
String
type
String
kind
String

资源类型。

workerSizeId
Nullable<Int32>

用于引用此辅助角色池的辅助角色大小 ID。

computeMode
Nullable<ComputeModeOptions>

共享或专用应用托管。 可能的值包括:“Shared”、“Dedicated”、“Dynamic”

workerSize
String

辅助角色池实例的 VM 大小。

workerCount
Nullable<Int32>

辅助角色池中的实例数。

instanceNames
IList<String>

辅助角色池中所有实例的名称 (只读) 。

适用于