Skip to main content

app_resiliencies

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

Overview

Nameapp_resiliencies
TypeResource
Idazure.container_apps.app_resiliencies

Fields

NameDatatypeDescription
propertiesobjectApp Resiliency resource specific properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTappName, name, resourceGroupName, subscriptionIdGet container app resiliency policy.
listSELECTappName, resourceGroupName, subscriptionIdList container app resiliency policies.
create_or_updateINSERTappName, name, resourceGroupName, subscriptionIdCreate or update container app resiliency policy.
deleteDELETEappName, name, resourceGroupName, subscriptionIdDelete container app resiliency policy.
updateUPDATEappName, name, resourceGroupName, subscriptionIdUpdate container app resiliency policy.

SELECT examples

List container app resiliency policies.

SELECT
properties
FROM azure.container_apps.app_resiliencies
WHERE appName = '{{ appName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.container_apps.app_resiliencies (
appName,
name,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ appName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a app_resiliencies resource.

/*+ update */
UPDATE azure.container_apps.app_resiliencies
SET
properties = '{{ properties }}'
WHERE
appName = '{{ appName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified app_resiliencies resource.

/*+ delete */
DELETE FROM azure.container_apps.app_resiliencies
WHERE appName = '{{ appName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';