你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Library - List
Lists库。
GET {endpoint}/libraries?api-version=2020-12-01
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
endpoint
|
path | True |
string uri |
工作区开发终结点,例如 |
api-version
|
query | True |
string |
Synapse 客户端 API 版本。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
没问题。 |
|
Other Status Codes |
从Azure Synapse服务收到的错误响应。 |
示例
List Libraries
示例请求
GET exampleWorkspace.dev.azuresynapse.net/libraries?api-version=2020-12-01
示例响应
Date: Sat, 16 Jun 2018 00:37:36 GMT
X-Content-Type-Options: nosniff
x-ms-ratelimit-remaining-subscription-reads: 14994
x-ms-request-id: 558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5
x-ms-correlation-request-id: 558d0fd8-dc1f-44b6-9ca9-59fcca8af9a5
{
"value": [
{
"id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/libraries/exampleLibraryName.jar",
"name": "exampleLibraryName.jar",
"type": "Microsoft.Synapse/workspaces/libraries",
"properties": {
"name": "exampleLibraryName.jar",
"path": "exampleWorkspace/libraries/exampleLibraryName.jar",
"containerName": "exampleContainer",
"type": "jar",
"uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00",
"provisioningStatus": "Succeeded",
"creatorId": "2222222e-222d-222f-2222-22a2f222d2f2"
},
"etag": "1500474f-0000-0200-0000-5cbe090d0000"
}
]
}
定义
名称 | 说明 |
---|---|
Cloud |
定义Azure Synapse错误响应结构的对象。 |
Library |
库资源的列表。 |
Library |
库响应详细信息 |
Library |
库/包属性 |
CloudError
定义Azure Synapse错误响应结构的对象。
名称 | 类型 | 说明 |
---|---|---|
error.code |
string |
错误代码。 |
error.details |
包含其他错误详细信息的数组。 |
|
error.message |
string |
错误消息。 |
error.target |
string |
与错误关联的请求中的属性名称/路径。 |
LibraryListResponse
库资源的列表。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
指向下一页结果的链接(如果存在任何剩余结果)。 |
value |
库列表。 |
LibraryResource
库响应详细信息
名称 | 类型 | 说明 |
---|---|---|
etag |
string |
资源 Etag。 |
id |
string |
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name |
string |
资源的名称 |
properties |
库/包属性。 |
|
type |
string |
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts” |
LibraryResourceProperties
库/包属性
名称 | 类型 | 说明 |
---|---|---|
containerName |
string |
库/包的容器名称。 |
creatorId |
string |
库/包的创建者 ID。 |
name |
string |
库/包的名称。 |
path |
string |
库/包在存储帐户中的位置。 |
provisioningStatus |
string |
库/包的预配状态。 |
type |
string |
库/包的类型。 |
uploadedTimestamp |
string |
库/包的上次更新时间。 |