Cloud DB for Cache 인스턴스의 상세 정보를 조회합니다.
Cloud DB for Cache CLI는 지원하는 DBMS 범위에 따라 두 가지 버전을 제공합니다.
- getCloudCacheInstanceDetail CLI: Valkey, Redis DBMS 이용 가능
- getCloudRedisInstanceDetail CLI: Redis DBMS 이용 가능
getCloudCacheInstanceDetail CLI
getCloudCacheInstanceDetail CLI의 명령 구문과 옵션, 명령 및 출력 예시를 설명합니다.
구문
getCloudCacheInstanceDetail 구문은 다음과 같습니다.
./ncloud vcache getCloudCacheInstanceDetail \
--cloudCacheInstanceNo <instance-no> \
[--regionCode <FKR>] \
[--output <json|xml>]
옵션
getCloudCacheInstanceDetail 실행 시 지정할 수 있는 옵션을 설명합니다.
필수 옵션
getCloudCacheInstanceDetail의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
--cloudCacheInstanceNo |
String | Required | Cloud DB for Cache 인스턴스 번호 |
공통 옵션
vcache 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for Cache 옵션을 참조해 주십시오.
예시
Cloud DB for Cache 인스턴스 상세 조회 요청이 성공하면 인스턴스의 구성 정보와 각 서버 인스턴스의 상세 정보가 반환됩니다.
명령
명령 예시는 다음과 같습니다.
./ncloud vcache getCloudCacheInstanceDetail \
--cloudCacheInstanceNo 34567890 \
--regionCode FKR \
--output json
출력
출력 예시는 다음과 같습니다.
{
"getCloudCacheInstanceDetailResponse": {
"totalRows": 1,
"cloudCacheInstanceList": [
{
"cloudCacheInstanceNo": "34567890",
"cloudCacheServiceName": "test-cache-01",
"cloudCacheInstanceStatusName": "running",
"cloudCacheInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Created 상태"
},
"cloudCacheInstanceOperation": {
"code": "NULL",
"codeName": "CLOUD DATABASE(VPC) Null OP"
},
"cloudCacheImageProductCode": "SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050",
"engineVersion": "VALKEY 7.2.11",
"license": {
"code": "BSD",
"codeName": "라이센스코드-CLOUD DATABASE(VPC)"
},
"cloudCachePort": 13306,
"isHa": true,
"isBackup": true,
"backupTime": "01:15",
"backupFileRetentionPeriod": 1,
"backupSchedule": "AUTO",
"cloudCacheServerPrefix": "testcache",
"generationCode": "G2",
"role": {
"code": "CLUSTER",
"codeName": "Cluster Role-CLOUD Cache(VPC)"
},
"createDate": "2026-06-22T14:02:02+0900",
"accessControlGroupNoList": [
"67890123"
],
"masterNodeCount": 3,
"slaveNodeCount": 3,
"configGroupNo": "11099",
"configGroupName": "test-cfg-01",
"cloudCacheServerInstanceList": [
{
"cloudCacheServerInstanceNo": "34567891",
"cloudCacheServerName": "testcache-001-001-3oo5",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:22+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "0-5460"
},
{
"cloudCacheServerInstanceNo": "34567892",
"cloudCacheServerName": "testcache-002-001-3oo6",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:09:17+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "5461-10922"
},
{
"cloudCacheServerInstanceNo": "34567893",
"cloudCacheServerName": "testcache-003-001-3oo7",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:02+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "10923-16383"
},
{
"cloudCacheServerInstanceNo": "34567894",
"cloudCacheServerName": "testcache-001-002-3oo8",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:09:17+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "0-5460"
},
{
"cloudCacheServerInstanceNo": "34567895",
"cloudCacheServerName": "testcache-002-002-3oo9",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:11+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "5461-10922"
},
{
"cloudCacheServerInstanceNo": "34567896",
"cloudCacheServerName": "testcache-003-002-3ooa",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:11+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "10923-16383"
}
]
}
],
"requestId": "5c0c5797-52ca-4590-98a5-003812afec46",
"returnCode": "0",
"returnMessage": "success"
}
}
getCloudRedisInstanceDetail CLI
getCloudRedisInstanceDetail CLI의 명령 구문과 옵션, 명령 및 출력 예시를 설명합니다.
구문
getCloudRedisInstanceDetail 구문은 다음과 같습니다.
./ncloud vredis getCloudRedisInstanceDetail \
--cloudRedisInstanceNo <instance-no> \
[--regionCode <FKR>] \
[--output <json|xml>]
옵션
getCloudRedisInstanceDetail 실행 시 지정할 수 있는 옵션을 설명합니다.
필수 옵션
getCloudRedisInstanceDetail의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
--cloudRedisInstanceNo |
String | Required | Cloud DB for Cache 인스턴스 번호 |
공통 옵션
vredis 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for Cache 옵션을 참조해 주십시오.
예시
Cloud DB for Cache 인스턴스 상세 조회 요청이 성공하면 인스턴스의 구성 정보와 각 서버 인스턴스의 상세 정보가 반환됩니다.
명령
명령 예시는 다음과 같습니다.
./ncloud vredis getCloudRedisInstanceDetail \
--cloudRedisInstanceNo 34567890 \
--regionCode FKR \
--output json
출력
출력 예시는 다음과 같습니다.
{
"getCloudRedisInstanceDetailResponse": {
"totalRows": 1,
"cloudRedisInstanceList": [
{
"cloudRedisInstanceNo": "34567890",
"cloudRedisServiceName": "test-redis-01",
"cloudRedisInstanceStatusName": "running",
"cloudRedisInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Created 상태"
},
"cloudRedisInstanceOperation": {
"code": "NULL",
"codeName": "CLOUD DATABASE(VPC) Null OP"
},
"cloudRedisImageProductCode": "SW.VRDS.OS.LNX64.ROCKY.0810.REDIS.B050",
"engineVersion": "REDIS 7.2.11",
"license": {
"code": "BSD",
"codeName": "라이센스코드-CLOUD DATABASE(VPC)"
},
"cloudRedisPort": 13306,
"isHa": true,
"isBackup": true,
"backupTime": "05:45",
"backupFileRetentionPeriod": 1,
"backupSchedule": "AUTO",
"cloudRedisServerPrefix": "testredis",
"generationCode": "G2",
"role": {
"code": "CLUSTER",
"codeName": "Cluster Role-CLOUD Cache(VPC)"
},
"createDate": "2026-06-25T17:02:51+0900",
"accessControlGroupNoList": [
"67890123"
],
"masterNodeCount": 3,
"slaveNodeCount": 3,
"configGroupNo": "11099",
"configGroupName": "test-cfg-01",
"cloudRedisServerInstanceList": [
{
"cloudRedisServerInstanceNo": "34567891",
"cloudRedisServerName": "testredis-001-001-3ox8",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:24+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "0-5460"
},
{
"cloudRedisServerInstanceNo": "34567892",
"cloudRedisServerName": "testredis-002-001-3ox9",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:21+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "5461-10922"
},
{
"cloudRedisServerInstanceNo": "34567893",
"cloudRedisServerName": "testredis-003-001-3oxa",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:37+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "10923-16383"
},
{
"cloudRedisServerInstanceNo": "34567894",
"cloudRedisServerName": "testredis-001-002-3oxb",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:56+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "0-5460"
},
{
"cloudRedisServerInstanceNo": "34567895",
"cloudRedisServerName": "testredis-002-002-3oxc",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:08:49+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "5461-10922"
},
{
"cloudRedisServerInstanceNo": "34567896",
"cloudRedisServerName": "testredis-003-002-3oxd",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:24+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "10923-16383"
}
]
}
],
"requestId": "269d5979-2888-4a4a-a0ad-c9c9f18b778c",
"returnCode": "0",
"returnMessage": "success"
}
}