DescribeSendFileResults
Queries the list and status of files sent by O&M Assistant.
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 command execution ID. |
t-bj038i0d6r8zoqo |
| NodeId |
string |
No |
The node ID. |
e01-cn-zvp2tgykr08 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
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 of the file. |
0644 |
| Overwrite |
boolean |
Specifies whether to overwrite the file if a file with the same name already exists in the target directory. Valid values:
Default value: false. |
true |
| InvocationStatus |
string |
The overall sending status of the file. The overall status depends on the combined execution status of all instances in this sending operation. Valid values:
|
Pending |
| Description |
string |
The command description. |
Description information |
| ContentType |
string |
The file content type. Valid values:
Default value: PlainText. |
PlainText |
| NodeCount |
integer |
The number of nodes. |
3 |
| TargetDir |
string |
The target path. |
/home/user |
| FileGroup |
string |
The user group of the file. |
root |
| FileOwner |
string |
The user of the file. |
root |
| Name |
string |
The file sending name. |
test |
| Content |
string |
The output information after command execution. If ContentEncoding is set to PlainText, the original output information is returned. If ContentEncoding is set to Base64, the Base64-encoded output information is returned. |
Base64 |
| CreationTime |
string |
The time when the sending task was created. The time is in ISO 8601 format and includes the time zone offset. |
2023-04-10T10:53:46.156+08:00 |
| InvokeNodes |
object |
The file sending records. |
|
| InvokeNode |
array<object> |
The file sending record of a node. |
|
|
object |
|||
| InvocationStatus |
string |
The file sending status on a single instance. Valid values:
|
Success |
| FinishTime |
string |
The end time, in the format: "2020-05-22T17:04:18". |
2023-04-10T10:53:46.156+08:00 |
| NodeId |
string |
The node ID. |
e01-cn-9lb3c15m81j |
| ErrorInfo |
string |
The details of the reason why the command failed to be sent or executed. Valid values:
|
the specified instance does not exists |
| CreationTime |
string |
The time when the file sending task was created. The time is in ISO 8601 format. Z in the example indicates UTC. |
2023-02-06T07:12:50Z |
| StartTime |
string |
The start time. The time is in ISO 8601 format. Z in the example indicates UTC. |
2023-03-30T16:00:00Z |
| UpdateTime |
string |
The update time. The time is in ISO 8601 format. Z in the example indicates UTC. |
2023-03-30T16:00:00Z |
| ErrorCode |
string |
The error code for the file sending failure. Valid values:
|
AccountNotExists |
Examples
Success response
JSON format
{
"RequestId": "4FD06DF0-9167-5C6F-A145-F30CA4A15D54",
"TotalCount": "1",
"Invocations": {
"Invocation": [
{
"FileMode": "0644",
"Overwrite": true,
"InvocationStatus": "Pending",
"Description": "Description.",
"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.