Microsoft.Web hostingEnvironments/workerPools 2015-08-01
The hostingEnvironments/workerPools resource type can be deployed to: Resource groups.
To learn about resource group deployments, see Bicep or ARM template.
Template format
To create a Microsoft.Web/hostingEnvironments/workerPools resource, add the following Bicep or JSON to your template.
resource symbolicname 'Microsoft.Web/hostingEnvironments/workerPools@2015-08-01' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
capacity: int
family: 'string'
name: 'string'
size: 'string'
tier: 'string'
}
kind: 'string'
parent: resourceSymbolicName
properties: {
computeMode: 'string'
instanceNames: [
'string'
]
workerCount: int
workerSize: 'string'
workerSizeId: int
}
}
Property values
hostingEnvironments/workerPools
| Name | Description | Value |
|---|---|---|
| type | The resource type For Bicep, set this value in the resource declaration. |
'Microsoft.Web/hostingEnvironments/workerPools' |
| apiVersion | The resource api version For Bicep, set this value in the resource declaration. |
'2015-08-01' |
| name | The resource name See how to set names and types for child resources in Bicep or JSON ARM templates. |
string (required) |
| location | Resource Location | string (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| sku | Describes a sku for a scalable resource | SkuDescription |
| kind | Kind of resource | string |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: hostingEnvironments |
| properties | WorkerPoolProperties |
WorkerPoolProperties
| Name | Description | Value |
|---|---|---|
| computeMode | Shared or dedicated web app hosting | 'Dedicated' 'Dynamic' 'Shared' |
| instanceNames | Names of all instances in the worker pool (read only) | string[] |
| workerCount | Number of instances in the worker pool | int |
| workerSize | VM size of the worker pool instances | string |
| workerSizeId | Worker size id for referencing this worker pool | int |
SkuDescription
| Name | Description | Value |
|---|---|---|
| capacity | Current number of instances assigned to the resource | int |
| family | Family code of the resource sku | string |
| name | Name of the resource sku | string |
| size | Size specifier of the resource sku | string |
| tier | Service Tier of the resource sku | string |