View snapshot schedule creation history
- Print
- PDF
View snapshot schedule creation history
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View snapshot schedule creation history.
Request
Request URL
GET https://vpcsearchengine.apigw.ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/{service-group-instance-no}
?pageNo={pageNo}
&pageSize={pageSize} [KR]
GET https://vpcsearchengine.apigw.ntruss.com/api/sgn-v2/snapshot/getSnapshotSchedulingHistory/{service-group-instance-no}
?pageNo={pageNo}
&pageSize={pageSize} [SGN]
Request header
Header name | Description |
---|---|
x-ncp-apigw-timestamp | It indicates the time elapsed since January 1, 1970 00:00:00 UTC in milliseconds. If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid. x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | Value of access key ID issued on the NAVER Cloud Platform portalx-ncp-iam-access-key:{Account Access Key} |
x-ncp-apigw-signature-v2 | Signature encrypted with the access key ID value and secret keyx-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | It specifies the request body content type as application/json.Content-Type: application/json |
Request parameters
Parameter | Type | Requirement status | Description |
---|---|---|---|
serviceGroupInstanceNo | String | Y | Cluster number where you want to view the snapshot schedule settings history |
pageNo | Integer | N | Page number Default : 1 ex) 1, 2 |
pageSize | Integer | N | Page sizeDefatlt : 10 ex) 10, 20 |
Request examples
GET https://vpcsearchengine.apigw.ntruss.com/api/v2/snapshot/getSnapshotSchedulingHistory/1531843
?pageNo=1
&pageSize=10
HOST: vpcsearchengine.apigw.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.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=" \
Response parameters
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;
}
Field
Parameter name | Type | Description |
---|---|---|
snapshotSchedulingHistoryList | List | Snapshot scheduling history |
currentPage | Integer | Current page |
isFirst | Boolean | Whether it is the first page |
isLast | Boolean | Whether it is the last page |
pageSize | Integer | Page size |
totalCount | Long | Total number of cluster's lists |
totalPage | Integer | Total number of pages |
bucketName | String | Bucket name |
snapshotName | String | Snapshot name |
snapshotSchedulingStatus | String | Snapshot scheduling status |
snapshotSchedulingSetUpDay | String | Day when the snapshot schedule is to run |
snapshotSchedulingSetUpTime | String | Time when the snapshot schedule is to run |
snapshotSchedulingConfigSetUpDate | LocalDateTime | Date when the snapshot schedule is set |
Response examples
{
"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"
}
Was this article helpful?