Skip to main content

data_pools

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

Overview

Namedata_pools
TypeResource
Idazure.autonomous_dev_platform.data_pools

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
accountNametextfield from the properties object
dataPoolNametextfield from the properties object
data_pool_idtextfield from the properties object
locationstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, dataPoolName, resourceGroupName, subscriptionIdGets the properties of a Data Pool
listSELECTaccountName, resourceGroupName, subscriptionIdLists the data pools under the ADP account
create_or_updateINSERTaccountName, dataPoolName, resourceGroupName, subscriptionIdCreates or updates a Data Pool
deleteDELETEaccountName, dataPoolName, resourceGroupName, subscriptionIdDeletes a Data Pool
updateUPDATEaccountName, dataPoolName, resourceGroupName, subscriptionIdUpdates the properties of an existing Data Pool

SELECT examples

Lists the data pools under the ADP account

SELECT
id,
name,
accountName,
dataPoolName,
data_pool_id,
locations,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
tags,
type
FROM azure.autonomous_dev_platform.vw_data_pools
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.autonomous_dev_platform.data_pools (
accountName,
dataPoolName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ dataPoolName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a data_pools resource.

/*+ update */
UPDATE azure.autonomous_dev_platform.data_pools
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND dataPoolName = '{{ dataPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified data_pools resource.

/*+ delete */
DELETE FROM azure.autonomous_dev_platform.data_pools
WHERE accountName = '{{ accountName }}'
AND dataPoolName = '{{ dataPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';