getScheduledActionList
    • PDF

    getScheduledActionList

    • PDF

    Article summary

    Overview

    Get schedule action list

    Description

    List every unexecuted scaling action schedule of a user. You can check executed action lists by calling the getAutoScalingActivityLogList.
    The list can also be divided into pages. A user can assign each page size(item number) and page number.

    Request Parameters

    ParameterRequiredTypeRestrictionsDescription
    autoScalingGroupNameNoStringMin : 1, Max : 255Enter the name of the auto-scaling group you want to view.
    scheduledActionNameListNoListMin : 1, Max : 255The list of scaling action schedule names to be received as a result is displayed.
    startTimeNoDateyyyy-MM-dd'T'HH:mm:ssZLess than or equal to the schedule start date and time (datetime)
    Ignore this field if scheduledActionNameList is specified
    format : yyyy-MM-dd'T'HH:mm:ssZ
    ex)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00
    endTimeNoDateyyyy-MM-dd'T'HH:mm:ssZTime less than or equal to the schedule end date (datetime)
    Ignore this field if scheduledActionNameList is specified
    format : yyyy-MM-dd'T'HH:mm:ssZ
    ex)2013-07-25T17:50:00+0900, 2013-07-25T17:50:00+09:00
    pageNoNoIntegerMin:0, Max:2147483647Enter the page information of the Pagination in the list view.
    If you enter a default value of 0, all lists are displayed.
    pageSizeNoIntegerMin:0, Max:2147483647Enter the number of pieces of information to be displayed in the Pagination in the list view.
    If you enter a default value of 0, all lists are queried.
    sortedByNoString-Name of Schedule Action (scheduledActionName) | Date Created (createDate) [No case sensitivity]
    Default: Name of Schedule Action(scheduledActionName)
    sortingOrderNoString-Ascending | descending [No case sensitivity]
    Default: Ascending

    Response Data type

    • ScheduledUpdateGroupActionList Type
    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;

    Examples

    Request

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

    Response

    {
      "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>
    

    Was this article helpful?

    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.