Partager via


WorkerPool Class

Definition

Worker pool of an App Service Environment.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.WorkerPoolTypeConverter))]
public class WorkerPool : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IWorkerPool
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.WorkerPoolTypeConverter))>]
type WorkerPool = class
    interface IWorkerPool
    interface IJsonSerializable
Public Class WorkerPool
Implements IWorkerPool
Inheritance
WorkerPool
Attributes
Implements

Constructors

WorkerPool()

Creates an new WorkerPool instance.

Properties

ComputeMode

Shared or dedicated app hosting.

InstanceName

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

WorkerCount

Number of instances in the worker pool.

WorkerSize

VM size of the worker pool instances.

WorkerSizeId

Worker size ID for referencing this worker pool.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of WorkerPool.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WorkerPool.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IWorkerPool.

FromJsonString(String)

Creates a new instance of WorkerPool, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of WorkerPool into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to