DescribeSendFileResults
Queries the files that are sent by an O\\\&M assistant and the status of the files.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:DescribeSendFileResults |
get |
*Node
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InvokeId |
string |
Yes |
The execution ID of the command. |
t-bj038i0d6r8zoqo |
| NodeId |
string |
No |
The node ID. |
e01-cn-zvp2tgykr08 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
4FD06DF0-9167-5C6F-A145-F30CA4A15D54 |
| TotalCount |
string |
The total number of commands. |
1 |
| Invocations |
object |
The file sending records. |
|
| Invocation |
array<object> |
The command execution ID. |
|
|
array<object> |
|||
| FileMode |
string |
The permissions on the file. |
0644 |
| Overwrite |
boolean |
Indicates whether an existing file with the same name in the destination directory was overwritten.
Default value: false. |
true |
| InvocationStatus |
string |
The overall sending status of the file. The status depends on the sending status across all destination instances. Valid values:
|
Pending |
| Description |
string |
The command description. |
Description |
| ContentType |
string |
The content type of the file. Valid values: PlainText: The file content is not encoded. Base64: The file content is Base64-encoded. Default value: PlainText. |
PlainText |
| NodeCount |
integer |
The number of nodes. |
3 |
| TargetDir |
string |
The destination directory. |
/home/user |
| FileGroup |
string |
The user group of the file. |
root |
| FileOwner |
string |
The owner of the file. |
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 content is returned. If ContentEncoding is set to Base64 in the request, the Base64-encoded content 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. |
|
|
object |
|||
| InvocationStatus |
string |
The sending status of the file on a specific instance. Valid values:
|
Success |
| FinishTime |
string |
The time when the file sending task ended, in the format of 2020-05-22T17:04:18. |
2023-04-10T10:53:46.156+08:00 |
| NodeId |
string |
The node ID. |
e01-cn-9lb3c15m81j |
| ErrorInfo |
string |
The error message returned if the command failed to be sent or run. Valid values:
|
the specified instance does not exists |
| CreationTime |
string |
The time when the file sending task was created. |
2023-02-06T07:12:50Z |
| StartTime |
string |
The start time. |
2023-03-30T16:00:00Z |
| UpdateTime |
string |
The update time. |
2023-03-30T16:00:00Z |
| ErrorCode |
string |
The error code returned when the file failed to be sent. 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 |
Examples
Success response
JSON format
{
"RequestId": "4FD06DF0-9167-5C6F-A145-F30CA4A15D54",
"TotalCount": "1",
"Invocations": {
"Invocation": [
{
"FileMode": "0644",
"Overwrite": true,
"InvocationStatus": "Pending",
"Description": "Description\n",
"ContentType": "PlainText",
"NodeCount": 3,
"TargetDir": "\t/home/user",
"FileGroup": "root",
"FileOwner": "root",
"Name": "test",
"Content": "Base64",
"CreationTime": "2023-04-10T10:53:46.156+08:00\n",
"InvokeNodes": {
"InvokeNode": [
{
"InvocationStatus": "Success",
"FinishTime": "2023-04-10T10:53:46.156+08:00",
"NodeId": "e01-cn-9lb3c15m81j",
"ErrorInfo": "the specified instance does not exists",
"CreationTime": "2023-02-06T07:12:50Z",
"StartTime": "2023-03-30T16:00:00Z",
"UpdateTime": "2023-03-30T16:00:00Z",
"ErrorCode": "AccountNotExists"
}
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.