查询服务实例部署详情列表
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
computenestsupplier:ListServiceInstanceDeployDetails |
list |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
实例的地域 ID。 |
cn-hangzhou |
| MaxResults |
integer |
否 |
分页查询时每页行数。每页最大行数 100 行,默认行数 20 行。 |
20 |
| NextToken |
string |
否 |
下一个查询开始 token。 |
AAAAAZbOYA+x9UgM6xrgcMqFUjk= |
| Filter |
array<object> |
否 |
过滤器。 |
|
|
object |
否 |
过滤器。 |
||
| Value |
array |
否 |
过滤值列表。 |
|
|
string |
否 |
过滤值。 |
service-c751ed91f2074af39779 |
|
| Name |
string |
否 |
过滤值名称。对应 SQL 中的 Where。 可选值:
|
ServiceId |
| StartTime |
string |
否 |
查询开始时间。 使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mmZ。 |
2024-08-25T02:23:00Z |
| EndTime |
string |
否 |
查询结束时间。 使用 UTC+0 时间,格式为 yyyy-MM-ddTHH:mmZ。 |
2024-12-31T16:00:00Z |
| CycleTimeZone |
string |
否 |
时区。 参考格式:"+08:00" 合法范围:"-12:59"到"+13:00" |
+08:00 |
| Dimension |
array |
否 |
维度名称。对应 SQL 中的 Group By。 可选值:
|
|
|
string |
否 |
聚合维度。 |
ErrorType |
|
| CycleType |
string |
否 |
决定聚合周期。无参时视为查询详情。 可选值:
|
Month |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| NextToken |
string |
下一个查询开始 token |
AAAAAW8kZY+u1sYOaYf5JmgmDQQ= |
| RequestId |
string |
请求 ID。 |
0036D82E-0624-5B37-B797-C460F4B02026 |
| TotalCount |
integer |
结果总数。 |
7 |
| MaxResults |
integer |
分页查询时,每页显示的行数。每页最大 100 行,默认为 20 行。 |
20 |
| DeployDetails |
array<object> |
服务实例部署详情。 |
|
|
object |
服务实例部署详情。 |
||
| Cycle |
string |
聚合周期。 |
Month |
| Timestamp |
string |
时间戳, |
1723946641994 |
| Count |
string |
聚合数据行数。 |
4 |
| CreateTime |
string |
创建时间。 |
2024-04-10T01:58:20Z |
| UserId |
string |
用户 ID。 |
1591457835436382 |
| ServiceId |
string |
服务 ID。 |
service-c751ed91f2074af39779 |
| ServiceVersion |
string |
服务版本。 |
42 |
| ServiceNameChn |
string |
服务中文名称。 |
测试服务 |
| ServiceNameEng |
string |
服务英文名称。 |
Test Service |
| ServiceInstanceId |
string |
服务实例 ID。 |
si-273e8cee11d349e1803c |
| DeploySucceeded |
string |
部署是否成功。 |
False |
| ErrorType |
string |
部署失败的错误类型。 |
ValidationError |
| ErrorCode |
string |
部署失败的错误码。 |
StackValidationFailed |
| ErrorDetail |
string |
错误详情。 |
{code: StackValidationFailed, message: \"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\", requestId: null} |
| ServiceType |
string |
服务类型。 可能值:
|
private |
示例
正常返回示例
JSON格式
{
"NextToken": "AAAAAW8kZY+u1sYOaYf5JmgmDQQ=",
"RequestId": "0036D82E-0624-5B37-B797-C460F4B02026",
"TotalCount": 7,
"MaxResults": 20,
"DeployDetails": [
{
"Cycle": "Month",
"Timestamp": "1723946641994",
"Count": "4",
"CreateTime": "2024-04-10T01:58:20Z",
"UserId": "1591457835436382",
"ServiceId": "service-c751ed91f2074af39779",
"ServiceVersion": "42",
"ServiceNameChn": "测试服务",
"ServiceNameEng": "Test Service",
"ServiceInstanceId": "si-273e8cee11d349e1803c",
"DeploySucceeded": "False",
"ErrorType": "ValidationError",
"ErrorCode": "StackValidationFailed",
"ErrorDetail": "{code: StackValidationFailed, message: \\\"Failed to continue create ROS stack 89e724e2-84e6-4517-a372-30a545ab4145: Resource [LinuxInstanceRunCommand]: i-wz91nfbh1fxtmfb0try4 are not running. Command invocation only support running instances. ErrorCode: StackValidationFailed\\\", requestId: null}",
"ServiceType": "private"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。