connected_environments_dapr_components
Creates, updates, deletes, gets or lists a connected_environments_dapr_components
resource.
Overview
Name | connected_environments_dapr_components |
Type | Resource |
Id | azure.container_apps.connected_environments_dapr_components |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Dapr Component resource specific properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | componentName, connectedEnvironmentName, resourceGroupName, subscriptionId | |
list | SELECT | connectedEnvironmentName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | componentName, connectedEnvironmentName, resourceGroupName, subscriptionId | Creates or updates a Dapr Component in a connected environment. |
delete | DELETE | componentName, connectedEnvironmentName, resourceGroupName, subscriptionId | Delete 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.connected_environments_dapr_components (
componentName,
connectedEnvironmentName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ componentName }}',
'{{ connectedEnvironmentName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: componentType
value: string
- name: version
value: string
- name: ignoreErrors
value: boolean
- name: initTimeout
value: string
- name: secrets
value:
- - name: name
value: string
- name: value
value: string
- name: identity
value: string
- name: keyVaultUrl
value: string
- name: secretStoreComponent
value: string
- name: metadata
value:
- - name: name
value: string
- name: value
value: string
- name: secretRef
value: string
- name: scopes
value:
- string
- name: serviceComponentBind
value:
- - name: name
value: string
- name: serviceId
value: string
- name: metadata
value:
- name: name
value: string
- name: value
value: string
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 }}';