Microsoft.Web hostingEnvironments/multiRolePools 2020-12-01

The hostingEnvironments/multiRolePools 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/multiRolePools resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Web/hostingEnvironments/multiRolePools@2020-12-01' = {
  name: 'default'
  sku: {
    capabilities: [
      {
        name: 'string'
        reason: 'string'
        value: 'string'
      }
    ]
    capacity: int
    family: 'string'
    locations: [ 'string' ]
    name: 'string'
    size: 'string'
    skuCapacity: {
      default: int
      elasticMaximum: int
      maximum: int
      minimum: int
      scaleType: 'string'
    }
    tier: 'string'
  }
  kind: 'string'
  parent: parentSymbolicName
  properties: {
    computeMode: 'string'
    workerCount: int
    workerSize: 'string'
    workerSizeId: int
  }
}

Property values

hostingEnvironments/multiRolePools

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Web/hostingEnvironments/multiRolePools'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-12-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'default'
sku Description of 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.
parentSymbolicName
properties Worker pool of an App Service Environment. WorkerPool

WorkerPool

Name Description Value
computeMode Shared/dedicated workers. 'Dedicated'
'Dynamic'
'Shared'
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
capabilities Capabilities of the SKU, e.g., is traffic manager enabled? Capability[]
capacity Current number of instances assigned to the resource. int
family Family code of the resource SKU. string
locations Locations of the SKU. string[]
name Name of the resource SKU. string
size Size specifier of the resource SKU. string
skuCapacity Description of the App Service plan scale options. SkuCapacity
tier Service tier of the resource SKU. string

Capability

Name Description Value
name Name of the SKU capability. string
reason Reason of the SKU capability. string
value Value of the SKU capability. string

SkuCapacity

Name Description Value
default Default number of workers for this App Service plan SKU. int
elasticMaximum Maximum number of Elastic workers for this App Service plan SKU. int
maximum Maximum number of workers for this App Service plan SKU. int
minimum Minimum number of workers for this App Service plan SKU. int
scaleType Available scale configurations for an App Service plan. string