Skip to main content

dapr_component_resiliency_policies

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

Overview

Namedapr_component_resiliency_policies
TypeResource
Idazure.container_apps.dapr_component_resiliency_policies

Fields

NameDatatypeDescription
propertiesobjectDapr Component Resiliency Policy resource specific properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTcomponentName, environmentName, name, resourceGroupName, subscriptionId
listSELECTcomponentName, environmentName, resourceGroupName, subscriptionId
create_or_updateINSERTcomponentName, environmentName, name, resourceGroupName, subscriptionIdCreates or updates a resiliency policy for a Dapr component.
deleteDELETEcomponentName, environmentName, name, resourceGroupName, subscriptionIdDelete a resiliency policy for a Dapr component.

SELECT examples

SELECT
properties
FROM azure.container_apps.dapr_component_resiliency_policies
WHERE componentName = '{{ componentName }}'
AND environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified dapr_component_resiliency_policies resource.

/*+ delete */
DELETE FROM azure.container_apps.dapr_component_resiliency_policies
WHERE componentName = '{{ componentName }}'
AND environmentName = '{{ environmentName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';