Documentation Index

Fetch the complete documentation index at: https://api-gov.ncloud-docs.com/llms.txt

Use this file to discover all available pages before exploring further.

getScheduledActionList

Prev Next

개요

아직 실행되지 않은 사용자의 모든 Scaling action 스케줄을 나열합니다. 이미 실행된 action 기록은 getAutoScalingActivityLogList을 호출해서 볼 수 있습니다.

또한 페이지로 나누어 볼 수 있습니다. 사용자가 각 페이지 사이즈(항목 수)와 페이지 번호를 지정할 수 있습니다.

요청

요청 파라미터

파라미터 명 필수 여부 타입 제약사항 설명
autoScalingGroupName No String Min : 1
Max : 255
조회하고자 하는 Auto Scaling 그룹명 입력
scheduledActionNameList No List Min : 1
Max : 255
결과로 받을 스케일링 액션 스케줄명이 리스트로 보여짐
startTime No Date yyyy-MM-dd'T'HH:mm:ssZ 스케쥴 시작일시보다 작거나 같은 시간 datetime
scheduledActionNameList 이 명시되어 있다면 현재 필드 무시가능
format : yyyy-MM-dd'T'HH:mm:ssZ
ex) 2018-07-25T17:50:00+0900
endTime No Date yyyy-MM-dd'T'HH:mm:ssZ 스케쥴 시작일시보다 작거나 같은 시간 datetime
scheduledActionNameList 이 명시되어 있다면 현재 필드 무시가능
format : yyyy-MM-dd'T'HH:mm:ssZ
ex) 2018-07-25T17:50:00+0900
pageNo No Integer Min:0
Max:2147483647
리스트 조회시 Pagination의 페이지 정보를 입력
기본 값 0으로 입력한 경우 모든 리스트를 조회
pageSize No Integer Min:0
Max:2147483647
리스트 조회시 Pagination의 보여질 정보의 개수 입력
기본 값 0으로 입력한 경우 모든 목록 조회
sortedBy No String - scheduledActionName(스케쥴액션명)
createDate(생성일시)
default : scheduledActionName(스케쥴액션명)
sortingOrder No String - ascending(오름차순)
descending(내림차순)
default : ascending(오름차순)
responseFormatType No String - 응답 결과의 포맷 타입
Options : xml | json
Default : xml

응답

응답 바디

예시

요청 예시

{AUTOSCALILNG_API_URL}/getScheduledActionList
?autoScalingGroupName=asg-1
&startTime=2018-03-01T20%3A00%3A00%2B0900

응답 예시

<getScheduledActionListResponse>
   <requestId>4cea4b3c-1c15-4598-8188-37a413c74b2c</requestId>
   <returnCode>0</returnCode>
   <returnMessage>success</returnMessage>
   <totalRows>2</totalRows>
   <scheduledUpdateGroupActionList>
      <scheduledUpdateGroupAction>
         <autoScalingGroupName>asg-1</autoScalingGroupName>
         <scheduledActionName>sa-0228-4</scheduledActionName>
         <minSize>0</minSize>
         <startTime>2014-03-10T00:00:00+0900</startTime>
         <endTime>2014-03-10T00:00:00+0900</endTime>
         <recurrenceInKST>0 0 10 * *</recurrenceInKST>
      </scheduledUpdateGroupAction>
      <scheduledUpdateGroupAction>
         <autoScalingGroupName>asg-1</autoScalingGroupName>
         <scheduledActionName>sa-0228-5</scheduledActionName>
         <minSize>0</minSize>
         <startTime>2018-03-10T05:00:00+0900</startTime>
         <endTime>2018-03-10T05:00:00+0900</endTime>
         <recurrenceInKST>0 5 10 * *</recurrenceInKST>
      </scheduledUpdateGroupAction>
   </scheduledUpdateGroupActionList>
</getScheduledActionListResponse>