WorkerPool Class

Worker pool of an App Service Environment.

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

Inheritance
WorkerPool

Constructor

WorkerPool(*, worker_size_id: Optional[int] = None, compute_mode: Optional[Union[str, azure.mgmt.web.v2018_02_01.models._web_site_management_client_enums.ComputeModeOptions]] = None, worker_size: Optional[str] = None, worker_count: Optional[int] = None, **kwargs)

Parameters

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

instance_names
list[str]

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