Cloud DB for PostgreSQL 인스턴스의 Read Replica 서버 인스턴스를 삭제합니다.
구문
deleteCloudPostgresqlReadReplicaInstance 구문은 다음과 같습니다.
./ncloud vpostgresql deleteCloudPostgresqlReadReplicaInstance \
--cloudPostgresqlServerInstanceNo <server-instance-no> \
[--regionCode <FKR>] \
[--output <json|xml>]
옵션
deleteCloudPostgresqlReadReplicaInstance 실행 시 지정할 수 있는 옵션을 설명합니다.
필수 옵션
deleteCloudPostgresqlReadReplicaInstance의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
--cloudPostgresqlServerInstanceNo |
String | Required | Read Replica 서버 인스턴스 번호 |
공통 옵션
vpostgresql 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for PostgreSQL 옵션을 참조해 주십시오.
예시
Read Replica 서버 인스턴스 삭제 요청이 성공하면 Cloud DB for PostgreSQL 인스턴스의 구성 정보와 Read Replica 서버의 종료 상태가 반환됩니다.
명령
명령 예시는 다음과 같습니다.
./ncloud vpostgresql deleteCloudPostgresqlReadReplicaInstance \
--cloudPostgresqlServerInstanceNo 34567893 \
--regionCode FKR \
--output json
출력
출력 예시는 다음과 같습니다.
{
"deleteCloudPostgresqlReadReplicaInstanceResponse": {
"totalRows": 1,
"cloudPostgresqlInstanceList": [
{
"cloudPostgresqlInstanceNo": "34567890",
"cloudPostgresqlServiceName": "test-pgsql",
"cloudPostgresqlInstanceStatusName": "running",
"cloudPostgresqlInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Created 상태"
},
"cloudPostgresqlInstanceOperation": {
"code": "NULL",
"codeName": "CLOUD DATABASE(VPC) Null OP"
},
"cloudPostgresqlImageProductCode": "SW.VPGSL.OS.LNX64.ROCKY.0810.PGSQL.B050",
"generationCode": "G2",
"engineVersion": "PostgreSQL 15.15",
"license": "PostgreSQL License",
"cloudPostgresqlPort": 13432,
"isHa": true,
"isMultiZone": false,
"isBackup": true,
"backupFileRetentionPeriod": 1,
"backupTime": "AUTO",
"createDate": "2026-06-22T13:27:26+0900",
"accessControlGroupNoList": [
"67890123"
],
"cloudPostgresqlConfigList": [],
"cloudPostgresqlServerInstanceList": [
{
"cloudPostgresqlServerInstanceNo": "34567891",
"cloudPostgresqlServerName": "testpg-001-3oo3",
"cloudPostgresqlServerRole": {
"code": "M",
"codeName": "Primary"
},
"cloudPostgresqlServerInstanceStatusName": "running",
"cloudPostgresqlServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudPostgresqlServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudPostgresqlProductCode": "SVR.VPGSL.DBSVR.STAND.C002.M004.NET.SSD.B050.G001",
"regionCode": "FKR",
"zoneCode": "FKR-1",
"vpcNo": "12345678",
"subnetNo": "23456789",
"isPublicSubnet": false,
"privateDomain": "pg-****.vpc-cdb-fkr.fin-ntruss.com",
"privateIp": "192.168.4.19",
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"isStorageEncryption": false,
"dataStorageSize": 10737418240,
"usedDataStorageSize": 317270388,
"cpuCount": 2,
"memorySize": 4294967296,
"uptime": "2026-06-25T10:51:44+0900",
"createDate": "2026-06-22T13:27:26+0900"
},
{
"cloudPostgresqlServerInstanceNo": "34567892",
"cloudPostgresqlServerName": "testpg-002-3oo4",
"cloudPostgresqlServerRole": {
"code": "H",
"codeName": "Secondary"
},
"cloudPostgresqlServerInstanceStatusName": "running",
"cloudPostgresqlServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudPostgresqlServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudPostgresqlProductCode": "SVR.VPGSL.DBSVR.STAND.C002.M004.NET.SSD.B050.G001",
"regionCode": "FKR",
"zoneCode": "FKR-1",
"vpcNo": "12345678",
"subnetNo": "23456789",
"isPublicSubnet": false,
"privateDomain": "pg-****.vpc-cdb-fkr.fin-ntruss.com",
"privateIp": "192.168.4.20",
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"isStorageEncryption": false,
"dataStorageSize": 10737418240,
"usedDataStorageSize": 250011309,
"cpuCount": 2,
"memorySize": 4294967296,
"uptime": "2026-06-22T13:33:24+0900",
"createDate": "2026-06-22T13:27:26+0900"
},
{
"cloudPostgresqlServerInstanceNo": "34567893",
"cloudPostgresqlServerName": "testpg-003-3otb",
"cloudPostgresqlServerRole": {
"code": "S",
"codeName": "Read Replica"
},
"cloudPostgresqlServerInstanceStatusName": "deleting",
"cloudPostgresqlServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudPostgresqlServerInstanceOperation": {
"code": "DEL",
"codeName": "CLOUD DATABASE(VPC) 서버 Delete OP"
},
"cloudPostgresqlProductCode": "SVR.VPGSL.DBSVR.STAND.C002.M004.NET.SSD.B050.G001",
"regionCode": "FKR",
"zoneCode": "FKR-1",
"vpcNo": "12345678",
"subnetNo": "23456789",
"isPublicSubnet": false,
"privateDomain": "pg-****.vpc-cdb-fkr.fin-ntruss.com",
"privateIp": "192.168.4.8",
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"isStorageEncryption": false,
"dataStorageSize": 10737418240,
"usedDataStorageSize": 115775610,
"cpuCount": 2,
"memorySize": 4294967296,
"uptime": "2026-06-24T15:41:23+0900",
"createDate": "2026-06-24T15:34:57+0900"
}
]
}
],
"requestId": "f77952a8-e98c-4774-99ca-99cae4367609",
"returnCode": "0",
"returnMessage": "success"
}
}