| object | | |
RequestId | string | | 4FD06DF0-9167-5C6F-A145-F30CA4A15D54 |
TotalCount | string | | 1 |
Invocations | object | | |
Invocation | object [] | | |
FileMode | string | | 0644 |
Overwrite | boolean | 如果同名文件在目標目錄已存在,是否覆蓋文件。
默認值為 false。 | true |
InvocationStatus | string | 文件的總下發狀態。總狀態取決于本次下發的全部實例的共同執行狀態,可能值:
- Pending:系統正在校驗或下發文件。存在至少一臺實例的文件下發狀態為 Pending,則總執行狀態為 Pending。
- Running:正在實例上下發文件。存在至少一臺實例的文件下發狀態為 Running,則總執行狀態為 Running。
- Success:各個實例上的文件下發狀態均為 Success,則總執行狀態為 Success。
- Failed:各個實例上的文件下發狀態均為 Failed,則總執行狀態為 Failed。實例上的文件下發狀態一項或多項為以下狀態時,返回值均為 Failed 狀態:
- 指定文件參數有誤,校驗失敗(Invalid)。
- 向實例下發文件失敗(Aborted)。
- 文件在實例內創建失敗(Failed)。
- 下發文件超時(Timeout)。
- 下發文件時發生異常無法繼續(Error)。
- PartialFailed:部分實例文件下發成功且部分實例下發失敗。各個實例的文件下發狀態均為 Success 或 Failed,則總執行狀態為 PartialFailed。
| Pending |
Description | string | | 描述信息。 |
ContentType | string | 文件內容類型。
PlainText:普通文本。
Base64:Base64 編碼。
默認值為 PlainText。 | PlainText |
NodeCount | integer | | 3 |
TargetDir | string | | /home/user |
FileGroup | string | | root |
FileOwner | string | | root |
Name | string | | test |
Content | string | 命令執行后的輸出信息。
若 ContentEncoding 指定 PlainText,返回原始輸出信息。
若 ContentEncoding 指定 Base64,返回 Base64 編碼后的輸出信息。 | Base64 |
CreationTime | string | | 2023-04-10T10:53:46.156+08:00
|
InvokeNodes | object | | |
InvokeNode | object [] | | |
InvocationStatus | string | 單臺實例下發任務的狀態,可能值:
- Pending:系統正在校驗或下發文件。
- Invalid:指定文件參數有誤,校驗失敗。
- Running:正在實例上下發文件。
- Aborted:向實例下發文件失敗。
- Success:文件下發完成。
- Failed:文件在實例內創建失敗。
- Error:下發文件時發生異常無法繼續。
- Timeout:下發文件超時。
| Success |
FinishTime | string | 結束時間,格式:"2020-05-22T17:04:18"。 | 2023-04-10T10:53:46.156+08:00 |
NodeId | string | | e01-cn-9lb3c15m81j |
ErrorInfo | string | 命令的下發失敗或執行失敗原因的詳情,可能值:
- 空:命令執行正常。
- the specified instance does not exists:指定的實例不存在或已釋放。
- the node has released when create task:執行命令期間,該實例被釋放。
- the node is not running when create task:命令執行時,該實例不在運行中。
- the command is not applicable:命令不適用于指定的實例。
- the specified account does not exists:指定的賬號不存在。
- the specified directory does not exists:指定的目錄不存在。
- the cron job expression is invalid:指定的執行時間表達式不合法。
- the aliyun service is not running on the instance:云助手 Agent 未運行。
- the aliyun service in the instance does not response:云助手 Agent 無響應。
- the aliyun service in the node is upgrading now:云助手 Agent 正在升級中。
- the aliyun service in the node need upgrade:云助手 Agent 需要升級。
- the command delivery has been timeout:發送命令超時。
- the command execution has been timeout:命令執行超時。
- the command execution got an exception:命令執行發生異常。
- the command execution has been interrupted:命令執行被中斷。
- the command execution exit code is not zero:命令執行結束,退出碼非 0。
- the specified instance has been released:下發文件期間,該實例被釋放。
| the specified instance does not exists |
CreationTime | string | | 2023-02-06T07:12:50Z |
StartTime | string | | 2023-03-30T16:00:00Z |
UpdateTime | string | | 2023-03-30T16:00:00Z |
ErrorCode | string | 文件下發的失敗原因代碼。可能值:
空:文件下發正常。
NodeNotExists:指定的實例不存在或已釋放。
NodeReleased:下發文件期間,該實例被釋放。
NodeNotRunning:創建下發文件任務時,該實例不在運行中。
AccountNotExists:指定的賬號不存在。
ClientNotRunning:云助手 Agent 未運行。
ClientNotResponse:云助手 Agent 無響應。
ClientIsUpgrading:云助手 Agent 正在升級中。
ClientNeedUpgrade:云助手 Agent 需要升級。
DeliveryTimeout:發送文件超時。
FileCreateFail:文件創建失敗。
FileAlreadyExists:相同路徑下存在同名文件。
FileContentInvalid:文件內容不合法。
FileNameInvalid:文件名不合法。
FilePathInvalid:文件路徑不合法。
FileAuthorityInvalid:文件權限不合法。
UserGroupNotExists:發送文件時指定的用戶組不存在。 | AccountNotExists |