WorkerPoolResource Class

Worker pool of an App Service Environment ARM resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.web.v2021_01_15.models._models_py3.ProxyOnlyResource
WorkerPoolResource

Constructor

WorkerPoolResource(*, kind: Optional[str] = None, sku: Optional[azure.mgmt.web.v2021_01_15.models._models_py3.SkuDescription] = None, worker_size_id: Optional[int] = None, compute_mode: Optional[Union[str, azure.mgmt.web.v2021_01_15.models._web_site_management_client_enums.ComputeModeOptions]] = None, worker_size: Optional[str] = None, worker_count: Optional[int] = None, **kwargs)

Parameters

kind
str
Required

Kind of resource.

sku
SkuDescription
Required

Description of a SKU for a scalable resource.

worker_size_id
int
Required

Worker size ID for referencing this worker pool.

compute_mode
str or ComputeModeOptions
Required

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

worker_size
str
Required

VM size of the worker pool instances.

worker_count
int
Required

Number of instances in the worker pool.

Variables

id
str

Resource Id.

name
str

Resource Name.

type
str

Resource type.

instance_names
list[str]

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