Skip to main content

big_data_pools

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

Overview

Namebig_data_pools
TypeResource
Idazure.synapse.big_data_pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectBig Data pool properties (title: Spark pool properties)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, bigDataPoolNameGet a Big Data pool.
list_by_workspaceselectsubscriptionId, resourceGroupName, workspaceNameList Big Data pools in a workspace.
create_or_updateinsertsubscriptionId, resourceGroupName, workspaceName, bigDataPoolNameforceCreate a new Big Data pool.
updateupdatesubscriptionId, resourceGroupName, workspaceName, bigDataPoolNamePatch a Big Data pool.
deletedeletesubscriptionId, resourceGroupName, workspaceName, bigDataPoolNameDelete a Big Data pool from the workspace.

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
bigDataPoolNamestringBig Data pool name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.
forcebooleanWhether to stop any running jobs in the Big Data pool

SELECT examples

Get a Big Data pool.

SELECT
location,
properties,
tags
FROM azure.synapse.big_data_pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND bigDataPoolName = '{{ bigDataPoolName }}' -- required
;

INSERT examples

Create a new Big Data pool.

INSERT INTO azure.synapse.big_data_pools (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
workspaceName,
bigDataPoolName,
force
)
SELECT
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ workspaceName }}',
'{{ bigDataPoolName }}',
'{{ force }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

Patch a Big Data pool.

UPDATE azure.synapse.big_data_pools
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
AND bigDataPoolName = '{{ bigDataPoolName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Delete a Big Data pool from the workspace.

DELETE FROM azure.synapse.big_data_pools
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
AND bigDataPoolName = '{{ bigDataPoolName }}' --required
;