全部产品
存储与CDN 数据库 安全 应用服务 数加·人工智能 数加·大数据基础服务 互联网中间件 视频服务 阿里云办公 培训与认证 物联网

ECS

更新时间:2017-06-07 13:26:11

RAM用户通过控制台停止ECS实例

{
    "apiVersion": "2014-05-26",
    "eventId": "f4788483-70fc-476b-839b-af5ed11170cd",
    "eventName": "StopInstance",
    "eventSource": "ecs-cn-hangzhou.aliyuncs.com",
    "eventTime": "2016-01-04T09:47:40Z",
    "eventType": "ApiCall",
    "eventVersion": "1",
    "recipientAccountId": "43274",
    "requestId": "275A832E-4C6A-47BE-A432-C18DDD79FDAB",
    "requestParameters": {
        "ForceStop": "true",
        "InstanceId": "i-22nyrl1yf"
    },
    "serviceName": "Ecs",
    "sourceIpAddress": "42.120.74.96",
    "userAgent": "AliyunConsole",
    "userIdentity": {
        "type": "ram-user",
        "accountId": "43274",
        "principalId": "288153348682784898",
        "userName": "Bob",
        "sessionContext": {
            "attributes": {
                "creationDate": "2016-01-04T09:47:40Z",
                "mfaAuthenticated": "true"
            }
        }
    }
}

RAM用户通过SDK停止ECS实例

{
    "apiVersion": "2014-05-26",
    "eventId": "e0cdf18f-e5ec-4c5f-b37c-99b608b9418c",
    "eventName": "StopInstance",
    "eventSource": "ecs-cn-hangzhou.aliyuncs.com",
    "eventTime": "2016-01-04T09:47:40Z",
    "eventType": "ApiCall",
    "eventVersion": "1",
    "recipientAccountId": "43274",
    "requestId": "FC33D0AB-1C6B-4B4E-911D-E939122AA248",
    "requestParameters": {
        "ForceStop": "true",
        "InstanceId": "i-84udjsiop"
    },
    "serviceName": "Ecs",
    "sourceIpAddress": "42.120.74.96",
    "userAgent": "aliyuncli/2.0.6",
    "userIdentity": {
        "type": "ram-user",
        "accountId": "43274",
        "principalId": "288153348682784898",
        "userName": "Bob",
        "accessKeyId": "IE8ITksrR3SDuqzI"
    }
}
本文导读目录