getCloudMssqlBackupList
- Print
- PDF
getCloudMssqlBackupList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Get the backup list of a Cloud DB for MSSQL instance.
Request
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
GET, POST | /getCloudMssqlBackupList |
Request headers
For headers common to all Cloud DB for MSSQL (VPC) APIs, see Cloud DB for MSSQL (VPC) headers.
Request parameter
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
regionCode | String | Optional | Region code of the Cloud DB for MSSQL instance to view
|
pageNo | Integer | Optional | Page numbers in paged results
|
pageSize | Integer | Conditional | Number of results to display on a page
|
responseFormatType | String | Optional | Format of the response result
|
Request example
The following is a sample request.
curl --location --request GET 'https://ncloud.apigw.ntruss.com/vmssql/v2/getCloudMssqlBackupList
?regionCode=KR
&pageNo=1
&pageSize=1
&responseFormatType=json'
--header 'x-ncp-apigw-timestamp: {Timestamp}'
--header 'x-ncp-iam-access-key: {Access Key}'
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
The following describes the response format.
Response body
See CloudMssqlBackupList for the response body.
Response status codes
For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Response example
The following is a sample response.
If
responseFormetType=json
{ "getCloudMssqlBackupListResponse": { "totalRows": 1, "cloudMssqlBackupList": [ { "cloudMssqlInstanceNo": 2517****, "cloudMssqlServiceName": "mssql002", "backupFileRetentionPeriod": 2, "backupTime": "02:00", "totalBackupDataSize": 8288626, "fullBackupDataSize": 8288626, "logBackupDataSize": 0, "logBackupCount": 0 } ], "requestId": "abb9ca6f-****-****-****-e37d8878085b", "returnCode": "0", "returnMessage": "success" } }
If
responseFormetType=xml
(default)<?xml version="1.0" encoding="UTF-8"?> <getCloudMssqlBackupListResponse> <requestId>abb9ca6f-****-****-****-e37d8878085b</requestId> <returnCode>0</returnCode> <returnMessage>success</returnMessage> <totalRows>1</totalRows> <cloudMssqlBackupList> <cloudMssqlBackup> <cloudMssqlInstanceNo>2517****</cloudMssqlInstanceNo> <cloudMssqlServiceName>mssql002</cloudMssqlServiceName> <backupFileRetentionPeriod>2</backupFileRetentionPeriod> <backupTime>02:00</backupTime> <totalBackupDataSize>8288626</totalBackupDataSize> <fullBackupDataSize>8288626</fullBackupDataSize> <logBackupDataSize>0</logBackupDataSize> <logBackupCount>0</logBackupCount> </cloudMssqlBackup> </cloudMssqlBackupList> </getCloudMssqlBackupListResponse>
Was this article helpful?