CA 정보 조회
- 인쇄
- PDF
CA 정보 조회
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
CA 상세 정보를 조회합니다.
요청
요청 URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | 네트워크 아이디 |
caId | Yes | String | Path Parameter | CA 아이디 |
요청 예시
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas/{caId} \
-H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
-H "x-ncp-iam-access-key: {x-ncp-iam-access-key}" \
-H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
응답
응답 바디
항목 | 타입 | 설명 |
---|---|---|
status | string | 응답 성공 여부 |
body.content[].networkId | Long | 네트워크 아이디 |
body.content[].caId | String | CA 아이디 |
body.content[].caName | String | CA명 |
body.content[].databaseTypeCodeName | String | CA DB 타입 (SQLITE only) |
body.content[].endpointAddr | String | CA 주소 |
body.content[].caResourceCpu | Float | CA pod에 할당된 CPU 용량 |
body.content[].caReousrceMem | Integer | CA pod에 할당된 Memory 용량 |
body.content[].caResourceStorage | Integer | CA pod에 할당된 스토리지 용량 |
body.content[].nodeAffinityLabel | String | NKS 클러스터에 선택한 Node Pool |
body.content[].status | String | CA 상태 (ACTIVE, DEPLOY, DELETE) |
body.content[].podStatus | String | CA Pod 상태 (Running, Pending, Failed, Unknown) |
body.content[].createDt | LocalDateTime | 생성 일시 |
body.content[].updateDt | LocalDateTime | 수정 일시 |
응답 예시
{
"content": {
"networkId": 100,
"caId": "2000000",
"caName": "orderer-ca",
"databaseTypeCodeName": "SQLITE",
"endpointAddr": "orderer-ca-test-hlf-ca.bc-kckahtestenu.kr.blockchain.naverncp.com",
"caResourceCpu": 0.1,
"caResourceMem": 200,
"caResourceStorage": 20,
"status": "ACTIVE",
"nodeAffinityLabel": "",
"createDate": "2021-12-06T20:42:43+0900",
"updateDate": "2021-12-06T20:42:43+0900",
"podStatus": "Running"
}
}
이 문서가 도움이 되었습니까?