Skip to main content

libraries

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

Overview

Namelibraries
TypeResource
Idazure.synapse.libraries

Fields

The following fields are returned by SELECT queries:

OK.

NameDatatypeDescription
propertiesobjectLibrary/package properties. (title: Information about a library/package created at the workspace level.)

Methods

The following methods are available for this resource:

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

SELECT examples

Get library by name in a workspace.

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