Skip to main content

integration_account_agreements

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

Overview

Nameintegration_account_agreements
TypeResource
Idazure.logic_apps.integration_account_agreements

Fields

NameDatatypeDescription
idtextThe resource id.
nametextGets the resource name.
agreementNametextfield from the properties object
agreement_typetextfield from the properties object
changed_timetextfield from the properties object
contenttextfield from the properties object
created_timetextfield from the properties object
guest_identitytextfield from the properties object
guest_partnertextfield from the properties object
host_identitytextfield from the properties object
host_partnertextfield from the properties object
integrationAccountNametextfield from the properties object
locationtextThe resource location.
metadatatextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextThe resource tags.
typetextGets the resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTagreementName, integrationAccountName, resourceGroupName, subscriptionIdGets an integration account agreement.
listSELECTintegrationAccountName, resourceGroupName, subscriptionIdGets a list of integration account agreements.
create_or_updateINSERTagreementName, integrationAccountName, resourceGroupName, subscriptionId, data__propertiesCreates or updates an integration account agreement.
deleteDELETEagreementName, integrationAccountName, resourceGroupName, subscriptionIdDeletes an integration account agreement.

SELECT examples

Gets a list of integration account agreements.

SELECT
id,
name,
agreementName,
agreement_type,
changed_time,
content,
created_time,
guest_identity,
guest_partner,
host_identity,
host_partner,
integrationAccountName,
location,
metadata,
resourceGroupName,
subscriptionId,
tags,
type
FROM azure.logic_apps.vw_integration_account_agreements
WHERE integrationAccountName = '{{ integrationAccountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified integration_account_agreements resource.

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