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

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
dataIngestionUristringThe Kusto Pool data ingestion URI.
enablePurgebooleanA boolean value that indicates if the purge operations are enabled.
enableStreamingIngestbooleanA boolean value that indicates if the streaming ingest is enabled.
etagstringA unique read-only string that changes whenever the resource is updated.
languageExtensionsobjectList of the Kusto Pool's language extensions.
locationstringThe geo-location where the resource lives. Required.
optimizedAutoscaleobjectOptimized auto scale definition.
provisioningStatestringThe provisioned state of the resource. Known values are: "Running", "Creating", "Deleting", "Succeeded", "Failed", "Moving", and "Canceled".
skuobjectThe SKU of the kusto pool. Required.
statestringThe state of the resource. Known values are: "Creating", "Unavailable", "Running", "Deleting", "Deleted", "Stopping", "Stopped", "Starting", and "Updating".
stateReasonstringThe reason for the Kusto Pool's current state.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
uristringThe Kusto Pool URI.
workspaceUIDstringThe workspace unique identifier.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectworkspace_name, kusto_pool_name, resource_group_name, subscription_idGets a Kusto pool.
check_name_availabilityselectlocation, subscription_idChecks that the kusto pool name is valid and is not already in use.
list_by_workspaceselectresource_group_name, workspace_name, subscription_idList Kusto pools. List all Kusto pools.
list_skusselectsubscription_idLists eligible SKUs for Kusto Pool resource.
create_or_updateinsertworkspace_name, resource_group_name, kusto_pool_name, subscription_id, location, skuIf-Match, If-None-MatchCreate or update a Kusto pool.
updateupdateworkspace_name, resource_group_name, kusto_pool_name, subscription_idIf-MatchUpdate a Kusto Kusto Pool.
create_or_updatereplaceworkspace_name, resource_group_name, kusto_pool_name, subscription_id, location, skuIf-Match, If-None-MatchCreate or update a Kusto pool.
deletedeleteworkspace_name, resource_group_name, kusto_pool_name, subscription_idDeletes a Kusto pool.
list_skus_by_resourceexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idReturns the SKUs available for the provided resource.
list_language_extensionsexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idReturns a list of language extensions that can run within KQL queries.
list_follower_databasesexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idReturns a list of databases that are owned by this Kusto Pool and were followed by another Kusto Pool.
stopexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idStops a Kusto pool.
startexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idStarts a Kusto pool.
add_language_extensionsexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idAdd a list of language extensions that can run within KQL queries.
remove_language_extensionsexecworkspace_name, kusto_pool_name, resource_group_name, subscription_idRemove a list of language extensions that can run within KQL queries.
detach_follower_databasesexecworkspace_name, kusto_pool_name, resource_group_name, subscription_id, clusterResourceId, attachedDatabaseConfigurationNameDetaches all followers of a database owned by this Kusto Pool.

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
kusto_pool_namestringThe name of the Kusto pool. Required.
locationstringThe name of Azure region. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.
If-MatchstringThe ETag of the Kusto Pool. Omit this value to always overwrite the current Kusto Pool. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes. Default value is None.
If-None-MatchstringSet to '*' to allow a new Kusto Pool to be created, but to prevent updating an existing Kusto Pool. Other values will result in a 412 Pre-condition Failed response. Default value is None.

SELECT examples

Gets a Kusto pool.

SELECT
id,
name,
dataIngestionUri,
enablePurge,
enableStreamingIngest,
etag,
languageExtensions,
location,
optimizedAutoscale,
provisioningState,
sku,
state,
stateReason,
systemData,
tags,
type,
uri,
workspaceUID
FROM azure.synapse.kusto_pools
WHERE workspace_name = '{{ workspace_name }}' -- required
AND kusto_pool_name = '{{ kusto_pool_name }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update a Kusto pool.

INSERT INTO azure.synapse.kusto_pools (
tags,
location,
sku,
properties,
workspace_name,
resource_group_name,
kusto_pool_name,
subscription_id,
If-Match,
If-None-Match
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ sku }}' /* required */,
'{{ properties }}',
'{{ workspace_name }}',
'{{ resource_group_name }}',
'{{ kusto_pool_name }}',
'{{ subscription_id }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
id,
name,
etag,
location,
properties,
sku,
systemData,
tags,
type
;

UPDATE examples

Update a Kusto Kusto Pool.

UPDATE azure.synapse.kusto_pools
SET
tags = '{{ tags }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
workspace_name = '{{ workspace_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND kusto_pool_name = '{{ kusto_pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND If-Match = '{{ If-Match}}'
RETURNING
id,
name,
etag,
location,
properties,
sku,
systemData,
tags,
type;

REPLACE examples

Create or update a Kusto pool.

REPLACE azure.synapse.kusto_pools
SET
tags = '{{ tags }}',
location = '{{ location }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
workspace_name = '{{ workspace_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND kusto_pool_name = '{{ kusto_pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND location = '{{ location }}' --required
AND sku = '{{ sku }}' --required
AND If-Match = '{{ If-Match}}'
AND If-None-Match = '{{ If-None-Match}}'
RETURNING
id,
name,
etag,
location,
properties,
sku,
systemData,
tags,
type;

DELETE examples

Deletes a Kusto pool.

DELETE FROM azure.synapse.kusto_pools
WHERE workspace_name = '{{ workspace_name }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND kusto_pool_name = '{{ kusto_pool_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Returns the SKUs available for the provided resource.

EXEC azure.synapse.kusto_pools.list_skus_by_resource 
@workspace_name='{{ workspace_name }}' --required,
@kusto_pool_name='{{ kusto_pool_name }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;