コンピュートエンジンインスタンスの基本的なメタデータ情報を照会します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AppGuid |
string |
任意 |
コンピュートエンジンインスタンスの ID。ID は |
odps.some_engine_name |
| ClusterId |
string |
任意 |
E-MapReduce (EMR) クラスターの ID。 |
abc |
| DatabaseName |
string |
任意 |
EMR クラスターのメタデータベースの名前。 |
abc |
| DataSourceType |
string |
任意 |
データソースのタイプ。有効な値:odps および emr。 |
emr |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
0bc1411515937**** |
| Data |
object |
基本的なメタデータ情報。 |
|
| Type |
string |
メタデータベースのタイプ。 |
hive |
| Comment |
string |
コメント。 |
备注 |
| CreateTime |
integer |
コンピュートエンジンインスタンスが作成された時間。 |
1541576644000 |
| ProjectId |
integer |
ワークスペース ID。 |
22 |
| ProjectName |
string |
ワークスペースの名前。 |
test |
| AppGuid |
string |
コンピュートエンジンインスタンスの ID。ID は |
odps.engine_name |
| OwnerName |
string |
ワークスペースのオーナーの名前。 |
my_name |
| OwnerId |
string |
ワークスペースのオーナーが使用する Alibaba Cloud アカウントの ID。 |
userId |
| EnvType |
integer |
環境のタイプ。有効な値:0 および 1。0 は開発環境を示し、1 は本番環境を示します。 |
1 |
| ProjectNameCn |
string |
ワークスペースの表示名。 |
测试项目 |
| Endpoint |
string |
サービスのエンドポイント。 |
http://service.odpsstg.aliyun-inc.com/ |
| ClusterBizId |
string |
EMR クラスターの ID。 |
abc |
| Name |
string |
データベースの名前。 |
abc |
| Location |
string |
EMR クラスターのメタデータベースのストレージパス。 |
hdfs:// |
| TenantId |
integer |
テナント ID。 |
233 |
| ModifyTime |
integer |
コンピュートエンジンインスタンスが変更された時間。 |
1541576644000 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0bc1411515937****",
"Data": {
"Type": "hive",
"Comment": "备注",
"CreateTime": 1541576644000,
"ProjectId": 22,
"ProjectName": "test",
"AppGuid": "odps.engine_name",
"OwnerName": "my_name",
"OwnerId": "userId",
"EnvType": 1,
"ProjectNameCn": "测试项目",
"Endpoint": "http://service.odpsstg.aliyun-inc.com/",
"ClusterBizId": "abc",
"Name": "abc",
"Location": "hdfs://",
"TenantId": 233,
"ModifyTime": 1541576644000
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Invalid.Meta.AppNotExist | The MaxCompute project does not exist. | |
| 400 | InvalidParameter.Meta.CommonError | The specified parameter is invalid. | |
| 400 | InvalidParameter.Meta.Illegal | The app guid parameter is invalid. | |
| 400 | InvalidParameter.Meta.IllegalDate | The date format is invalid. | |
| 400 | InvalidParameter.Meta.IllegalPageError | The parameter for paging is invalid. | |
| 400 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | |
| 400 | InternalError.Meta.NoCalcEngine | An error occurred while retrieving the compute engine based on the MaxCompute project. | |
| 400 | InvalidParameter.Meta.NotExist | The data does not exist. | |
| 500 | InternalError.System | An internal system error occurred. Try again later. | |
| 500 | InternalError.Meta.TenantTimeOut | Failed to connect to the interface network. | |
| 500 | InternalError.Meta.Unknown | An unknown error occurred while processing your request. | |
| 403 | Forbidden.Meta.NoTenant | The user is not the owner of any tenants. | |
| 403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | |
| 429 | Throttling.Api | The request for this resource has exceeded your available limit. | |
| 429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | |
| 429 | Throttling.System | The DataWorks system is busy. Try again later. | |
| 429 | Throttling.User | Your request is too frequent. Try again later. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。