Skip to main content

session_pools

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

Overview

Namesession_pools
TypeResource
Idazure.container_apps.session_pools

Fields

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectContainer App session pool resource specific properties
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, sessionPoolName, subscriptionId
list_by_resource_groupSELECTresourceGroupName, subscriptionId
list_by_subscriptionSELECTsubscriptionId
create_or_updateINSERTresourceGroupName, sessionPoolName, subscriptionIdCreate or update a session pool with the given properties.
deleteDELETEresourceGroupName, sessionPoolName, subscriptionIdDelete the session pool with the given name.
updateUPDATEresourceGroupName, sessionPoolName, subscriptionIdPatches a session pool using JSON merge patch

SELECT examples

SELECT
location,
properties,
tags
FROM azure.container_apps.session_pools
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new session_pools resource.

/*+ create */
INSERT INTO azure.container_apps.session_pools (
resourceGroupName,
sessionPoolName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ sessionPoolName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a session_pools resource.

/*+ update */
UPDATE azure.container_apps.session_pools
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND sessionPoolName = '{{ sessionPoolName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified session_pools resource.

/*+ delete */
DELETE FROM azure.container_apps.session_pools
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND sessionPoolName = '{{ sessionPoolName }}'
AND subscriptionId = '{{ subscriptionId }}';