DescribeApsHiveWorkload - 查询APS Hive工作负载详情
查询APS Hive工作负载详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
adb:DescribeApsHiveWorkload |
none |
*DBClusterLakeVersion
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DBClusterId |
string |
是 |
集群 ID。 |
amv-******* |
| WorkloadId |
string |
是 |
数据链路任务 ID。 |
aps-****** |
| RegionId |
string |
否 |
地域 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
86F92D26-B774-5FA1-8E53-****** |
| ApsWorkload |
object |
任务信息。 |
{"WorkloadName":"test","State":"COMPLETED","FullComputeUnit":"16"} |
| RegionId |
string |
地域 ID。 |
cn-hangzhou |
| DBClusterId |
string |
集群 ID。 |
amv-******* |
| WorkloadId |
string |
数据链路任务 ID。 |
aps-****** |
| WorkloadName |
string |
工作负载名。 |
test |
| ResourceGroup |
string |
SQL 语句所属的资源池。 |
test |
| FullComputeUnit |
string |
迁移所需 acu 数。 |
16 |
| SyncAllowExpression |
string |
手动匹配源端库表白名单表达式。 |
abc |
| SyncDenyExpression |
string |
手动匹配源端库表黑名单表达式。 |
def |
| TargetType |
string |
目标类型。 |
OSS |
| OssLocation |
string |
oss 地址。 |
oss://****** |
| ConflictStrategy |
string |
目的端存在同名库表处理策略。 |
Intercept |
| AdvancedConfig |
string |
高级配置。 |
test.adv.config=value |
| DatasourceId |
integer |
数据源 ID。 |
8 |
| DatasourceName |
string |
数据源名称。 |
sls-****** |
| Parallelism |
integer |
并行度。 |
2 |
| WorkloadTypeName |
string |
工作负载名称。 |
test |
| State |
string |
状态。 |
COMPLETED |
| CreateTime |
string |
创建时间。 |
- |
| MetaStoreUri |
string |
hive meta store url。 |
- |
| Vswitch |
string |
交换机(vSwitch)名称。 |
vsw-****** |
| EmrClusterId |
string |
EMR 集群 ID。 |
c-b933c5aac8fe**** |
示例
正常返回示例
JSON格式
{
"RequestId": "86F92D26-B774-5FA1-8E53-******",
"ApsWorkload": {
"RegionId": "cn-hangzhou",
"DBClusterId": "amv-*******",
"WorkloadId": "aps-******",
"WorkloadName": "test",
"ResourceGroup": "test",
"FullComputeUnit": "16",
"SyncAllowExpression": "abc",
"SyncDenyExpression": "def",
"TargetType": "OSS",
"OssLocation": "oss://******",
"ConflictStrategy": "Intercept",
"AdvancedConfig": "test.adv.config=value",
"DatasourceId": 8,
"DatasourceName": "sls-******",
"Parallelism": 2,
"WorkloadTypeName": "test",
"State": "COMPLETED",
"CreateTime": "-",
"MetaStoreUri": "-",
"Vswitch": "vsw-******",
"EmrClusterId": "c-b933c5aac8fe****"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidInput | The specified parameter is invalid. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。