Partager via


WorkerPoolResource Class

Definition

Worker pool of an App Service Environment ARM resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.WorkerPoolResourceTypeConverter))]
public class WorkerPoolResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IWorkerPoolResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.WorkerPoolResourceTypeConverter))>]
type WorkerPoolResource = class
    interface IWorkerPoolResource
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class WorkerPoolResource
Implements IValidates, IWorkerPoolResource
Inheritance
WorkerPoolResource
Attributes
Implements

Constructors

WorkerPoolResource()

Creates an new WorkerPoolResource instance.

Properties

Capacity

Current number of instances assigned to the resource.

ComputeMode

Shared or dedicated app hosting.

Id

Resource Id.

InstanceName

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

Kind

Kind of resource.

Name

Resource Name.

SkuCapability

Capabilities of the SKU, e.g., is traffic manager enabled?

SkuCapacityDefault

Default number of workers for this App Service plan SKU.

SkuCapacityMaximum

Maximum number of workers for this App Service plan SKU.

SkuCapacityMinimum

Minimum number of workers for this App Service plan SKU.

SkuCapacityScaleType

Available scale configurations for an App Service plan.

SkuFamily

Family code of the resource SKU.

SkuLocation

Locations of the SKU.

SkuName

Name of the resource SKU.

SkuSize

Size specifier of the resource SKU.

SkuTier

Service tier of the resource SKU.

Type

Resource type.

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 WorkerPoolResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of WorkerPoolResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IWorkerPoolResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of WorkerPoolResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to