Snapshot Scheduling 생성 이력 조회
    • PDF

    Snapshot Scheduling 생성 이력 조회

    • PDF

    Article Summary

    Snapshot Scheduling 생성 이력을 조회합니다.

    요청

    요청 URL

    GET https://vpcsearchengine.apigw.gov-ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/{service-group-instance-no}
    ?pageNo={pageNo}
    &pageSize={pageSize} [수도권]
    
    GET https://vpcsearchengine.apigw.gov-ntruss.com/api/krs-v2/snapshot/getSnapshotSchedulingHistory/{service-group-instance-no}
    ?pageNo={pageNo}
    &pageSize={pageSize} [남부권]
    

    요청 헤더

    헤더명설명
    x-ncp-apigw-timestamp1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 나타낸 것
    API Gateway 서버와 시간 차가 5분 이상 나는 경우 유효하지 않은 요청으로 간주
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-key네이버 클라우드 플랫폼 포털에서 발급받은 Access Key ID 값
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID 값과 Secret Key로 암호화한 서명
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content type을 application/json으로 지정
    Content-Type: application/json

    요청 파라미터

    파라미터타입필수 여부설명
    serviceGroupInstanceNoStringYSnapshot Scheduling 설정 이력을 조회할 Cluster 번호
    pageNoIntegerN페이지 번호 Default : 1
    <예시> 1, 2
    pageSizeIntegerN페이지 사이즈 Defatlt : 10
    <예시> 10, 20

    요청 예시

    GET https://vpcsearchengine.apigw.gov-ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/1531843
    ?pageNo=1
    &pageSize=10
    HOST: vpcsearchengine.apigw.gov-ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
    
    curl -X GET "https://vpcsearchengine.apigw.gov-ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/1531843
    ?pageNo=1
    &pageSize=10" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
    -H "x-ncp-apigw-timestamp: 1601971222179" \
    -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4=" \
    

    응답 파라미터

    public class GetSnapshotSchedulingHistoryResponseVo {
        List<SnapshotSchedulingHistoryResponseVo> snapshotSchedulingHistoryList;
        private Integer currentPage;
        private Boolean isFirst;
        private Boolean isLast;
        private Integer pageSize;
        private Long totalCount;
        private Integer totalPage;
    }
    
    public class SnapshotSchedulingHistoryResponseVo {
        private String bucketName;
        private String snapshotName;
        private String snapshotSchedulingStatus;
        private String snapshotSchedulingSetUpDay;
        private String snapshotSchedulingSetUpTime;
        private LocalDateTime snapshotSchedulingConfigSetUpDate;
     }
    

    필드

    파라미터명타입설명
    snapshotSchedulingHistoryListList<SnapshotSchedulingHistoryResponseVo>Snapshot Scheduling 이력
    currentPageInteger현재 page
    isFirstBooleanfirst page 여부
    isLastBooleanlast page 여부
    pageSizeIntegerpage 크기
    totalCountLongCluster의 총 리스트 개수
    totalPageInteger총 page 수
    bucketNameStringBucket 이름
    snapshotNameStringSnapshot 이름
    snapshotSchedulingStatusStringSnapshot Scheduling 상태
    snapshotSchedulingSetUpDayStringSnapshot Scheduling 실행 일
    snapshotSchedulingSetUpTimeStringSnapshot Scheduling 실행 시간
    snapshotSchedulingConfigSetUpDateLocalDateTimeSnapshot Scheduling 설정한 날짜

    응답 예시

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "currentPage": 1,
        "isFirst": true,
        "isLast": true,
        "pageSize": 10,
        "totalCount": 2,
        "totalPage": 1,
        "snapshotSchedulingHistoryList": [
          {
            "bucketName": "es-test",
            "snapshotName": "scheduling",
            "snapshotSchedulingStatus": "enable",
            "snapshotSchedulingSetUpDay": "Monday",
            "snapshotSchedulingSetUpTime": "14:00",
            "snapshotSchedulingConfigSetUpDate": "2022-03-03 14:01:11"
          },
          {
            "bucketName": "es-test",
            "snapshotName": "my-scheduling",
            "snapshotSchedulingStatus": "disable",
            "snapshotSchedulingSetUpDay": "Everyday",
            "snapshotSchedulingSetUpTime": "00:00",
            "snapshotSchedulingConfigSetUpDate": "2022-03-03 14:00:26"
          }
        ]
      },
      "requestId": "1a192b1f-40f2-4b10-af29-b039dc27b046"
    }
    

    이 문서가 도움이 되었습니까?

    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.