View server specifications
- Print
- PDF
View server specifications
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View the server specifications available when creating a cluster or NodePool.
Requests
The following describes the request format for the endpoint. The request format is as follows.
Method | URI |
---|---|
GET | /option/server-product-code |
Request headers
For headers common to all Ncloud Kubernetes Service APIs, see Ncloud Kubernetes Service common headers.
Request query parameters
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
softwareCode | String | Required | Server image code
|
zoneCode | String | Conditional | Zone code
|
zoneNo | String | Conditional | Zone number
|
Request example
The following is a sample request.
curl --location 'https://nks.apigw.ntruss.com/vnks/v2/option/server-product-code' \
--header 'x-ncp-apigw-timestamp: {timestamp}' \
--header 'x-ncp-iam-access-key: {access key}' \
--header 'x-ncp-apigw-signature-v2: {API gateway signature}' \
Responses
The following describes the response format.
Response syntax
The response syntax is as follows.
[
{
"label": "string",
"value": "string"
},
{
"label": "string",
"value": "string"
}
]
Response body
The following describes the response body.
Field | Type | Required | Description |
---|---|---|---|
label | String | - | Server image name |
value | String | - | Server product code |
Response status codes
For response status codes common to all Ncloud Kubernetes Service APIs, see Ncloud Kubernetes Service response status codes.
Response example
The following is a sample response.
For XEN
[
{
"label": "vCPU 2EA, Memory 4GB, [SSD]Disk 50GB",
"value": "SVR.VSVR.HICPU.C002.M004.NET.SSD.B050.G002"
},
{
"label": "vCPU 4EA, Memory 8GB, [SSD]Disk 50GB",
"value": "SVR.VSVR.HICPU.C004.M008.NET.SSD.B050.G002"
}
]
For KVM
[
{
"label": "c2-g3(vCPU 2EA, Memory 4GB)",
"value": "c2-g3"
},
{
"label": "c4-g3(vCPU 4EA, Memory 8GB)",
"value": "c4-g3"
}
]
Was this article helpful?