Share via


WorkerPoolResource Constructors

Definition

Overloads

WorkerPoolResource()

Initializes a new instance of the WorkerPoolResource class.

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

Initializes a new instance of the WorkerPoolResource class.

WorkerPoolResource()

Initializes a new instance of the WorkerPoolResource class.

public WorkerPoolResource ();
Public Sub New ()

Applies to

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

Initializes a new instance of the WorkerPoolResource class.

public WorkerPoolResource (string id = default, string name = default, string kind = default, string type = default, int? workerSizeId = default, Microsoft.Azure.Management.WebSites.Models.ComputeModeOptions? computeMode = default, string workerSize = default, int? workerCount = default, System.Collections.Generic.IList<string> instanceNames = default, Microsoft.Azure.Management.WebSites.Models.SkuDescription sku = default);
new Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource : string * string * string * string * Nullable<int> * Nullable<Microsoft.Azure.Management.WebSites.Models.ComputeModeOptions> * string * Nullable<int> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.WebSites.Models.SkuDescription -> Microsoft.Azure.Management.WebSites.Models.WorkerPoolResource
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional kind As String = Nothing, Optional type 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)

Parameters

id
String

Resource Id.

name
String

Resource Name.

kind
String

Kind of resource.

type
String

Resource type.

workerSizeId
Nullable<Int32>

Worker size ID for referencing this worker pool.

computeMode
Nullable<ComputeModeOptions>

Shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'

workerSize
String

VM size of the worker pool instances.

workerCount
Nullable<Int32>

Number of instances in the worker pool.

instanceNames
IList<String>

Names of all instances in the worker pool (read only).

Applies to