getScheduledActionList
    • PDF

    getScheduledActionList

    • PDF

    Article summary

    Can be used in a VPC environment.

    Summary

    Search list of scaling action schedules not executed yet.
    You can search the actions already executed through the getAutoScalingActivityLogList action.

    Request

    Request Parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion code
    You can decide the region of the Auto Scaling Group where the list of schedules actions will be searched.
    You can obtain the regionCode through the getRegionList action.
    Default: Select the first region of the getRegionList search results
    autoScalingGroupNoYesStringAuto Scaling Group number
    You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
    scheduledActionNoList.NNoList<String>List of scheduled action numbers
    You can search by filtering with a scheduled action number.
    You can obtain the scheduledActionNo through the getScheduledActionList action.
    ex) scheduledActionNoList.1=1234&scheduledActionNoList.2=2345
    scheduledActionNameList.NNoList<String>Min : 1, Max : 255List of scheduled action names
    You can search by filtering with a scheduled action name.
    You can obtain the scheduledActionName through the getScheduledActionList action.
    ex) scheduledActionNameList.1=test1&scheduledActionNameList.2=test2
    startTimeNoDateyyyy-MM-ddTHH:mm:ssZSchedule start date
    You can search a scheduled action with a start time of startTime or higher.
    If a scheduledActionNoList or scheduledActionNameList is specified, ignore the current field.
    format : yyyy-MM-ddTHH:mm:ssZ
    ex) 2020-07-25T17:50:00+0900, 2020-07-25T17:50:00+09:00
    endTimeNoDateyyyy-MM-ddTHH:mm:ssZSchedule end date
    You can search a scheduled action with a start time of endTime or lower.
    If a scheduledActionNoList or scheduledActionNameList is specified, ignore the current field.
    format : yyyy-MM-ddTHH:mm:ssZ
    ex) 2020-07-25T17:50:00+0900, 2020-07-25T17:50:00+09:00
    pageNoNoIntegerPage number of the paged results
    The results can be paged using pageNo and pageSize.
    pageSizeConditionalIntegerEach page size to be displayed when paging
    The results can be paged using pageNo and pageSize.
    You must enter it when entering pageNo.
    sortList.N.sortedByNoStringSorted by
    You can sort the results by the sche name.
    Options : scheduledActionName
    ex) sortList.1.sortedBy=scheduledActionName
    sortList.N.sortingOrderNoStringSorting order
    When using sortedBy, sort in ascending/descending order.
    Options: ASC (ascending order) | DESC (descending order)
    Default : ASC
    ex) sortList.1.sortingOrder=DESC
    responseFormatTypeNoStringFormat type of the response results
    Options : xml | json
    Default : xml

    Response

    Response data type

    • ScheduledUpdateGroupActionList type
    ScheduledUpdateGroupActionList extends CommonResponse
    private Integer totalRows;
    private List scheduledUpdateGroupActionList = new ArrayList<>();
    ScheduledUpdateGroupAction
    private String autoScalingGroupNo;
    private String scheduledActionNo;
    private String scheduledActionName;
    private Integer minSize;
    private Integer maxSize;
    private Integer desiredCapacity;
    private Date startTime;
    private Date endTime;
    private String recurrence;
    private String timeZone;

    Example

    Request example

    ncloud vautoscaling getScheduledActionList --regionCode KR --autoScalingGroupNo ***700 --startTime "2020-12-15T17:00:00+0900" --endTime "2020-12-15T18:00:00+0900"
    

    Response example

    <getScheduledActionListResponse>
      <requestId>cc4084f6-f32c-4894-b2b8-430982320159</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <scheduledUpdateGroupActionList>
        <scheduledUpdateGroupAction>
          <autoScalingGroupNo>***700</autoScalingGroupNo>
          <scheduledActionNo>***281</scheduledActionNo>
          <scheduledActionName>test-***</scheduledActionName>
          <minSize>0</minSize>
          <maxSize>0</maxSize>
          <desiredCapacity>0</desiredCapacity>
          <startTime>2020-12-15T17:05:00+0900</startTime>
          <endTime>2020-12-15T18:00:00+0900</endTime>
          <recurrence>5 * * * *</recurrence>
          <timeZone>KST</timeZone>
        </scheduledUpdateGroupAction>
      </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.