Skip to main content

integration_account_agreements

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

Overview

Nameintegration_account_agreements
TypeResource
Idazure.logic.integration_account_agreements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe resource id.
namestringGets the resource name.
agreementTypestringThe agreement type. Required. Known values are: "NotSpecified", "AS2", "X12", and "Edifact".
changedTimestring (date-time)The changed time.
contentobjectThe agreement content. Required.
createdTimestring (date-time)The created time.
guestIdentityobjectThe business identity of the guest partner. Required.
guestPartnerstringThe integration account partner that is set as guest partner for this agreement. Required.
hostIdentityobjectThe business identity of the host partner. Required.
hostPartnerstringThe integration account partner that is set as host partner for this agreement. Required.
locationstringThe resource location.
metadataobjectThe metadata.
tagsobjectThe resource tags.
typestringGets the resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, integration_account_name, agreement_name, subscription_idGets an integration account agreement.
listselectresource_group_name, integration_account_name, subscription_id$top, $filterGets a list of integration account agreements.
create_or_updateinsertresource_group_name, integration_account_name, agreement_name, subscription_id, propertiesCreates or updates an integration account agreement.
create_or_updatereplaceresource_group_name, integration_account_name, agreement_name, subscription_id, propertiesCreates or updates an integration account agreement.
deletedeleteresource_group_name, integration_account_name, agreement_name, subscription_idDeletes an integration account agreement.
list_content_callback_urlexecresource_group_name, integration_account_name, agreement_name, subscription_idGet the content callback url.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agreement_namestringThe integration account agreement name. Required.
integration_account_namestringThe integration account name. Required.
resource_group_namestringThe resource group name. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. Options for filters include: AgreementType. Default value is None.
$topintegerThe number of items to be included in the result. Default value is None.

SELECT examples

Gets an integration account agreement.

SELECT
id,
name,
agreementType,
changedTime,
content,
createdTime,
guestIdentity,
guestPartner,
hostIdentity,
hostPartner,
location,
metadata,
tags,
type
FROM azure.logic.integration_account_agreements
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND integration_account_name = '{{ integration_account_name }}' -- required
AND agreement_name = '{{ agreement_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates an integration account agreement.

INSERT INTO azure.logic.integration_account_agreements (
location,
tags,
properties,
resource_group_name,
integration_account_name,
agreement_name,
subscription_id
)
SELECT
'{{ location }}',
'{{ tags }}',
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ integration_account_name }}',
'{{ agreement_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
tags,
type
;

REPLACE examples

Creates or updates an integration account agreement.

REPLACE azure.logic.integration_account_agreements
SET
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND integration_account_name = '{{ integration_account_name }}' --required
AND agreement_name = '{{ agreement_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND properties = '{{ properties }}' --required
RETURNING
id,
name,
location,
properties,
tags,
type;

DELETE examples

Deletes an integration account agreement.

DELETE FROM azure.logic.integration_account_agreements
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND integration_account_name = '{{ integration_account_name }}' --required
AND agreement_name = '{{ agreement_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Get the content callback url.

EXEC azure.logic.integration_account_agreements.list_content_callback_url 
@resource_group_name='{{ resource_group_name }}' --required,
@integration_account_name='{{ integration_account_name }}' --required,
@agreement_name='{{ agreement_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"notAfter": "{{ notAfter }}",
"keyType": "{{ keyType }}"
}'
;