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:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
containerNamestringStorage blob container name.
creatorIdstringCreator Id of the library/package.
etagstringResource Etag.
pathstringStorage blob path of library.
provisioningStatusstringProvisioning status of the library/package.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
uploadedTimestampstring (date-time)The last update time of the library.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_workspaceselectresource_group_name, workspace_name, subscription_idList the libraries in a workspace. List 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
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

List the libraries in a workspace. List libraries in a workspace.

SELECT
id,
name,
containerName,
creatorId,
etag,
path,
provisioningStatus,
type,
uploadedTimestamp
FROM azure.synapse.libraries
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;