getCloudRedisInstanceList
- 인쇄
- PDF
getCloudRedisInstanceList
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능
개요
Cloud DB for Redis 인스턴스 리스트를 조회합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 Cloud DB for Redis 인스턴스 리스트가 조회될 리전(Region) 결정 가능 regionCode는 getRegionList 액션을 통해서 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
zoneCode | No | String | - ZONE 코드 Cloud DB for Redis 인스턴스 리스트가 조회될 Zone을 결정 가능 zoneCode는 getZoneList 액션을 통해서 획득 가능 | |
vpcNo | No | String | - VPC 번호 Cloud DB for Redis 인스턴스 리스트가 조회될 VPC 결정 vpcNo는 getCloudRedisTargetVpcList 액션을 통해서 획득 가능 | |
subnetNo | No | String | - Subnet 번호 Cloud DB for Redis 인스턴스 리스트가 조회될 Subnet을 결정 가능 SubnetNo는 getCloudRedisTargetSubnetList 액션을 통해서 획득 가능 | |
cloudRedisServiceName | No | String | - Cloud DB for Redis 서비스 이름 Cloud DB for Redis 서비스 이름으로 필터링하여 검색 가능 cloudRedisServiceName은 getCloudRedisInstanceList 액션을 통해서 획득 가능 | |
cloudRedisInstanceNoList | No | List<String> | - Cloud DB for Redis 인스턴스 번호 리스트 Cloud DB for Redis 인스턴스 번호로 필터링하여 검색 가능 cloudRedisInstanceNoList는 getCloudRedisInstanceList 액션을 통해서 획득 가능 ex) cloudRedisInstanceNoList 1234 2345 | |
cloudRedisServerName | No | String | - Cloud DB for Redis 서버 이름 Cloud DB for Redis 서버 이름으로 필터링하여 검색 가능. cloudRedisServerName은 getCloudRedisInstanceList 액션을 통해서 획득 가능 | |
cloudRedisServerInstanceNoList | No | List<String> | - Cloud DB for Redis 서버 인스턴스 번호 리스트 Cloud DB for Redis 서버 인스턴스 번호로 필터링하여 검색 가능 cloudRedisServerInstanceNoList getCloudRedisInstanceList 액션을 통해서 획득 가능 ex) cloudRedisServerInstanceNoList 1234 2345 | |
generationCode | No | String | - 서버 세대 코드 options: G2 | G3 | |
pageNo | No | Integer | Min: 0 | - 페이징된 결과의 페이지 번호 결괏값을 pageNo, pageSize를 이용하여 페이징 처리 가능 |
pageSize | Conditional | Integer | Min: 1 | - 페이징 시 보여줄 각 페이지 사이즈 결괏값을 pageNo, pageSize를 이용하여 페이징 처리 가능 pageNo 입력시 반드시 입력 |
output | No | String | - 응답 결과의 포맷 타입 Options : xml | json Default : json |
응답
응답 데이터 타입
- CloudRedisInstanceList 타입
CloudRedisInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List<CloudRedisInstance> cloudRedisInstanceList = new ArrayList<>(); |
CloudRedisInstance |
---|
private String cloudRedisInstanceNo; |
private String cloudRedisServiceName; |
private String cloudRedisInstanceStatusName; |
private CommonCode cloudRedisInstanceStatus; |
private CommonCode cloudRedisInstanceOperation; |
private String cloudRedisImageProductCode; |
private String engineVersion; |
private CommonCode licence; |
private Integer cloudRedisPort; |
private Boolean isHa; |
private String cloudRedisServerPrefix; |
private Boolean isBackup; |
private Integer backupFileRetentionPeriod; |
private String backupTime; |
private String backupSchedule; |
private String generationCode; |
private Date createDate; |
private Integer shardCount; |
private Integer shardCopyCount; |
private AccessControlGroupNoList accessControlGroupNoList; |
private String configGroupNo; |
private String configGroupName; |
private CommonCode role; |
private List<CloudRedisInstance> cloudRedisServerInstanceList; |
AccessControlGroupNoList |
---|
private List<String> accessControlGroupNoList = new ArrayList<>(); |
CloudRedisServerInstance |
---|
private String cloudRedisServerInstanceNo; |
private String cloudRedisServerName; |
private CommonCode cloudRedisServerRole; |
private String cloudRedisServerInstanceStatusName; |
private CommonCode cloudRedisServerInstanceStatus; |
private CommonCode cloudRedisServerInstanceOperation; |
private String cloudRedisProductCode; |
private String regionCode; |
private String zoneCode; |
private String vpcNo; |
private String subnetNo; |
private String privateDomain; |
private Integer cpuCount; |
private Long memorySize; |
private Long osMemorySize; |
private Date uptime; |
private Date createDate; |
private String slotName; |
예시
호출
ncloud vredis getCloudRedisInstanceList --regionCode KR --zoneCode KR-1 --vpcNo ****65 --subnetNo ****92 --cloudRedisServiceName test-**** --cloudRedisInstanceNoList ****890 --cloudRedisServerName test--**** --cloudRedisServerInstanceNoList ****518 --pageNo 0 --pageSize 10
응답
<getCloudRedisInstanceListResponse>
<requestId>722951df-d6d8-45a5-b3e1-7a16df4670f8</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudRedisInstanceList>
<cloudRedisInstance>
<cloudRedisInstanceNo>****890</cloudRedisInstanceNo>
<cloudRedisInstanceName>test-****</cloudRedisInstanceName>
<cloudRedisInstanceStatusName>running</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>
<isHa>false</isHa>
<role>
<code>CLUSTER</code>
<codeName>CLOUD REDIS(VPC) Cluster Role</codeName>
</role>
<generationCode>G2</generationCode>
<cloudRedisServerInstanceList>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****518</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-001-001-ehs</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****616</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-002-001-eht</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****619</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-003-001-ehu</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****622</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-001-002-ehv</cloudRedisServerName>
<cloudRedisServerRole>
<code>S</code>
<codeName>Slave</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****625</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-002-002-ehw</cloudRedisServerName>
<cloudRedisServerRole>
<code>S</code>
<codeName>Slave</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
<cloudRedisServerInstance>
<cloudRedisServerInstanceNo>****628</cloudRedisServerInstanceNo>
<cloudRedisServerName>test-****-003-002-ehx</cloudRedisServerName>
<cloudRedisServerRole>
<code>S</code>
<codeName>Slave</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>
<regionCode>KR</regionCode>
<zoneCode>KR-1</zoneCode>
<vpcNo>****65</vpcNo>
<subnetNo>****92</subnetNo>
<privateDomain>redisc-*****-vpc-cdb.ntruss.com</privateDomain>
<cpuCount>4</cpuCount>
<memorySize>1610612736</memorySize>
</cloudRedisServerInstance>
</cloudRedisServerInstanceList>
</cloudRedisInstance>
</cloudRedisInstanceList>
</getCloudRedisInstanceListResponse>
이 문서가 도움이 되었습니까?