Skip to main content

spaces

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

Overview

Namespaces
TypeResource
Idazure.integration_environment.spaces

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, spaceNameGet a Space
list_by_resource_groupselectsubscriptionId, resourceGroupNametop, skip, maxpagesize, filter, select, expand, orderbyList Space resources by resource group
list_by_subscriptionselectsubscriptionIdList Space resources by subscription ID
create_or_updateinsertsubscriptionId, resourceGroupName, spaceNameCreate a Space
patchupdatesubscriptionId, resourceGroupName, spaceNameUpdate a Space
deletedeletesubscriptionId, resourceGroupName, spaceNameDelete a Space

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
spaceNamestringThe name of the space
subscriptionIdstringThe ID of the target subscription.
expandarrayExpand the indicated resources into the response.
filterstringFilter the result list using the given expression.
maxpagesizeinteger (int32)The maximum number of result items per page.
orderbyarrayExpressions that specify the order of returned results.
selectarraySelect the specified fields to be included in the response.
skipinteger (int32)The number of result items to skip.
topinteger (int32)The number of result items to return.

SELECT examples

Get a Space

SELECT
location,
properties,
tags
FROM azure.integration_environment.spaces
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND spaceName = '{{ spaceName }}' -- required
;

INSERT examples

Create a Space

INSERT INTO azure.integration_environment.spaces (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
spaceName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ spaceName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Update a Space

UPDATE azure.integration_environment.spaces
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND spaceName = '{{ spaceName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Delete a Space

DELETE FROM azure.integration_environment.spaces
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND spaceName = '{{ spaceName }}' --required
;