getAutoScalingActivityLogList
    • PDF

    getAutoScalingActivityLogList

    • PDF

    기사 요약

    개요

    액티비티 로그 리스트 조회

    설명

    과거 6주 동안의 모든 scaling action 로그를 결과로 받습니다. 최근 로그부터 Descending으로 나열됩니다.
    또한 페이징이 가능하여 사용자가 각 페이지 사이즈(항목 수)와 페이지 번호를 지정할 수 있습니다.

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    activityNoListNoList-스케일링 액션(activity) 식별 번호
    autoScalingGroupNameNoStringMin : 1, Max : 255조회하고자 하는 오토 스케일링 그룹명 입력
    pageNoNoIntegerMin:0, Max:2147483647리스트 조회 시 Pagination의 페이지 정보 입력
    기본 값 0으로 입력한 경우 모든 리스트 조회
    pageSizeNoIntegerMin:0, Max:2147483647리스트 조회시 Pagination의 보여질 정보의 개수 입력
    기본 값 0으로 입력한 경우 모든 목록 조회

    응답 데이터 타입

    • ActivityLogList 타입
    ActivityLogList extends CommonResponse
    private Integer totalRows;
    private List activityLogList = new ArrayList();
    ActivityLog extends BaseObject
    private String activityNo;
    private String autoScalingGroupName;
    private CommonCode status;
    private String statusMessage;
    private String actionCause;
    private String description;
    private String details;
    private Date startTime;
    private Date endTime;

    예시

    호출

    ncloud autoscaling getAutoScalingActivityLogList --activityNoList 26019 26020 26021 --autoScalingGroupName soso02
    

    응답

    {
      "getAutoScalingActivityLogListResponse": {
        "requestId": "bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 2,
        "activityLogList": [
          {
            "activityNo": "26019",
            "autoScalingGroupName": "soso02",
            "status": {
              "code": "INPRG",
              "codeName": "IN_PROGRESS"
            },
            "statusMessage": "",
            "actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
            "description": "Terminating server instance: #352663",
            "details": "{\"zoneNo\":\"2\"}",
            "startTime": "2017-12-19T11:33:03+0900"
          },
          {
            "activityNo": "26020",
            "autoScalingGroupName": "soso02",
            "status": {
              "code": "INPRG",
              "codeName": "IN_PROGRESS"
            },
            "statusMessage": "",
            "actionCause": "At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.",
            "description": "Terminating server instance: #352668",
            "details": "{\"zoneNo\":\"2\"}",
            "startTime": "2017-12-19T11:33:03+0900"
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getAutoScalingActivityLogListResponse>
      <requestId>bc6e7dc6-be77-4dcc-b88d-b06ac92bcc0c</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <activityLogList>
        <activityNo>26019</activityNo>
        <autoScalingGroupName>soso02</autoScalingGroupName>
        <status>
          <code>INPRG</code>
          <codeName>IN_PROGRESS</codeName>
        </status>
        <statusMessage></statusMessage>
        <actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
        <description>Terminating server instance: #352663</description>
        <details>{&quot;zoneNo&quot;:&quot;2&quot;}</details>
        <startTime>2017-12-19T11:33:03+0900</startTime>
      </activityLogList>
      <activityLogList>
        <activityNo>26020</activityNo>
        <autoScalingGroupName>soso02</autoScalingGroupName>
        <status>
          <code>INPRG</code>
          <codeName>IN_PROGRESS</codeName>
        </status>
        <statusMessage></statusMessage>
        <actionCause>At 2017-12-19T11:33:03+0900 an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 4 to 0. At 2017-12-19T11:33:03+0900 instance #352653 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352658 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352663 was selected for termination. At 2017-12-19T11:33:03+0900 instance #352668 was selected for termination.</actionCause>
        <description>Terminating server instance: #352668</description>
        <details>{&quot;zoneNo&quot;:&quot;2&quot;}</details>
        <startTime>2017-12-19T11:33:03+0900</startTime>
      </activityLogList>
    </getAutoScalingActivityLogListResponse>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.