Viewing Classic server list
- Print
- PDF
Viewing Classic server list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View the server list that can be checked in the Cloud Log Analytics service.
View Classic server list
This searches the server instance (VM) list on the Classic Platform. It can search the log collection settings status, and paging process is available.
Request URL
GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/classic/servers
Request headers
Header name | Description |
---|---|
x-ncp-apigw-timestamp | Time elapsed in milliseconds since January 1, 1970, 00:00:00 UTC The request is considered invalid if the time difference compared to the API Gateway server is more than 5 minutes x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-apigw-api-key | Key value issued by APIGWx-ncp-apigw-api-key:{API Gateway API Key} |
x-ncp-iam-access-key | Access Key ID value issued from 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 | Specifies the request body content type as application/jsonContent-Type: application/json |
Request parameters
Parameter | Type | Required | Description |
---|---|---|---|
pageNo | Integer | N | Page number ex) 1, 2 |
pageSize | Integer | N | Page size ex) 10, 20 |
Request examples
GET https://cloudloganalytics.apigw.ntruss.com/api/{regionCode}-v1/classic/servers?pageNo=1&pageSize=10
HOST: cloudloganalytics.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: FJSBB4K3XnaGAvVe0Hzj3/2hfNWvgLHR1rQHW2Et2Rs=
x-ncp-apigw-timestamp: 1593848345548
x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo
curl -X GET "https://cloudloganalytics.beta-apigw.ntruss.com/api/{regionCode}-v1/classic/servers?pageNo=1&pageSize=10"
-H "accept: application/json"
-H "x-ncp-iam-access-key: 11IKBWgQegM4DwiJL4mo"
-H "x-ncp-apigw-timestamp: 1593849262194"
-H "x-ncp-apigw-signature-v2: m/hJOfg92TqzOGyHJ++4vkimGT7un1/4+zLrLTvaVT4="
Response examples
{
"code": 0,
"message": "Your request has been processed normally",
"result": {
"pageSize": 10,
"currentPage": 1,
"totalPage": 1,
"totalCount": 1,
"isPaged": true,
"serverInfos": [
{
"servername": "testServer",
"publicIp": null,
"osName": "Windows Server 2012(64bit) R2 English Edition",
"createYmdt": 1590567779655,
"privateIp": "123.123.123.123",
"serverStatusCode": "RUN",
"serverStatusName": "RUNNING",
"serverStatusKorean": "Running",
"serverStatusValue": "Running",
"serverStatusColor": "green",
"serverImageName": "win-2012-64-R2-en",
"uptime": 1593676970380,
"message": null,
"occuredTime": null,
"logType": null,
"zoneNo": "2",
"zoneName": "KR-1",
"secureZoneNo": null,
"platformTypeCode": "WND64",
"cpuCount": 2,
"osDiskType2Code": "NET",
"returnProtectionYn": "N",
"virtualNetworkInterfaceIp": null,
"portForwardingIp": "123.123.123.123",
"virtualNetworkDomainNo": "3",
"hostName": "test",
"gpuCount": null,
"softwareProductCode": "SPSW0WINNTEN0015A",
"virtualNetworkDomainName": "MND001",
"virtualNetworkInterfaceNo": null,
"internalDnsHostName": null,
"regionName": "Korea",
"serverInstanceDetailTypeCode": null,
"operationCode": "NULL",
"macAddr": "FF:FF:FF:FF:FF:FF",
"alisRaidTypeName": null,
"networkMonitoringYn": null,
"lastServerStateSyncYmdt": null,
"instanceProductType2Code": "STAND",
"accessControlGroupList": [],
"lastLbServerStatusSyncYmdt": null,
"objectMonitoringInstanceNo": null,
"secureZoneName": null,
"loginKeyName": "pub",
"publicIpInstanceNo": null,
"serverInstanceTypeCode": "SVR",
"instanceNo": 1207563,
"portForwardingIpBackboneCode": "PUBLC",
"osDiskType2DetailCode": "SSD",
"feeChargingMonitoringYn": "N",
"regionCode": "KR",
"internalPort": "3389",
"rootPassword": "1231321321312313131313213213213213213123213",
"cncNo": 5,
"productCode": "SPSVRSSD00000003A",
"memorySize": {
"json.expansion@key": "json.bigdecimal",
"json.expansion@value": "4294967296"
},
"instanceDesc": "Administrator\nF5NdU9yaHci",
"regionNo": "1",
"isSsdStorageAddable": true,
"externalPort": "3948",
"baseBlockStorageSize": {
"json.expansion@key": "json.bigdecimal",
"json.expansion@value": "107374182400"
},
"backboneCode": "PUBLC",
"isSupportOS": true,
"collectingInfo": {
"collectorAgentVersion": "5.5.1",
"logTypeCount": 3,
"collectionStatus": "Not set",
"settingStatus": "Setting complete",
"settingStatusColor": "green",
"servername": "test",
"logCollectorDate": "2020-07-03 18:07:16",
"logTypeList": "apache_error,apache_access,wineventlog",
"configKey": "e9be6af58a6d49e9ba8b42aedacf233c",
"isCollecting": true
}
}
],
"collectingCount": 1
}
}
Was this article helpful?