getAutoScalingActivityLogList
    • PDF

    getAutoScalingActivityLogList

    • PDF

    Article Summary

    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 nameRequirement statusTypeRestrictionsDescription
    regionCodeNoStringRegion 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
    autoScalingGroupNoYesStringAuto Scaling Group number
    You can obtain the autoScalingGroupNo through the getAutoScalingGroupList action.
    activityNoList.NNoList<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
    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.
    responseFormatTypeNoStringFormat 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>
    

    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.