createCloudHadoopNotebookInstance
- 인쇄
- PDF
createCloudHadoopNotebookInstance
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
개요
Cloud Hadoop Notebook 인스턴스를 생성합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | 리전 코드 Default: getRegionList 조회 결과의 첫 번째 리전 선택 | |
cloudHadoopNotebookName | Yes | String | 영어, 숫자, 붙임표( - ), 한글만 입력 가능 | Cloud Hadoop Notebook 이름 |
cloudHadoopNotebookImageProductCode | No | String | Cloud Hadoop Notebook 이미지 상품 코드 | |
cloudHadoopNotebookComponent | Yes | String | Cloud Hadoop Notebook Component | |
loginKeyName | Yes | String | 인증키 이름 createCloudHadoopNotebookInstancegetCloudHadoopLoginKeyList 액션을 통해 획득 가능 | |
notebookNodeProductCode | No | String | Cloud Hadoop Notebook 서버 상품 코드 **getCloudHadoopNotebookProductList 액션의 infraResourceDetailTypeCode = 'NTBND'로 설정하여 호출 시 획득 가능 | |
notebookNodeSubnetNo | Yes | String | Notebook 노드의 Subent 번호 | |
bucketName | Yes | String | 버킷 이름 | |
notebookNodeDataStorageTypeCode | Yes | String | SSD | HDD | Notebook 노드의 데이터 스토리지 타입 코드 Default: SSD |
notebookNodeDataStorageSize | Yes | Integer | Min: 100 | Notebook 노드의 데이터 스토리지 크기 |
useNotebookBlockStorage | No | Boolean | Cloud Hadoop Notebook 데이터 스토리지 사용 여부 | |
cloudHadoopInstanceNo | Yes | String | Notebook과 연동하려는 Cloud Hadoop 클러스터 번호 | |
engineVersionCode | Conditional | String | 엔진 버전 코드
| |
output | No | String | 응답 결과의 포맷 타입 |
응답
응답 데이터 타입
- CloudHadoopNotebookInstanceList 타입
CloudHadoopNotebookInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudHadoopNotebookInstance> cloudHadoopNotebookInstanceList = new ArrayList<>(); |
CloudHadoopNotebookInstance |
---|
private String cloudHadoopNotebookInstanceNo; |
private String cloudHadoopNotebookName; |
private String cloudHadoopNotebookInstanceStatusName; |
private CommonCode cloudHadoopNotebookInstanceStatus; |
private CommonCode cloudHadoopNotebookInstanceOperation; |
private CloudHadoopNotebookComponent cloudHadoopNotebookComponent; |
private CloudHadoopNotebookVersion cloudHadoopNotebookVersion; |
private String clusterDirectAccessAccount; |
private String loginKey; |
private String objectStorageBucket; |
private String cloudHadoopNotebookImageProductCode; |
private String domain; |
private AccessControlGroupNoList accessControlGroupNoList; |
private Date createDate; |
private String cloudHadoopClusterName; |
private Boolean useNotebookBlockStorage; |
private List<CloudHadoopNotebookServerInstance> cloudHadoopNotebookServerInstanceList; |
CloudHadoopNotebookComponent |
---|
private String code; |
private String codeName; |
CloudHadoopNotebookVersion |
---|
private String code; |
private String codeName; |
AccessControlGroupNoList |
---|
private List<String> accessControlGroupNoList = new ArrayList<>(); |
CloudHadoopNotebookServerInstance |
---|
private String cloudHadoopNotebookServerInstanceNo; |
private String cloudHadoopNotebookServerName; |
private String cloudHadoopNotebookServerInstanceStatusName; |
private CommonCode cloudHadoopNotebookServerInstanceStatus; |
private CommonCode cloudHadoopNotebookServerInstanceOperation; |
private CommonCode cloudHadoopNotebookServerRole; |
private String regionCode; |
private String vpcNo; |
private String subnetNo; |
private Date createDate; |
private Date uptime; |
private String zoneCode; |
private Long memorySize; |
private Integer cpuCount; |
private Boolean isPublicSubnet; |
private Long dataStorageSize; |
private String cloudHadoopNotebookProductCode; |
private CommonCode dataStorageType; |
예시
호출
ncloud vhadoop createCloudHadoopNotebookInstance --regionCode KR --cloudHadoopNotebookName test*** --cloudHadoopNotebookImageProductCode SW.VCHDP.LNX64.CNTOS.0708.HDNTB.10.B050 --cloudHadoopNotebookComponent NOTEBOOK_COMPONENT_CODE1 --loginKeyName key**** --notebookNodeProductCode SVR.VCHDP.NTBND.STAND.C004.M016.NET.HDD.B050.G002 --notebookNodeSubnetNo 12** --bucketName buc*** --notebookNodeDataStorageTypeCode SSD --notebookNodeDataStorageSize 100 --useNotebookBlockStorage true --cloudHadoopInstanceNo 12**
응답
{
"createCloudHadoopNotebookInstanceResponse": {
"totalRows": 1,
"cloudHadoopNotebookInstanceList": [
{
"cloudHadoopNotebookInstanceNo": "2766154",
"cloudHadoopNotebookName": "test12",
"cloudHadoopNotebookImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDNTB.10.B050",
"cloudHadoopNotebookInstanceStatusName": "creating",
"cloudHadoopNotebookInstanceStatus": {
"code": "INIT",
"codeName": "CLOUD DATABASE(VPC) Init State"
},
"cloudHadoopNotebookInstanceOperation": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Creat OP"
},
"cloudHadoopNotebookVersion": {
"code": "NOTEBOOK1.0",
"codeName": "Notebook 1.0"
},
"cloudHadoopNotebookComponent": {
"code": "NOTEBOOK_1.0",
"codeName": "Jupyter notebook 6.4.10 , JupyterLab : 3.2.9"
},
"createDate": "2023-02-07T20:40:50+0900",
"loginKey": "newkey",
"objectStorageBucket": "aabbcc",
"accessControlGroupNoList": [],
"cloudHadoopClusterName": "fsdfds",
"clusterDirectAccessAccount": "sshuser",
"useNotebookBlockStorage": true,
"cloudHadoopNotebookServerInstanceList": [
{
"cloudHadoopNotebookServerName": "n-001-test12-15dk-hd",
"cloudHadoopNotebookServerInstanceStatusName": "creating",
"cloudHadoopNotebookServerInstanceStatus": {
"code": "PEND",
"codeName": "CLOUD DATABASE(VPC) Server Pending State"
},
"cloudHadoopNotebookServerInstanceOperation": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Server Create OP"
},
"cloudHadoopNotebookServerRole": {
"code": "N",
"codeName": "Notebook Node"
},
"cloudHadoopNotebookProductCode": "SVR.VCHDP.NTBND.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "3977",
"subnetNo": "5747",
"cpuCount": 4,
"memorySize": 17179869184,
"dataStorageSize": 107374182400,
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"createDate": "2023-02-07T20:40:50+0900"
}
]
}
],
"requestId": "9a425589-09e1-4202-94df-f2102dcca882",
"returnCode": "0",
"returnMessage": "success"
}
}
<createCloudHadoopNotebookInstanceResponse>
<requestId>ff98794d-34b7-42ac-8154-14b7afa479cb</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudHadoopNotebookInstanceList>
<cloudHadoopNotebookInstance>
<cloudHadoopNotebookInstanceNo>2766068</cloudHadoopNotebookInstanceNo>
<cloudHadoopNotebookName>test123</cloudHadoopNotebookName>
<cloudHadoopNotebookImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDNTB.10.B050</cloudHadoopNotebookImageProductCode>
<cloudHadoopNotebookInstanceStatusName>creating</cloudHadoopNotebookInstanceStatusName>
<cloudHadoopNotebookInstanceStatus>
<code>INIT</code>
<codeName>CLOUD DATABASE(VPC) Init State</codeName>
</cloudHadoopNotebookInstanceStatus>
<cloudHadoopNotebookInstanceOperation>
<code>CREAT</code>
<codeName>CLOUD DATABASE(VPC) Creat OP</codeName>
</cloudHadoopNotebookInstanceOperation>
<cloudHadoopNotebookVersion>
<code>NOTEBOOK1.0</code>
<codeName>Notebook 1.0</codeName>
</cloudHadoopNotebookVersion>
<cloudHadoopNotebookComponent>
<code>NOTEBOOK_COMPONENT_CODE1</code>
<codeName>Jupyter notebook 6.4.10 , JupyterLab : 3.2.9</codeName>
</cloudHadoopNotebookComponent>
<createDate>2023-02-07T20:16:55+0900</createDate>
<loginKey>newkey</loginKey>
<objectStorageBucket>aabbcc</objectStorageBucket>
<accessControlGroupNoList/>
<cloudHadoopClusterName>fsdfds</cloudHadoopClusterName>
<clusterDirectAccessAccount>sshuser</clusterDirectAccessAccount>
<useNotebookBlockStorage>true</useNotebookBlockStorage>
<cloudHadoopNotebookServerInstanceList>
<cloudHadoopNotebookServerInstance>
<cloudHadoopNotebookServerName>n-001-test123-15d8-hd</cloudHadoopNotebookServerName>
<cloudHadoopNotebookServerInstanceStatusName>creating</cloudHadoopNotebookServerInstanceStatusName>
<cloudHadoopNotebookServerInstanceStatus>
<code>PEND</code>
<codeName>CLOUD DATABASE(VPC) Server Pending State</codeName>
</cloudHadoopNotebookServerInstanceStatus>
<cloudHadoopNotebookServerInstanceOperation>
<code>CREAT</code>
<codeName>CLOUD DATABASE(VPC) Server Create OP</codeName>
</cloudHadoopNotebookServerInstanceOperation>
<cloudHadoopNotebookServerRole>
<code>N</code>
<codeName>Notebook Node</codeName>
</cloudHadoopNotebookServerRole>
<cloudHadoopNotebookProductCode>SVR.VCHDP.NTBND.STAND.C004.M016.NET.HDD.B050.G002</cloudHadoopNotebookProductCode>
<regionCode>KR</regionCode>
<zoneCode>KR-2</zoneCode>
<vpcNo>3977</vpcNo>
<subnetNo>5747</subnetNo>
<cpuCount>4</cpuCount>
<memorySize>17179869184</memorySize>
<dataStorageSize>107374182400</dataStorageSize>
<isPublicSubnet>false</isPublicSubnet>
<dataStorageType>
<code>SSD</code>
<codeName>SSD</codeName>
</dataStorageType>
<createDate>2023-02-07T20:16:55+0900</createDate>
</cloudHadoopNotebookServerInstance>
</cloudHadoopNotebookServerInstanceList>
</cloudHadoopNotebookInstance>
</cloudHadoopNotebookInstanceList>
</createCloudHadoopNotebookInstanceResponse>
이 문서가 도움이 되었습니까?