getScheduledActionList
    • PDF

    getScheduledActionList

    • PDF

    Article Summary

    概要

    スケジュールアクションリスト照会

    説明

    まだ実行されてないユーザーのすべてのスケーリングアクションスケジュールをリストアップします。既に実行されたaction記録はgetAutoScalingActivityLogListを呼び出すことで表示できます。
    また、ページングが可能であるため、ユーザーが各ページサイズ(項目数)とページ番号を指定できます

    リクエストパラメータ

    パラメータ名必須タイプ制約事項説明
    autoScalingGroupNameNoStringMin : 1, Max : 255照会しようとするAuto Scaling Group名を入力します。
    scheduledActionNameListNoListMin : 1, Max : 255結果として受け取るスケーリングアクションスケジュール名がリストで表示されます。
    startTimeNoDateyyyy-MM-dd'T'HH:mm:ssZスケジュール開示日時より小さいか同じ時間(datetime) scheduledActionNameListが明示されている場合はこのフィールドを無視
    format: yyyy-MM-dd'T'HH:mm:ssZ
    例)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00
    endTimeNoDateyyyy-MM-dd'T'HH:mm:ssZスケジュール終了日時より小さいか同じ時間 (datetime) scheduledActionNameListが明示されている場合はこのフィールドを無視
    format: yyyy-MM-dd'T'HH:mm:ssZ
    例)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00
    pageNoNoIntegerMin:0, Max:2147483647リストを照会する時、Paginationのページ情報を入力します。
    基本値の0を入力した場合、すべてのリストを照会します。
    pageSizeNoIntegerMin:0, Max:2147483647リストを照会する時、Paginationに表示される情報の個数を入力します。
    基本値の0を入力した場合、すべてのリストを照会します。
    sortedByNoString-スケジュールアクション名(scheduledActionName) | 作成日時(createDate) [大小文字区分なし]
    Default: スケジュールアクション名(scheduledActionName)
    sortingOrderNoString-アセンディング(asceding) | ディセンディング(descending) [大小文字区分なし]
    Default: アセンディング(asceding)

    レスポンスデータタイプ

    • ScheduledUpdateGroupActionListタイプ
    ScheduledUpdateGroupActionList extends CommonResponse
    private Integer totalRows;
    private List scheduledUpdateGroupActionList = new ArrayList();
    ScheduledUpdateGroupAction extends BaseObject
    private String autoScalingGroupName;
    private String scheduledActionName;
    private Integer desiredCapacity;
    private Integer minSize;
    private Integer maxSize;
    private Date startTime;
    private Date endTime;
    private String recurrenceInKST;

    例示

    呼び出し

    ncloud autoscaling getScheduledActionList --autoScalingGroupName soso02 --scheduledActionNameList test-autoscaling-schedule
    

    レスポンス

    {
      "getScheduledActionListResponse": {
        "requestId": "dfee1ecb-c335-4225-8872-538940aac950",
        "returnCode": "0",
        "returnMessage": "success",
        "totalRows": 1,
        "scheduledUpdateGroupActionList": [
          {
            "autoScalingGroupName": "soso02",
            "scheduledActionName": "test-autoscaling-schedule",
            "desiredCapacity": 2,
            "minSize": 0,
            "maxSize": 3,
            "startTime": "2018-04-05T19:00:00+0900",
            "endTime": "2020-04-05T20:00:00+0900",
            "recurrenceInKST": ""
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getScheduledActionListResponse>
      <requestId>dfee1ecb-c335-4225-8872-538940aac950</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <scheduledUpdateGroupActionList>
        <autoScalingGroupName>soso02</autoScalingGroupName>
        <scheduledActionName>test-autoscaling-schedule</scheduledActionName>
        <desiredCapacity>2</desiredCapacity>
        <minSize>0</minSize>
        <maxSize>3</maxSize>
        <startTime>2018-04-05T19:00:00+0900</startTime>
        <endTime>2020-04-05T20:00:00+0900</endTime>
        <recurrenceInKST></recurrenceInKST>
      </scheduledUpdateGroupActionList>
    </getScheduledActionListResponse>
    

    この記事は役に立ちましたか?

    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.