| object | | |
| RequestId | string | | 4FD06DF0-9167-5C6F-A145-F30CA4A15D54 |
| TotalCount | string | The total number of the commands. | 1 |
| Invocations | object | The file sending records. | |
| Invocation | array<object> | The command execution ID. | |
| Invocation | object | | |
| FileMode | string | The permissions on the file. | 0644 |
| Overwrite | boolean | Indicates whether a file was overwritten in the destination directory if the file has the same name as the sent file.
Default value: false. | true |
| InvocationStatus | string | The overall sending status of the file. The overall sending status of the file varies based on the sending status of the file on all destination instances. Valid values:
-
Pending: The file is being verified or sent. If the sending state of the file on at least one instance is Pending, the overall sending state of the file is Pending.
-
Running: The file is being sent to the instance. If the sending state of the file on at least one instance is Running, the overall sending state of the file is Running.
-
Success: If the sending state of the file on all instances is Success, the overall sending state of the file is Success.
-
Failed: If the sending state of the file on all instances is Failed, the overall sending state of the file is Failed. If the sending state of the file on one or more instances is one of the following values, the overall sending state of the file is Failed:
- Invalid: The file is invalid.
- Aborted: The file failed to be sent to the instances.
- Failed: The file failed to be created on the instances.
- Timeout: The file sending task timed out.
- Error: An error occurred and interrupted the file sending task.
-
PartialFailed: The file sending task was completed on some instances but failed on other instances. If the sending state of the file is Success on some instances and is Failed on other instances, the overall sending state of the file is PartialFailed.
| Pending |
| Description | string | | Description
|
| ContentType | string | The content type of the file.
PlainText: The file content is not encoded. Base64: The file content is encoded in Base64. Default value: PlainText. | PlainText |
| NodeCount | integer | | 3 |
| TargetDir | string | The destination directory. | /home/user |
| FileGroup | string | The user group of the file. | root |
| FileOwner | string | | root |
| Name | string | The name of the file sending task. | test |
| Content | string | The command output.
If ContentEncoding is set to PlainText in the request, the original command output is returned. If ContentEncoding is set to Base64 in the request, the Base64-encoded command output is returned. | Base64 |
| CreationTime | string | The time when the file sending task was created. | 2023-04-10T10:53:46.156+08:00
|
| InvokeNodes | object | The file sending records. | |
| InvokeNode | array<object> | The file sending records on a node. | |
| InvokeNode | object | | |
| InvocationStatus | string | The status of the file sending task on an instance. Valid values:
- Pending: The file is being verified or sent.
- Invalid: The file is invalid.
- Running: The file is being sent to the instance.
- Aborted: The file failed to be sent to the instance.
- Success: The file is sent.
- Failed: The file failed to be created on the instance.
- Error: An error occurred and interrupted the file sending task.
- Timeout: The file sending task timed out.
| Success |
| FinishTime | string | The time when the file sending task ends. The time is in the 2020-05-22T17:04:18 format. | 2023-04-10T10:53:46.156+08:00 |
| NodeId | string | | e01-cn-9lb3c15m81j |
| ErrorInfo | string | The error message returned if the command failed to be sent or run. Valid values:
- null: The command is run as expected.
- the specified instance does not exists: The specified instance does not exist or is released.
- the node has released when create task: The instance is released when the command is being run.
- the node is not running when create task: The instance is not in the Running state while the command is being run.
- the command is not applicable: The command is not applicable to the specified instance.
- the specified account does not exists: The specified account does not exist.
- the specified directory does not exists: The specified directory does not exist.
- the cron job expression is invalid: The cron expression that specifies the execution time is invalid.
- the aliyun service is not running on the instance: Cloud Assistant Agent is not running.
- the aliyun service in the instance does not response: Cloud Assistant Agent does not respond.
- the aliyun service in the node is upgrading now: Cloud Assistant Agent is being upgraded.
- the aliyun service in the node need upgrade: Cloud Assistant Agent needs to be upgraded.
- the command delivery has been timeout: The request to send the command timed out.
- the command execution has been timeout: The command execution timed out.
- the command execution got an exception: An exception occurred when the command is being run.
- the command execution has been interrupted: The command execution is interrupted.
- the command execution exit code is not zero: The command execution completes, but the exit code is not 0.
- the specified instance has been released: The instance is released while the file is being sent.
| the specified instance does not exists |
| CreationTime | string | The time when the file sending task was created. | 2023-02-06T07:12:50Z |
| StartTime | string | | 2023-03-30T16:00:00Z |
| UpdateTime | string | | 2023-03-30T16:00:00Z |
| ErrorCode | string | The error code returned when the file failed to be sent to the instance. Valid values:
Null: The file is sent to the instance. NodeNotExists: The specified instance does not exist or has been released. NodeReleased: The instance was released while the file was being sent. NodeNotRunning: The instance was not running while the file sending task was being created. AccountNotExists: The specified account does not exist. ClientNotRunning: Cloud Assistant Agent is not running. ClientNotResponse: Cloud Assistant Agent did not respond. ClientIsUpgrading: Cloud Assistant Agent was being upgraded. ClientNeedUpgrade: Cloud Assistant Agent needs to be upgraded. DeliveryTimeout: The file sending task timed out. FileCreateFail: The file failed to be created. FileAlreadyExists: A file with the same name exists in the specified directory. FileContentInvalid: The file content is invalid. FileNameInvalid: The file name is invalid. FilePathInvalid: The specified directory is invalid. FileAuthorityInvalid: The specified permissions on the file are invalid. UserGroupNotExists: The specified user group does not exist. | AccountNotExists |