library
Creates, updates, deletes, gets or lists a library resource.
Overview
| Name | library |
| Type | Resource |
| Id | azure.synapse.library |
Fields
The following fields are returned by SELECT queries:
- get
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
containerName | string | Storage blob container name. |
creatorId | string | Creator Id of the library/package. |
etag | string | Resource Etag. |
path | string | Storage blob path of library. |
provisioningStatus | string | Provisioning status of the library/package. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
uploadedTimestamp | string (date-time) | The last update time of the library. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, library_name, workspace_name, subscription_id | Get library by name. Get library by name 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.
| Name | Datatype | Description |
|---|---|---|
library_name | string | Library name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- get
Get library by name. Get library by name in a workspace.
SELECT
id,
name,
containerName,
creatorId,
etag,
path,
provisioningStatus,
type,
uploadedTimestamp
FROM azure.synapse.library
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND library_name = '{{ library_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;