GPU 서버 코드 조회
- Print
- PDF
GPU 서버 코드 조회
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
GPU 서버 코드 목록을 조회합니다.
GET https://nsml.apigw.ntruss.com/nsml/v1/server-products
응답
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
serverProductList[].gpuSvrCode | Integer | GPU 서버 코드 | |
serverProductList[].nodeCounts | Array | 해당 서버코드에서 사용가능한 노드(VM, BM) 개수 | |
serverProductList[].useType | String | GPU 서버 타입 | TRAIN, DEV (TRAIN : 학습용으로 사용, DEV : notebook 용으로 사용) |
serverProductList[].serverProductCode | String | 서버 상품 코드 | |
serverProductList[].engFullName | String | GPU 서버 영문이름 | 실제 NSML 상품에서 보이는 이름 |
serverProductList[].isBareMetal | Boolean | BareMetal 여부 |
응답 Status
HTTP Status | Desc |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
406 | Not Accepted |
500 | Internal Server Error |
예시
요청 예시
GET /nsml/v1/server-products
Host: nsml.apigw.ntruss.com
accept: application/json
x-ncp-iam-access-key: {Access key}
x-ncp-apigw-signature-v2: {API GW signature}
x-ncp-apigw-timestamp: {timestamp}
x-ncp-apigw-api-key: {apigw-api-key}
응답 예시
{
"serverProductList": [
{
"gpuSvrCode": 1,
"nodeCounts": [
1
],
"useType": "DEV",
"serverProductCode": "SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002",
"productName": "cpu.2ea",
"engFullName": "Notebook(4vCPU, 16GB Mem)",
"isBareMetal": false
}
],
"totalCount": 2
}
Was this article helpful?