Skip to main content

environments_multi_role_pools

Creates, updates, deletes, gets or lists a environments_multi_role_pools resource.

Overview

Nameenvironments_multi_role_pools
TypeResource
Idazure.app_service.environments_multi_role_pools

Fields

NameDatatypeDescription
idstringResource Id.
namestringResource Name.
kindstringKind of resource.
propertiesobjectWorker pool of an App Service Environment.
skuobjectDescription of a SKU for a scalable resource.
typestringResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionIdDescription for Get properties of a multi-role pool.
listSELECTname, resourceGroupName, subscriptionIdDescription for Get all multi-role pools.
create_or_updateINSERTname, resourceGroupName, subscriptionIdDescription for Create or update a multi-role pool.
updateUPDATEname, resourceGroupName, subscriptionIdDescription 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.

/*+ create */
INSERT INTO azure.app_service.environments_multi_role_pools (
name,
resourceGroupName,
subscriptionId,
kind,
properties,
sku
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ kind }}',
'{{ properties }}',
'{{ sku }}'
;

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 }}';