更新时间:2021-12-17 GMT+08:00
查询租户MRS资源信息
功能介绍
查询租户MRS资源信息。
响应
- 响应样例
{ "success": true, "returnData": [ { "type": "MRS", "attributes": { "tenant_id": "995aa9be-ab07-4e23-934c-55a490ccd5a1", "tenant_name": "softcomai_xxxxxx", "end_username": "softcomai_xxxxxx", "end_domainname": "softcomai_xxxxxx", "resource_username": "resUser_xxxxxx", "user_name": "softcomai_xxxxxx", "hive_db_name": "hive_softcomai_z_xxxxxx", "resource_projectid": "051fd6a2fd00d4f62f18c0062001f1e5", "hdfs_path": "/tenant/softcomai_z_71fimgy9", "createTime": "2019-12-20T08:11:16.394+00:00", "yarn_queue": "root.softcomai_z_71fimgy9", "port": "9022", "resource_id": "e0f847eda9904cc791a5b3577f8516c0", "associated_serviceobj": "{\"resourceId\":\"e0f847eda9904cc791a5b3577f8516c0\",\"subResources\":[\"HDFS\",\"Yarn\",\"Hbase\",\"Hive\"],\"hdfsSpaceQuota\":40,\"yarnVCoreSize\":10}", "resource_domainid": "051fd6a10000d5330f50c0062a983720", "region": "cn-north-7", "order_id": "orderId-hvnngyjf", "status": "CREATED_SUCCESS" } } ] }
- 要素说明
参数名
参数类型
备注
success
String
请求是否成功,取值包括true和false。
returnData
JSON LIST
返回值。
type
String
资源类型。
associated_serviceobj
Json
已订购的资源。
状态码
具体请参考6.2-状态码。
父主题: 订购退订接口