Skip to main content

spark_configurations

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

Overview

Namespark_configurations
TypeResource
Idazure.synapse.spark_configurations

Fields

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
propertiesobjectSparkConfiguration properties. (title: Information about a SparkConfiguration created at the workspace level.)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, sparkConfigurationName, workspaceNameGet SparkConfiguration by name in a workspace.
list_by_workspaceselectsubscriptionId, resourceGroupName, workspaceNameList sparkConfigurations in a 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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
sparkConfigurationNamestringSparkConfiguration name
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.

SELECT examples

Get SparkConfiguration by name in a workspace.

SELECT
properties
FROM azure.synapse.spark_configurations
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND sparkConfigurationName = '{{ sparkConfigurationName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
;