Skip to main content

application_resources

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

Overview

Nameapplication_resources
TypeResource
Idazure.integration_environment.application_resources

Fields

NameDatatypeDescription
applicationNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
resource_idtextfield from the properties object
resource_kindtextfield from the properties object
resource_typetextfield from the properties object
spaceNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationName, resourceGroupName, resourceName, spaceName, subscriptionIdGet a ApplicationResource
list_by_applicationSELECTapplicationName, resourceGroupName, spaceName, subscriptionIdList ApplicationResource resources by Application
create_or_updateINSERTapplicationName, resourceGroupName, resourceName, spaceName, subscriptionIdCreate a ApplicationResource
deleteDELETEapplicationName, resourceGroupName, resourceName, spaceName, subscriptionIdDelete a ApplicationResource
patchUPDATEapplicationName, resourceGroupName, resourceName, spaceName, subscriptionIdUpdate a ApplicationResource

SELECT examples

List ApplicationResource resources by Application

SELECT
applicationName,
provisioning_state,
resourceGroupName,
resourceName,
resource_id,
resource_kind,
resource_type,
spaceName,
subscriptionId
FROM azure.integration_environment.vw_application_resources
WHERE applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND spaceName = '{{ spaceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.integration_environment.application_resources (
applicationName,
resourceGroupName,
resourceName,
spaceName,
subscriptionId,
properties
)
SELECT
'{{ applicationName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ spaceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a application_resources resource.

/*+ update */
UPDATE azure.integration_environment.application_resources
SET
properties = '{{ properties }}'
WHERE
applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND spaceName = '{{ spaceName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified application_resources resource.

/*+ delete */
DELETE FROM azure.integration_environment.application_resources
WHERE applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND spaceName = '{{ spaceName }}'
AND subscriptionId = '{{ subscriptionId }}';