Skip to main content

adc_catalogs

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

Overview

Nameadc_catalogs
TypeResource
Idazure.data_catalog.adc_catalogs

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
adminstextfield from the properties object
catalogNametextfield from the properties object
enable_automatic_unit_adjustmenttextfield from the properties object
etagtextResource etag
locationtextResource location
resourceGroupNametextfield from the properties object
skutextfield from the properties object
subscriptionIdtextfield from the properties object
successfully_provisionedtextfield from the properties object
tagstextResource tags
typetextResource type
unitstextfield from the properties object
userstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcatalogName, resourceGroupName, subscriptionIdThe Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.
create_or_updateINSERTcatalogName, resourceGroupName, subscriptionIdThe Create Azure Data Catalog service operation creates a new data catalog service with the specified parameters. If the specific service already exists, then any patchable properties will be updated and any immutable properties will remain unchanged.
deleteDELETEcatalogName, resourceGroupName, subscriptionIdThe Delete Azure Data Catalog Service operation deletes an existing data catalog.
updateUPDATEcatalogName, resourceGroupName, subscriptionIdThe Update Azure Data Catalog Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.

SELECT examples

The Get Azure Data Catalog Service operation retrieves a json representation of the data catalog.

SELECT
id,
name,
admins,
catalogName,
enable_automatic_unit_adjustment,
etag,
location,
resourceGroupName,
sku,
subscriptionId,
successfully_provisioned,
tags,
type,
units,
users
FROM azure.data_catalog.vw_adc_catalogs
WHERE catalogName = '{{ catalogName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.data_catalog.adc_catalogs (
catalogName,
resourceGroupName,
subscriptionId,
properties,
location,
tags,
etag
)
SELECT
'{{ catalogName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ etag }}'
;

UPDATE example

Updates a adc_catalogs resource.

/*+ update */
UPDATE azure.data_catalog.adc_catalogs
SET
properties = '{{ properties }}',
location = '{{ location }}',
tags = '{{ tags }}',
etag = '{{ etag }}'
WHERE
catalogName = '{{ catalogName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified adc_catalogs resource.

/*+ delete */
DELETE FROM azure.data_catalog.adc_catalogs
WHERE catalogName = '{{ catalogName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';