Skip to main content

connected_environments_dapr_components

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

Overview

Nameconnected_environments_dapr_components
TypeResource
Idazure.container_apps.connected_environments_dapr_components

Fields

NameDatatypeDescription
propertiesobjectDapr Component resource specific properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTcomponentName, connectedEnvironmentName, resourceGroupName, subscriptionId
listSELECTconnectedEnvironmentName, resourceGroupName, subscriptionId
create_or_updateINSERTcomponentName, connectedEnvironmentName, resourceGroupName, subscriptionIdCreates or updates a Dapr Component in a connected environment.
deleteDELETEcomponentName, connectedEnvironmentName, resourceGroupName, subscriptionIdDelete a Dapr Component from a connected environment.

SELECT examples

SELECT
properties
FROM azure.container_apps.connected_environments_dapr_components
WHERE connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified connected_environments_dapr_components resource.

/*+ delete */
DELETE FROM azure.container_apps.connected_environments_dapr_components
WHERE componentName = '{{ componentName }}'
AND connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';