environments_multi_role_pools
Creates, updates, deletes, gets or lists a environments_multi_role_pools
resource.
Overview
Name | environments_multi_role_pools |
Type | Resource |
Id | azure.app_service.environments_multi_role_pools |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Resource Id. |
name | string | Resource Name. |
kind | string | Kind of resource. |
properties | object | Worker pool of an App Service Environment. |
sku | object | Description of a SKU for a scalable resource. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId | Description for Get properties of a multi-role pool. |
list | SELECT | name, resourceGroupName, subscriptionId | Description for Get all multi-role pools. |
create_or_update | INSERT | name, resourceGroupName, subscriptionId | Description for Create or update a multi-role pool. |
update | UPDATE | name, resourceGroupName, subscriptionId | Description for Create or update a multi-role pool. |
SELECT
examples
Description for Get properties of a multi-role pool.
SELECT
id,
name,
kind,
properties,
sku,
type
FROM azure.app_service.environments_multi_role_pools
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new environments_multi_role_pools
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.app_service.environments_multi_role_pools (
name,
resourceGroupName,
subscriptionId,
kind,
properties,
sku
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}',
'{{ sku }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: kind
value: string
- name: type
value: string
- name: properties
value:
- name: workerSizeId
value: integer
- name: computeMode
value: string
- name: workerSize
value: string
- name: workerCount
value: integer
- name: instanceNames
value:
- string
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: size
value: string
- name: family
value: string
- name: capacity
value: integer
- name: skuCapacity
value:
- name: minimum
value: integer
- name: maximum
value: integer
- name: elasticMaximum
value: integer
- name: default
value: integer
- name: scaleType
value: string
- name: locations
value:
- string
- name: capabilities
value:
- - name: name
value: string
- name: value
value: string
- name: reason
value: string
UPDATE
example
Updates a environments_multi_role_pools
resource.
/*+ update */
UPDATE azure.app_service.environments_multi_role_pools
SET
kind = '{{ kind }}',
properties = '{{ properties }}',
sku = '{{ sku }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';