获取云助手任务列表
获取云助手任务列表
Query Parameters
subscription_name string
订阅
resource_group_name string
资源组
zone string
可用区
page_size int32
返回项最大数目
page_token string
从先前的列表请求返回的下一页令牌值(如果存在)
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
tasks object[]
任务列表
id string
任务id
instance_ids string[]
裸金属实例id
script string
任务内容
create_time date-time
创建时间
update_time date-time
更新时间
tasks object[]
云助手任务列表
id string
云助手任务id
name string
云助手任务名
type string
云助手任务类型
assist_id string
云助手id
instance_id string
裸金属实例id
instance_uuid string
裸金属实例uuid
instance_displayname string
裸金属实例显示的名称
script string
任务内容
create_time date-time
创建时间
update_time date-time
更新时间
result string
任务执行结果
status string
任务执行状态
next_page_token string
从先前的列表请求返回的下一页令牌值(如果存在)
total int32
云助手任务总数
{
"tasks": [
{
"id": "string",
"instance_ids": [
"string"
],
"script": "string",
"create_time": "2024-12-05T02:41:59.003Z",
"update_time": "2024-12-05T02:41:59.003Z",
"tasks": [
{
"id": "string",
"name": "string",
"type": "string",
"assist_id": "string",
"instance_id": "string",
"instance_uuid": "string",
"instance_displayname": "string",
"script": "string",
"create_time": "2024-12-05T02:41:59.003Z",
"update_time": "2024-12-05T02:41:59.003Z",
"result": "string",
"status": "string"
}
]
}
],
"next_page_token": "string",
"total": 0
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...