SynapseWorkspaceResource.GetSynapseLibrary(String, CancellationToken) Method

Definition

Get library by name in a workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/libraries/{libraryName}
  • Operation Id: Library_Get
public virtual Azure.Response<Azure.ResourceManager.Synapse.SynapseLibraryResource> GetSynapseLibrary (string libraryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseLibrary : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapseLibraryResource>
override this.GetSynapseLibrary : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Synapse.SynapseLibraryResource>
Public Overridable Function GetSynapseLibrary (libraryName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SynapseLibraryResource)

Parameters

libraryName
String

Library name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

libraryName is null.

libraryName is an empty string, and was expected to be non-empty.

Applies to