Skip to main content

integration_accounts

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

Overview

Nameintegration_accounts
TypeResource
Idazure.logic_apps.integration_accounts

Fields

NameDatatypeDescription
idtextThe resource id.
nametextGets the resource name.
integrationAccountNametextfield from the properties object
integration_service_environmenttextfield from the properties object
locationtextThe resource location.
resourceGroupNametextfield from the properties object
skutextThe integration account sku.
statetextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextThe resource tags.
typetextGets the resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTintegrationAccountName, resourceGroupName, subscriptionIdGets an integration account.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets a list of integration accounts by resource group.
list_by_subscriptionSELECTsubscriptionIdGets a list of integration accounts by subscription.
create_or_updateINSERTintegrationAccountName, resourceGroupName, subscriptionIdCreates or updates an integration account.
deleteDELETEintegrationAccountName, resourceGroupName, subscriptionIdDeletes an integration account.
updateUPDATEintegrationAccountName, resourceGroupName, subscriptionIdUpdates an integration account.
log_tracking_eventsEXECintegrationAccountName, resourceGroupName, subscriptionId, data__events, data__sourceTypeLogs the integration account's tracking events.
regenerate_access_keyEXECintegrationAccountName, resourceGroupName, subscriptionIdRegenerates the integration account access key.

SELECT examples

Gets a list of integration accounts by subscription.

SELECT
id,
name,
integrationAccountName,
integration_service_environment,
location,
resourceGroupName,
sku,
state,
subscriptionId,
tags,
type
FROM azure.logic_apps.vw_integration_accounts
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.logic_apps.integration_accounts (
integrationAccountName,
resourceGroupName,
subscriptionId,
properties,
sku,
location,
tags
)
SELECT
'{{ integrationAccountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}',
'{{ location }}',
'{{ tags }}'
;

UPDATE example

Updates a integration_accounts resource.

/*+ update */
UPDATE azure.logic_apps.integration_accounts
SET
properties = '{{ properties }}',
sku = '{{ sku }}',
location = '{{ location }}',
tags = '{{ tags }}'
WHERE
integrationAccountName = '{{ integrationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified integration_accounts resource.

/*+ delete */
DELETE FROM azure.logic_apps.integration_accounts
WHERE integrationAccountName = '{{ integrationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';