Catalog - Get Assembly
從 Data Lake Analytics 目錄擷取指定的元件。
GET https://{accountName}.{adlaCatalogDnsSuffix}/catalog/usql/databases/{databaseName}/assemblies/{assemblyName}?api-version=2016-11-01
URI 參數
名稱 | 位於 | 必要 | 類型 | Description |
---|---|---|---|---|
account
|
path | True |
string |
要在其中執行目錄作業的 Azure Data Lake Analytics 帳戶。 |
adla
|
path | True |
string |
取得作為所有 Azure Data Lake Analytics 目錄服務要求基底的 DNS 後綴。 |
assembly
|
path | True |
string |
組件的名稱。 |
database
|
path | True |
string |
包含元件的資料庫名稱。 |
api-version
|
query | True |
string |
用戶端 API 版本。 |
回應
名稱 | 類型 | Description |
---|---|---|
200 OK |
已成功擷取指定資料庫中指定元件的詳細數據。 |
範例
Retrieves the specified assembly from the Data Lake Analytics catalog
Sample Request
GET https://contosoadla.azuredatalakeanalytics.net/catalog/usql/databases/master/assemblies/test_assembly_name?api-version=2016-11-01
Sample Response
{
"computeAccountName": "contosoadla",
"version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"databaseName": "master",
"assemblyName": "test_assembly_name",
"clrName": "test_clr_name",
"isVisible": false,
"isUserDefined": false,
"files": [
{
"type": "Assembly",
"originalPath": "test_original_path",
"contentPath": "test_content_path"
}
],
"dependencies": [
{
"entityId": {
"name": {
"firstPart": "test_first_part",
"secondPart": "test_second_part",
"thirdPart": "test_third_part",
"server": "test_server"
},
"version": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
}
}
]
}
定義
名稱 | Description |
---|---|
Ddl |
Data Lake Analytics DDL 名稱專案。 |
Entity |
Data Lake Analytics 目錄實體標識元物件。 |
File |
元件檔案類型。 |
USql |
Data Lake Analytics 目錄 U-SQL 元件。 |
USql |
Data Lake Analytics 目錄 U-SQL 相依性信息專案。 |
USql |
Data Lake Analytics 目錄 U-SQL 元件檔案信息專案。 |
DdlName
Data Lake Analytics DDL 名稱專案。
名稱 | 類型 | Description |
---|---|---|
firstPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
secondPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
server |
string |
與此資料庫和架構相關聯的數據表名稱。 |
thirdPart |
string |
與此資料庫和架構相關聯的數據表名稱。 |
EntityId
Data Lake Analytics 目錄實體標識元物件。
名稱 | 類型 | Description |
---|---|---|
name |
與此資料庫、架構和數據表相關聯的外部數據表名稱。 |
|
version |
string |
外部數據源的版本。 |
FileType
元件檔案類型。
名稱 | 類型 | Description |
---|---|---|
Assembly |
string |
|
Nodeploy |
string |
|
Resource |
string |
USqlAssembly
Data Lake Analytics 目錄 U-SQL 元件。
名稱 | 類型 | Description |
---|---|---|
assemblyName |
string |
元件的名稱。 |
clrName |
string |
CLR 的名稱。 |
computeAccountName |
string |
Data Lake Analytics 帳戶的名稱。 |
databaseName |
string |
資料庫的名稱。 |
dependencies |
與元件相關聯的相依性清單 |
|
files |
與元件相關聯的檔案清單 |
|
isUserDefined |
boolean |
參數,指出這個元件是否為用戶定義。 |
isVisible |
boolean |
參數,指出這個元件是否可見。 |
version |
string |
目錄專案的版本。 |
USqlAssemblyDependencyInfo
Data Lake Analytics 目錄 U-SQL 相依性信息專案。
名稱 | 類型 | Description |
---|---|---|
entityId |
相依性之 EntityId。 |
USqlAssemblyFileInfo
Data Lake Analytics 目錄 U-SQL 元件檔案信息專案。
名稱 | 類型 | Description |
---|---|---|
contentPath |
string |
元件檔案的內容路徑。 |
originalPath |
string |
元件檔的原始路徑。 |
type |
元件檔案類型。 |