logic_apps
Creates, updates, deletes, gets or lists a logic_apps
resource.
Overview
Name | logic_apps |
Type | Resource |
Id | azure.container_apps.logic_apps |
Fields
- vw_logic_apps
- logic_apps
Name | Datatype | Description |
---|---|---|
containerAppName | text | field from the properties object |
logicAppName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of logic apps extension. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | containerAppName, logicAppName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | containerAppName, logicAppName, resourceGroupName, subscriptionId | Create or update a Logic App extension resource |
delete | DELETE | containerAppName, logicAppName, resourceGroupName, subscriptionId | Deletes a Logic App extension resource |
deploy_workflow_artifacts | EXEC | containerAppName, logicAppName, resourceGroupName, subscriptionId | Creates or updates the artifacts for the logic app |
invoke | EXEC | containerAppName, logicAppName, resourceGroupName, subscriptionId, x-ms-logicApps-proxy-method, x-ms-logicApps-proxy-path |
SELECT
examples
- vw_logic_apps
- logic_apps
SELECT
containerAppName,
logicAppName,
resourceGroupName,
subscriptionId
FROM azure.container_apps.vw_logic_apps
WHERE containerAppName = '{{ containerAppName }}'
AND logicAppName = '{{ logicAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.container_apps.logic_apps
WHERE containerAppName = '{{ containerAppName }}'
AND logicAppName = '{{ logicAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new logic_apps
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.logic_apps (
containerAppName,
logicAppName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ containerAppName }}',
'{{ logicAppName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value: []
DELETE
example
Deletes the specified logic_apps
resource.
/*+ delete */
DELETE FROM azure.container_apps.logic_apps
WHERE containerAppName = '{{ containerAppName }}'
AND logicAppName = '{{ logicAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';