Search Engine Cluster 노드 그룹별 변경 가능 스펙 조회
- 인쇄
- PDF
Search Engine Cluster 노드 그룹별 변경 가능 스펙 조회
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
설명
Search Engine Cluster의 노드 그룹의 변경 가능한 상품 코드를 조회합니다.
요청
요청 URL
POST https://vpcsearchengine.apigw.ntruss.com/api/v2/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [KR]
POST https://vpcsearchengine.apigw.ntruss.com/api/sgn-v2/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [SGN]
POST https://vpcsearchengine.apigw.ntruss.com/api/jpn-v2/cluster/getNodeProductListForSpecChange/{serviceGroupInstanceNo} [JPN]
요청 헤더
헤더명 | 설명 |
---|---|
x-ncp-apigw-timestamp | x-ncp-apigw-timestamp:{Timestamp} |
x-ncp-iam-access-key | 네이버 클라우드 플랫폼 포털에서 발급받은 Access Key ID 값x-ncp-iam-access-key:{Account Access Key} |
x-ncp-apigw-signature-v2 | Access Key ID 값과 Secret Key로 암호화한 서명x-ncp-apigw-signature-v2:{API Gateway Signature} |
Content-Type | Request body content type을 application/json으로 지정Content-Type: application/json |
요청 파라미터
파라미터 | 타입 | 필수 여부 | 설명 |
---|---|---|---|
serviceGroupInstanceNo | String | Y | Cluster의 ServiceGroupInstanceNo |
softwareProductCode | String | Y | Cluster의 S/W productCode |
요청 예시
POST https://vpcsearchengine.apigw.ntruss.com/api/v2/cluster/getNodeProductListForSpecChange/123456
HOST: vpcsearchengine.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: il+l8nx8B3WvBUwnOYrxgCMYMP8x5ncyAB+peA7dMmA=
x-ncp-apigw-timestamp: 1670329619546
x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2
{
"softwareProductCode" : "SW.VELST.OS.LNX64.CNTOS.0708.B050"
}
curl -X POST "https://vpcsearchengine.apigw.ntruss.com/api/v2/cluster/getNodeProductListForSpecChange/123456" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2" \
-H "x-ncp-apigw-timestamp: 1670329619546" \
-H "x-ncp-apigw-signature-v2: il+l8nx8B3WvBUwnOYrxgCMYMP8x5ncyAB+peA7dMmA=" \
-d "{ \"softwareProductCode\": \"SW.VELST.OS.LNX64.CNTOS.0708.B050\"}"
응답 파라미터
public class Result{
public ArrayList<NodeProductList> managerNodeProductList;
public ArrayList<NodeProductList> dataNodeProductList;
public ArrayList<NodeProductList> dataNodeProductList;
}
public class NodeProductList{
public String productCode;
public String productName;
public String productKoreanName;
public String productEnglishName;
public String productJapaneseName;
public String productDesc;
public String productKoreanDesc;
public String productEnglishDesc;
public String productJapaneseDesc;
public String productType2Code;
public String infraResourceTypeCode;
public Object infraResourceDetailTypeCode;
public String cpuCount;
public Object memorySize;
public String baseBlockStorageProductCode;
public String diskType2Code;
public boolean isChangeSpec;
public boolean isSelected;
}
필드
파라미터명 | 타입 | 설명 |
---|---|---|
ManagerNodeProductList | ArrayList<NodeProductList> | ManagerNode Product List |
DataNodeProductList | ArrayList<NodeProductList> | DataNode Product List |
MasterNodeProductList | ArrayList<NodeProductList> | MasterNode Product List |
productCode | String | H/W ProductCode |
productName | String | H/W ProductCodeName |
productKoreanName | String | H/W ProductCodeKoreanName |
productEnglishName | String | H/W ProductCodeEnglishName |
productJapaneseName | String | H/W ProductCodeJapaneseName |
productDesc | String | H/W ProductCodeDescription |
productKoreanDesc | String | H/W ProductCodeKoreanDescription |
productEnglishDesc | String | H/W ProductCodeEnglishDescription |
productJapaneseDesc | String | H/W ProductCodeJapaneseDescription |
productType2Code | String | H/W ProductTypeCode |
infraResourceTypeCode | String | H/W Product InfraResourceTypeCode |
infraResourceDetailTypeCode | String | H/W Product infraResourceDetailTypeCode |
cpuCount | Integer | H/W Product CPU Count |
memorySize | Long | H/W Product Memory Size |
baseBlockStorageProductCode | String | H/W Product BaseBlockStorageProductCode |
diskType2Code | String | H/W Product BaseBlockStorage DiskTypeCode |
isChangeSpec | Boolean | 스펙 변경 가능여부 |
isSelected | Boolean | 현재 사용중인 스펙 |
응답 예시
{
"code": 0,
"message": "SUCCESS",
"result": {
"managerNodeProductList": [
{
"productCode": "SVR.VELST.STAND.C002.M008.NET.SSD.B050.G002",
"productName": "[STAND] vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanName": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishDesc": "[STAND] vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseDesc": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productType2Code": "STAND",
"infraResourceTypeCode": "VELST",
"infraResourceDetailTypeCode": null,
"cpuCount": "2",
"memorySize": 8589934592,
"baseBlockStorageProductCode": "SPBSTBSTBS000005",
"diskType2Code": "NET",
"isChangeSpec": true,
"isSelected": false
}],
"dataNodeProductList": [
{
"productCode": "SVR.VELST.STAND.C002.M008.NET.SSD.B050.G002",
"productName": "[STAND] vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanName": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishDesc": "[STAND] vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseDesc": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productType2Code": "STAND",
"infraResourceTypeCode": "VELST",
"infraResourceDetailTypeCode": null,
"cpuCount": "2",
"memorySize": 8589934592,
"baseBlockStorageProductCode": "SPBSTBSTBS000005",
"diskType2Code": "NET",
"isChangeSpec": true,
"isSelected": false
}],
"masterNodeProductList": [
{
"productCode": "SVR.VELST.STAND.C002.M008.NET.SSD.B050.G002",
"productName": "[STAND] vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanName": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseName": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productKoreanDesc": "vCPU 2개, 메모리 8GB, [SSD]디스크 50GB",
"productEnglishDesc": "[STAND] vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productJapaneseDesc": "vCPU 2EA, Memory 8GB, [SSD]Disk 50GB",
"productType2Code": "STAND",
"infraResourceTypeCode": "VELST",
"infraResourceDetailTypeCode": null,
"cpuCount": "2",
"memorySize": 8589934592,
"baseBlockStorageProductCode": "SPBSTBSTBS000005",
"diskType2Code": "NET",
"isChangeSpec": true,
"isSelected": false
}]
},
"requestId": "d3e78486-6ab7-4631-9a78-73bf826f4ea0"
}
이 문서가 도움이 되었습니까?