查看云助手任务详情
查看云助手任务详情
Path Parameters
id string required
任务id
Query Parameters
subscription_name string
订阅
resource_group_name string
资源组
zone string
可用区
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
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
任务执行状态
{
"id": "string",
"instance_ids": [
"string"
],
"script": "string",
"create_time": "2024-12-05T02:41:59.000Z",
"update_time": "2024-12-05T02:41:59.000Z",
"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.000Z",
"update_time": "2024-12-05T02:41:59.000Z",
"result": "string",
"status": "string"
}
]
}
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...