getAutoScalingActivityLogList

Prev Next

Can be used in a VPC environment.

Summary

Search list of scaling action execution logs.
You can search the scaling action logs for the past 6 weeks. Search the results in descending order based on the time when the scaling action's execution has ended.

Request

Request Parameters

Parameter name Requirement status Type Restrictions Description
regionCode No String Region code
You can decide the region of the Auto Scaling Group where the list of scaling action logs will be searched.
You can obtain the regionCode through the getRegionList action.
Default: Select the first region of the getRegionList search results
autoScalingGroupNo Yes String Auto Scaling Group number
You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
activityNoList.N No List<String> List of scaling action execution log numbers
You can search by filtering with a scaling action execution log number.
You can obtain the activityNo through the getAutoScalingActivityLogList action.
ex) activityNoList.1=1234&activityNoList.2=2345
pageNo No Integer Page number of the paged results
The results can be paged using pageNo and pageSize.
pageSize Conditional Integer Each page size to be displayed when paging
The results can be paged using pageNo and pageSize.
You must enter it when entering pageNo.
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response data type

  • ActivityLogList type
ActivityLogList extends CommonResponse
private Integer totalRows;
private List activityLogList = new ArrayList<>();
ActivityLog
private String autoScalingGroupNo;
private String activityNo;
private String serverInstanceNo;
private String zoneCode;
private String actionName;
private CommonCode actionStatus;
private String actionCause;
private String actionDescription;
private Date startTime;
private Date endTime;

Example

Request example

ncloud vautoscaling getAutoScalingActivityLogList --regionCode KR --autoScalingGroupNo ***700 --activityNoList ***229

Response example

<getAutoScalingActivityLogListResponse>
  <requestId>dbd91cc2-5cc5-4a42-8573-778aac969406</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <activityLogList>
    <activityLog>
      <autoScalingGroupNo>***700</autoScalingGroupNo>
      <activityNo>***229</activityNo>
      <serverInstanceNo></serverInstanceNo>
      <zoneCode></zoneCode>
      <actionName>Scheduled Action</actionName>
      <actionStatus>
        <code>SUCCS</code>
        <codeName>SUCCESSFUL</codeName>
      </actionStatus>
      <actionCause> </actionCause>
      <actionDescription>Executing scheduled action test-***</actionDescription>
      <startTime>2020-12-17T16:20:01+0900</startTime>
      <endTime>2020-12-17T16:20:01+0900</endTime>
    </activityLog>
  </activityLogList>
</getAutoScalingActivityLogListResponse>