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.