changeLoadBalancerInstanceConfiguration
    • PDF

    changeLoadBalancerInstanceConfiguration

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    개요

    로드밸런서 인스턴스의 설정을 변경합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    설정을 변경할 로드밸런서 인스턴스의 리전(Region) 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default : getRegionList 조회 결과의 첫 번째 리전을 선택
    loadBalancerInstanceNoYesString- 설정을 변경할 로드밸런서 인스턴스 번호
    loadBalancerInstanceNo는 getLoadBalancerInstanceList 액션을 통해 획득 가능
    throughputTypeCodeConditionalString- 부하 처리 성능 유형 코드
    APPLICATION, NETWORK_PROXY 유형
    Options : SMALL | MEDIUM | LARGE| XLARGE

    NETWORK 유형
    Options : DYNAMIC
    idleTimeoutConditionalIntegerMin : 1, Max : 3600 초- 연결 유지 시간
    선택한 로드밸런서 유형이 NETWORK 인 경우 설정할 수 없음

    응답

    응답 데이터 타입

    • LoadBalancerInstanceList 타입
    LoadBalancerInstanceList extends CommonResponse
    private Integer totalRows;
    private List loadBalancerInstanceList = new ArrayList<>();
    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 loadBalancerIpList = new ArrayList<>();
    SubnetNoList
    private List subnetNoList = new ArrayList<>();
    LoadBalancerSubnet
    private String zoneCode;
    private String subnetNo;
    private String publicIpInstanceNo;
    LoadBalancerListenerNoList
    private List loadBalancerListenerNoList = new ArrayList<>();

    예시

    요청 예시

    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>
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.