Skip to main content

kusto_pool_attached_database_configurations

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

Overview

Namekusto_pool_attached_database_configurations
TypeResource
Idazure.synapse.kusto_pool_attached_database_configurations

Fields

NameDatatypeDescription
attachedDatabaseConfigurationNametextfield from the properties object
attached_database_namestextfield from the properties object
cluster_resource_idtextfield from the properties object
database_nametextfield from the properties object
default_principals_modification_kindtextfield from the properties object
kustoPoolNametextfield from the properties object
locationtextResource location.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
table_level_sharing_propertiestextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTattachedDatabaseConfigurationName, kustoPoolName, resourceGroupName, subscriptionId, workspaceNameReturns an attached database configuration.
list_by_kusto_poolSELECTkustoPoolName, resourceGroupName, subscriptionId, workspaceNameReturns the list of attached database configurations of the given Kusto Pool.
create_or_updateINSERTattachedDatabaseConfigurationName, kustoPoolName, resourceGroupName, subscriptionId, workspaceNameCreates or updates an attached database configuration.
deleteDELETEattachedDatabaseConfigurationName, kustoPoolName, resourceGroupName, subscriptionId, workspaceNameDeletes the attached database configuration with the given name.

SELECT examples

Returns the list of attached database configurations of the given Kusto Pool.

SELECT
attachedDatabaseConfigurationName,
attached_database_names,
cluster_resource_id,
database_name,
default_principals_modification_kind,
kustoPoolName,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
table_level_sharing_properties,
workspaceName
FROM azure.synapse.vw_kusto_pool_attached_database_configurations
WHERE kustoPoolName = '{{ kustoPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.synapse.kusto_pool_attached_database_configurations (
attachedDatabaseConfigurationName,
kustoPoolName,
resourceGroupName,
subscriptionId,
workspaceName,
location,
properties
)
SELECT
'{{ attachedDatabaseConfigurationName }}',
'{{ kustoPoolName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified kusto_pool_attached_database_configurations resource.

/*+ delete */
DELETE FROM azure.synapse.kusto_pool_attached_database_configurations
WHERE attachedDatabaseConfigurationName = '{{ attachedDatabaseConfigurationName }}'
AND kustoPoolName = '{{ kustoPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';