changeLoadBalancerInstanceConfiguration
- 인쇄
- PDF
changeLoadBalancerInstanceConfiguration
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
VPC 환경에서 이용 가능합니다.
개요
로드밸런서 인스턴스의 설정을 변경합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 설정을 변경할 로드밸런서 인스턴스의 리전(Region) 결정 가능 regionCode는 getRegionList 액션을 통해 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
loadBalancerInstanceNo | Yes | String | - 설정을 변경할 로드밸런서 인스턴스 번호 loadBalancerInstanceNo는 getLoadBalancerInstanceList 액션을 통해 획득 가능 | |
throughputTypeCode | Conditional | String | - 부하 처리 성능 유형 코드 APPLICATION, NETWORK_PROXY 유형 Options : SMALL | MEDIUM | LARGE| XLARGE NETWORK 유형 Options : DYNAMIC | |
idleTimeout | Conditional | Integer | Min : 1, Max : 3600 초 | - 연결 유지 시간 선택한 로드밸런서 유형이 NETWORK 인 경우 설정할 수 없음 |
응답
응답 데이터 타입
- LoadBalancerInstanceList 타입
LoadBalancerInstanceList extends CommonResponse |
---|
private Integer totalRows; |
private List |
LoadBalancerInstance |
---|
private String loadBalancerInstanceNo; |
private CommonCode loadBalancerInstanceStatus; |
private CommonCode loadBalancerInstanceOperation; |
private String loadBalancerInstanceStatusName; |
private String loadBalancerDescription; |
private Date createDate; |
private String loadBalancerName; |
private String loadBalancerDomain; |
private LoadBalancerIpList loadBalancerIpList; |
private CommonCode loadBalancerType; |
private CommonCode loadBalancerNetworkType; |
private CommonCode throughputType; |
private Integer idleTimeout; |
private String vpcNo; |
private String regionCode; |
private SubnetNoList subnetNoList; |
private List<LoadBalancerSubnet> loadBalancerSubnetList; |
private LoadBalancerListenerNoList loadBalancerListenerNoList; |
LoadBalancerIpList |
---|
private List |
SubnetNoList |
---|
private List |
LoadBalancerSubnet |
---|
private String zoneCode; |
private String subnetNo; |
private String publicIpInstanceNo; |
LoadBalancerListenerNoList |
---|
private List |
예시
요청 예시
ncloud vloadbalancer changeLoadBalancerInstanceConfiguration --regionCode KR --loadBalancerInstanceNo ***887 --throughputTypeCode SMALL --idleTimeout 60
응답 예시
<changeLoadBalancerInstanceConfigurationResponse>
<requestId>959a2fe5-fd1b-459a-9af3-df0e51b68e1d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<loadBalancerInstanceList>
<loadBalancerInstance>
<loadBalancerInstanceNo>***887</loadBalancerInstanceNo>
<loadBalancerInstanceStatus>
<code>USED</code>
<codeName>LB USED state</codeName>
</loadBalancerInstanceStatus>
<loadBalancerInstanceOperation>
<code>CHANG</code>
<codeName>LB CHANGE OP</codeName>
</loadBalancerInstanceOperation>
<loadBalancerInstanceStatusName>Changing</loadBalancerInstanceStatusName>
<loadBalancerDescription></loadBalancerDescription>
<createDate>2020-12-20T19:21:02+0900</createDate>
<loadBalancerName>test-***</loadBalancerName>
<loadBalancerDomain>test-***-***887-***.com</loadBalancerDomain>
<loadBalancerIpList>
<loadBalancerIp>***.***.5.6</loadBalancerIp>
</loadBalancerIpList>
<loadBalancerType>
<code>APPLICATION</code>
<codeName>Application Load Balancer</codeName>
</loadBalancerType>
<loadBalancerNetworkType>
<code>PRIVATE</code>
<codeName>Private</codeName>
</loadBalancerNetworkType>
<throughputType>
<code>SMALL</code>
<codeName>Small</codeName>
</throughputType>
<idleTimeout>60</idleTimeout>
<vpcNo>***04</vpcNo>
<regionCode>KR</regionCode>
<subnetNoList>
<subnetNo>***43</subnetNo>
</subnetNoList>
<loadBalancerSubnetList>
<loadBalancerSubnet>
<zoneCode>KR-1</zoneCode>
<subnetNo>***43</subnetNo>
<publicIpInstanceNo/>
</loadBalancerSubnet>
</loadBalancerSubnetList>
<loadBalancerListenerNoList>
<loadBalancerListenerNo>***961</loadBalancerListenerNo>
</loadBalancerListenerNoList>
</loadBalancerInstance>
</loadBalancerInstanceList>
</changeLoadBalancerInstanceConfigurationResponse>
이 문서가 도움이 되었습니까?