flushAllCloudRedisServerInstance
- 인쇄
- PDF
flushAllCloudRedisServerInstance
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
Cloud DB for Redis FlushAll 명령어를 이용해서 선택한 Redis Server의 모든 Data를 삭제합니다.
만약 백업 Data가 있다면 새로운 Redis Server로 복구할 수 있지만 이는 삭제하는 시점의 Data를 의미하는 건 아니므로 신중히 수행해 주시기 바랍니다.
HA 상품이면 Master에서만 삭제가 가능하며. 이 경우 Slave/Standby-Master 역시 같이 삭제되므로 주의해 주시기 바랍니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 regionCode는 getRegionList 액션을 통해서 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
cloudRedisServerInstanceNo | Yes | String | - FlushAll 명령어를 수행할 Cloud DB for Redis 서버 인스턴스 번호 cloudRedisServerInstanceNo는 getCloudRedisInstanceList 액션을 통해서 획득 가능 | |
responseFormatType | No | String | - 응답 결과의 포맷 타입 Options : xml | json Default : xml |
응답
응답 바디
예시
요청 예시
GET {API_URL}/flushAllCloudRedisServerInstance
?regionCode=FKR
&cloudRedisServerInstanceNo=***821
응답
<flushAllCloudRedisServerInstanceResponse>
<requestId>1efe1130-13c6-4e45-8aed-9252ead588a4</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudRedisInstanceList>
<cloudRedisInstance>
<cloudRedisInstanceNo>2192***</cloudRedisInstanceNo>
<cloudRedisServiceName>dsdc***</cloudRedisServiceName>
<cloudRedisInstanceStatusName>settingUp</cloudRedisInstanceStatusName>
<cloudRedisInstanceStatus>
<code>CREAT</code>
<codeName>CLOUD DATABASE(VPC) Created State</codeName>
</cloudRedisInstanceStatus>
<cloudRedisInstanceOperation>
<code>NULL</code>
<codeName>CLOUD DATABASE(VPC) Null OP</codeName>
</cloudRedisInstanceOperation>
<cloudRedisImageProductCode>SW.VDBAS.VRDS.LNX64.CNTOS.0703.REDIS.4014.B050</cloudRedisImageProductCode>
<engineVersion>REDIS 4.0.14</engineVersion>
<licence>
<code>BSD</code>
<codeName>Berkeley Software Distribution</codeName>
</licence>
<cloudRedisPort>6379</cloudRedisPort>
<isHa>false</isHa>
<isBackup>false</isBackup>
<backupTime>01:00</backupTime>
<backupFileRetentionPeriod>1</backupFileRetentionPeriod>
<backupSchedule>AUTO</backupSchedule>
<cloudRedisServerPrefix>dsajc***</cloudRedisServerPrefix>
<role>
<code>CLUSTER</code>
<codeName>CLOUD REDIS(VPC) Cluster Role</codeName>
</role>
<createDate>2022-02-21T14:58:44+0900</createDate>
<accessControlGroupNoList>
<accessControlGroupNo>14704</accessControlGroupNo>
</accessControlGroupNoList>
<masterNodeCount>3</masterNodeCount>
<slaveNodeCount>0</slaveNodeCount>
<configGroupNo>4**</configGroupNo>
<configGroupName>ffsds***</configGroupName>
<generationCode>G2</generationCode>
<cloudRedisServerInstanceList>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
<cloudRedisServerName>dsajc***-001-001-rm1</cloudRedisServerName>
<cloudRedisServerRole>
<code>M</code>
<codeName>Master</codeName>
</cloudRedisServerRole>
<cloudRedisServerInstanceStatusName>settingUp</cloudRedisServerInstanceStatusName>
<cloudRedisServerInstanceStatus>
<code>RUN</code>
<codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
</cloudRedisServerInstanceStatus>
<cloudRedisServerInstanceOperation>
<code>SETUP</code>
<codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
</cloudRedisServerInstanceOperation>
<cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
<regionCode>FKR</regionCode>
<vpcNo>16**</vpcNo>
<subnetNo>55**</subnetNo>
<privateDomain>redisc-*****.vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
<osMemorySize>2147483648</osMemorySize>
<uptime>2022-03-10T16:57:52+0900</uptime>
<createDate>2022-02-21T14:58:44+0900</createDate>
<slotName>0-5460</slotName>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
<cloudRedisServerName>dsajc***-002-001-rm2</cloudRedisServerName>
<cloudRedisServerRole>
<code>M</code>
<codeName>Master</codeName>
</cloudRedisServerRole>
<cloudRedisServerInstanceStatusName>running</cloudRedisServerInstanceStatusName>
<cloudRedisServerInstanceStatus>
<code>RUN</code>
<codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
</cloudRedisServerInstanceStatus>
<cloudRedisServerInstanceOperation>
<code>NOOP</code>
<codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
</cloudRedisServerInstanceOperation>
<cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
<regionCode>FKR</regionCode>
<vpcNo>16**</vpcNo>
<subnetNo>55**</subnetNo>
<privateDomain>redisc-****d.vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
<osMemorySize>2147483648</osMemorySize>
<uptime>2022-02-21T15:11:52+0900</uptime>
<createDate>2022-02-21T14:58:44+0900</createDate>
<slotName>5461-10922</slotName>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>2192***</cloudRedisServerInstanceNo>
<cloudRedisServerName>dsajc***-003-001-rm3</cloudRedisServerName>
<cloudRedisServerRole>
<code>M</code>
<codeName>Master</codeName>
</cloudRedisServerRole>
<cloudRedisServerInstanceStatusName>running</cloudRedisServerInstanceStatusName>
<cloudRedisServerInstanceStatus>
<code>RUN</code>
<codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
</cloudRedisServerInstanceStatus>
<cloudRedisServerInstanceOperation>
<code>NOOP</code>
<codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
</cloudRedisServerInstanceOperation>
<cloudRedisProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudRedisProductCode>
<regionCode>FKR</regionCode>
<vpcNo>16**</vpcNo>
<subnetNo>55**</subnetNo>
<privateDomain>redisc-22***.vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
<osMemorySize>2147483648</osMemorySize>
<uptime>2022-02-21T15:11:52+0900</uptime>
<createDate>2022-02-21T14:58:44+0900</createDate>
<slotName>10923-16383</slotName>
</cloudRedisServerInstance>
</cloudRedisServerInstanceList>
</cloudRedisInstance>
</cloudRedisInstanceList>
</flushAllCloudRedisServerInstanceResponse>
이 문서가 도움이 되었습니까?