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

WorkerPool 构造函数

定义

重载

WorkerPool()

初始化 WorkerPool 类的新实例。

WorkerPool(Nullable<Int32>, Nullable<ComputeModeOptions>, String, Nullable<Int32>, IList<String>)

初始化 WorkerPool 类的新实例。

WorkerPool()

初始化 WorkerPool 类的新实例。

public WorkerPool ();
Public Sub New ()

适用于

WorkerPool(Nullable<Int32>, Nullable<ComputeModeOptions>, String, Nullable<Int32>, IList<String>)

初始化 WorkerPool 类的新实例。

public WorkerPool (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);
new Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPool : Nullable<int> * Nullable<Microsoft.Azure.Management.AppService.Fluent.Models.ComputeModeOptions> * string * Nullable<int> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPool
Public Sub New (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)

参数

workerSizeId
Nullable<Int32>

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

computeMode
Nullable<ComputeModeOptions>

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

workerSize
String

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

workerCount
Nullable<Int32>

辅助角色池中的实例数。

instanceNames
IList<String>

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

适用于