Skip to main content

kusto_pools

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

Overview

Namekusto_pools
TypeResource
Idazure.synapse.kusto_pools

Fields

NameDatatypeDescription
data_ingestion_uritextfield from the properties object
enable_purgetextfield from the properties object
enable_streaming_ingesttextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
kustoPoolNametextfield from the properties object
language_extensionstextfield from the properties object
locationtextThe geo-location where the resource lives
optimized_autoscaletextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
skutextAzure SKU definition.
statetextfield from the properties object
state_reasontextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.
uritextfield from the properties object
workspaceNametextfield from the properties object
workspace_uidtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTkustoPoolName, resourceGroupName, subscriptionId, workspaceNameGets a Kusto pool.
list_by_workspaceSELECTresourceGroupName, subscriptionId, workspaceNameList all Kusto pools
create_or_updateINSERTkustoPoolName, resourceGroupName, subscriptionId, workspaceName, data__skuCreate or update a Kusto pool.
deleteDELETEkustoPoolName, resourceGroupName, subscriptionId, workspaceNameDeletes a Kusto pool.
updateUPDATEkustoPoolName, resourceGroupName, subscriptionId, workspaceNameUpdate a Kusto Kusto Pool.
add_language_extensionsEXECkustoPoolName, resourceGroupName, subscriptionId, workspaceNameAdd a list of language extensions that can run within KQL queries.
check_name_availabilityEXEClocation, subscriptionId, data__name, data__typeChecks that the kusto pool name is valid and is not already in use.
detach_follower_databasesEXECkustoPoolName, resourceGroupName, subscriptionId, workspaceName, data__attachedDatabaseConfigurationName, data__clusterResourceIdDetaches all followers of a database owned by this Kusto Pool.
remove_language_extensionsEXECkustoPoolName, resourceGroupName, subscriptionId, workspaceNameRemove a list of language extensions that can run within KQL queries.
startEXECkustoPoolName, resourceGroupName, subscriptionId, workspaceNameStarts a Kusto pool.
stopEXECkustoPoolName, resourceGroupName, subscriptionId, workspaceNameStops a Kusto pool.

SELECT examples

List all Kusto pools

SELECT
data_ingestion_uri,
enable_purge,
enable_streaming_ingest,
etag,
kustoPoolName,
language_extensions,
location,
optimized_autoscale,
provisioning_state,
resourceGroupName,
sku,
state,
state_reason,
subscriptionId,
system_data,
tags,
uri,
workspaceName,
workspace_uid
FROM azure.synapse.vw_kusto_pools
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.synapse.kusto_pools (
kustoPoolName,
resourceGroupName,
subscriptionId,
workspaceName,
data__sku,
sku,
properties,
tags,
location
)
SELECT
'{{ kustoPoolName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__sku }}',
'{{ sku }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a kusto_pools resource.

/*+ update */
UPDATE azure.synapse.kusto_pools
SET
tags = '{{ tags }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
kustoPoolName = '{{ kustoPoolName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

DELETE example

Deletes the specified kusto_pools resource.

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