Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method to view the execution result of the cloud helper command and actually execute the result in the specified ECS instance

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

How to view the results of the cloud helper command and actually execute the results in the specified ECS instance? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

DescribeInvocationResults

Description

When you execute a command, it does not mean that the command must run successfully, and it must have the desired command effect. You need to view the actual execution result through DescribeInvocationResults, based on the actual output result.

Request parameter

Return parameters

Command execution result set InvocationResultSetType

Instance execution result type InvocationResultType

Example

Request example

Https://ecs.aliyuncs.com/?Action=DescribeInvocationResults&RegionId=cn-hangzhou&InvokeId=t-7d2a745b412b4601b2d47f6a768d3a14&

Normal return example

XML format

5 15 2018-01-05 15:45:02 i-uf614fhehhzmxdqw MTU6NDU6MDEK Finished 0 2018-01-05 15:40:02 i-uf614fhehhzmxdqw Finished 0 2018-01-05 15:30:02 I -uf614fhehhzmxdqw MTU6MzA6MDEK 0 2018-01-05 15:20:02 i-uf614fhehhzmxdqw 0 2018-01-05 15:15:02 i-uf614fhehhzmxdqw MTU6MTU6MDEK 0 "E69EF3CC-94CD-42E7-8926-F133B86387C0

JSON format

{"Invocation": {"TotalCount": 5, "PageNumber": 1, "InvocationResults": {"InvocationResult": [{"FinishedTime": "2018-01-05 15:45:02", "InstanceId": "i-uf614fhehhzmxdqw", "Output": "MTU6NDU6MDEK" "InvokeRecordStatus": "Finished", "ExitCode": 0}, {"FinishedTime": "2018-01-05 15:40:02", "InstanceId": "i-uf614fhehhzmxdqw", "InvokeRecordStatus": "Finished", "Output": "" "ExitCode": 0}, {"FinishedTime": "2018-01-05 15:30:02", "InstanceId": "i-uf614fhehhzmxdqw", "Output": "MTU6MzA6MDEK", "ExitCode": 0} {"FinishedTime": "2018-01-05 15:20:02", "InstanceId": "i-uf614fhehhzmd3zj4k74", "Output": "", "ExitCode": 0} {"FinishedTime": "2018-01-05 15:15:02", "InstanceId": "i-uf614fhehhzmd3zj4k74", "InvokeRecordStatus": "Finished", "Output": "MTU6MTU6MDEK", "ExitCode": 0}]} "PageSize": 5}, "RequestId": "E69EF3CC-94CD-42E7-8926-F133B86387C0"}

Exception return example

XML format

E69EF3CC-94CD-42E7-8926-F133B86387C0 ecs.aliyuncs.com MissingParameter.RegionId The input parameter "RegionId" that is mandatory for processing this request is not supplied.

JSON format

{"RequestId": "E69EF3CC-94CD-42E7-8926-F133B86387C0", "HostId": "ecs.aliyuncs.com"Code": "MissingParameter.RegionId"Message": "The input parameter" RegionId "that is mandatory for processing this request is not supplied."}

Error code

The following are the error codes specific to this API. For more error codes, please visit the API error Center.

Thank you for reading! After reading the above, do you have a general idea of how to view the execution results of the cloud helper command and actually execute the results in the specified ECS instance? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report