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

The following fields are returned by SELECT queries:

Successfully retrieved the specified attached database configuration.

NameDatatypeDescription
locationstringResource location.
propertiesobjectThe properties of the attached database configuration.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectworkspaceName, kustoPoolName, attachedDatabaseConfigurationName, subscriptionId, resourceGroupNameReturns an attached database configuration.
list_by_kusto_poolselectworkspaceName, kustoPoolName, subscriptionId, resourceGroupNameReturns the list of attached database configurations of the given Kusto Pool.
create_or_updateinsertworkspaceName, kustoPoolName, attachedDatabaseConfigurationName, subscriptionId, resourceGroupNameCreates or updates an attached database configuration.
deletedeleteworkspaceName, kustoPoolName, attachedDatabaseConfigurationName, subscriptionId, resourceGroupNameDeletes the attached database configuration with the given name.

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
attachedDatabaseConfigurationNamestringThe name of the attached database configuration.
kustoPoolNamestringThe name of the Kusto pool.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Returns an attached database configuration.

SELECT
location,
properties,
systemData
FROM azure.synapse.kusto_pool_attached_database_configurations
WHERE workspaceName = '{{ workspaceName }}' -- required
AND kustoPoolName = '{{ kustoPoolName }}' -- required
AND attachedDatabaseConfigurationName = '{{ attachedDatabaseConfigurationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;

INSERT examples

Creates or updates an attached database configuration.

INSERT INTO azure.synapse.kusto_pool_attached_database_configurations (
data__location,
data__properties,
workspaceName,
kustoPoolName,
attachedDatabaseConfigurationName,
subscriptionId,
resourceGroupName
)
SELECT
'{{ location }}',
'{{ properties }}',
'{{ workspaceName }}',
'{{ kustoPoolName }}',
'{{ attachedDatabaseConfigurationName }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}'
RETURNING
location,
properties,
systemData
;

DELETE examples

Deletes the attached database configuration with the given name.

DELETE FROM azure.synapse.kusto_pool_attached_database_configurations
WHERE workspaceName = '{{ workspaceName }}' --required
AND kustoPoolName = '{{ kustoPoolName }}' --required
AND attachedDatabaseConfigurationName = '{{ attachedDatabaseConfigurationName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
;