你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WorkerPool 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- computeMode
- Nullable<ComputeModeOptions>
共享或专用应用托管。 可能的值包括:“Shared”、“Dedicated”、“Dynamic”
- workerSize
- String
辅助角色池实例的 VM 大小。