application_resources
Creates, updates, deletes, gets or lists a application_resources
resource.
Overview
Name | application_resources |
Type | Resource |
Id | azure.integration_environment.application_resources |
Fields
- vw_application_resources
- application_resources
Name | Datatype | Description |
---|---|---|
applicationName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resourceName | text | field from the properties object |
resource_id | text | field from the properties object |
resource_kind | text | field from the properties object |
resource_type | text | field from the properties object |
spaceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The properties of application resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationName, resourceGroupName, resourceName, spaceName, subscriptionId | Get a ApplicationResource |
list_by_application | SELECT | applicationName, resourceGroupName, spaceName, subscriptionId | List ApplicationResource resources by Application |
create_or_update | INSERT | applicationName, resourceGroupName, resourceName, spaceName, subscriptionId | Create a ApplicationResource |
delete | DELETE | applicationName, resourceGroupName, resourceName, spaceName, subscriptionId | Delete a ApplicationResource |
patch | UPDATE | applicationName, resourceGroupName, resourceName, spaceName, subscriptionId | Update a ApplicationResource |
SELECT
examples
List ApplicationResource resources by Application
- vw_application_resources
- application_resources
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 }}';
SELECT
properties
FROM azure.integration_environment.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.integration_environment.application_resources (
applicationName,
resourceGroupName,
resourceName,
spaceName,
subscriptionId,
properties
)
SELECT
'{{ applicationName }}',
'{{ resourceGroupName }}',
'{{ resourceName }}',
'{{ spaceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: resourceType
value: string
- name: resourceId
value: string
- name: resourceKind
value: string
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 }}';