Home >Operation and Maintenance >Linux Operation and Maintenance >Schedule simulated system events for one or multiple ECS instances

Schedule simulated system events for one or multiple ECS instances

坏嘻嘻
坏嘻嘻Original
2018-09-26 14:58:042842browse

This article introduces the reservation of simulated system events for one or more ECS instances, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

CreateSimulatedSystemEvents

Description

After scheduling a simulated event, you can monitor it through the ECS management console, ECS API, and cloud The service views scheduled simulated system events.

The following table shows the life cycle of simulated system events:

Schedule simulated system events for one or multiple ECS instances

Request parameters

Schedule simulated system events for one or multiple ECS instances

Return Parameters

Schedule simulated system events for one or multiple ECS instances

Example

Request example

https://ecs.aliyuncs.com/?Action=CreateSimulatedSystemEvents
&RegionId=cn-hangzhou
&InstanceId.1=i-instance1
&InstanceId.2=i-instance1
&EventType=SystemMaintenance.Reboot
&NotBefore=2018-12-01T06:32:31Z
&<公共请求参数>

Return example

XML format

<CreateSimulatedSystemEventsResponse>
<EventIdSet>
<EventId>e-xhskHun1256xxxx</EventId>
<EventId>e-xhskHun1257xxxx</EventId>
</EventIdSet>
        <RequestId>E69EF3CC-94CD-42E7-8926-F133B86387C0</RequestId>
</CreateSimulatedSystemEventsResponse>

JSON format

{
    "RequestId":"E69EF3CC-94CD-42E7-8926-F133B86387C0",
"EventIdSet":{
"EventId": "e-xhskHun1256xxxx",
"EventId": "e-xhskHun1257xxxx"
}
}

Error code

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

Schedule simulated system events for one or multiple ECS instances

The above is the detailed content of Schedule simulated system events for one or multiple ECS instances. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn