spaces
Creates, updates, deletes, gets or lists a spaces
resource.
Overview
Name | spaces |
Type | Resource |
Id | azure.integration_environment.spaces |
Fields
- vw_spaces
- spaces
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
spaceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The properties of space. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, spaceName, subscriptionId | Get a Space |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List Space resources by resource group |
list_by_subscription | SELECT | subscriptionId | List Space resources by subscription ID |
create_or_update | INSERT | resourceGroupName, spaceName, subscriptionId | Create a Space |
delete | DELETE | resourceGroupName, spaceName, subscriptionId | Delete a Space |
patch | UPDATE | resourceGroupName, spaceName, subscriptionId | Update a Space |
SELECT
examples
List Space resources by subscription ID
- vw_spaces
- spaces
SELECT
description,
location,
provisioning_state,
resourceGroupName,
spaceName,
subscriptionId,
tags
FROM azure.integration_environment.vw_spaces
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.integration_environment.spaces
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new spaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.integration_environment.spaces (
resourceGroupName,
spaceName,
subscriptionId,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ spaceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: description
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a spaces
resource.
/*+ update */
UPDATE azure.integration_environment.spaces
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND spaceName = '{{ spaceName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified spaces
resource.
/*+ delete */
DELETE FROM azure.integration_environment.spaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND spaceName = '{{ spaceName }}'
AND subscriptionId = '{{ subscriptionId }}';