getLoadBalancerInstanceList
    • PDF

    getLoadBalancerInstanceList

    • PDF

    기사 요약

    개요

    로드밸런서 인스턴스 리스트 조회

    설명

    로드밸런서 인스턴스 리스트를 조회합니다.

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    loadBalancerInstanceNoListNoList중복불가조회할 로드밸런서 인스턴스 번호 리스트
    networkUsageTypeCodeNoStringMin : 1, Max : 5- 네트워크 용도 구분 코드
    PBLIP(Public), PRVT(Private)
    regionNoNoString입력 가능한 상태는 getRegionList 액션을 통해 획득 가능
    pageNoNoIntegerMin : 0, Max : 2147483647건수가 많을 경우 페이지 사이즈에 해당하는 페이지 번호
    pageSizeNoIntegerMin : 0, Max : 2147483647한 페이지에서 조회할 페이지 사이즈
    sortedByNoString목록 결과에 대한 정렬 컬럼을 정할 수 있음
    로드밸런서 명(loadBalancerName) | 로드밸런서 인스턴스 번호(loadBalancerInstanceNo) [대소문자 구분 없음]
    Default: 로드밸런서 인스턴스 번호(loadBalancerInstanceNo)
    sortingOrderNoString오름차순 내림차순에 대한 목록 결과에 ordering을 정할 수 있음
    오름차순(ascending) | 내림차순(descending) [대소문자 구분 없음]
    Default: 오름차순(ascending)

    응답 데이터 타입

    • LoadBalancerInstanceList 타입
    LoadBalancerInstanceList extends CommonResponse
    private Integer totalRows;
    private List loadBalancerInstanceList = new ArrayList();
    LoadBalancerInstance
    private String loadBalancerInstanceNo;
    private String virtualIp;
    private String loadBalancerName;
    private CommonCode loadBalancerAlgorithmType;
    private String loadBalancerDescription;
    private Date createDate;
    private String domainName;
    private String loadBalancerInstanceStatusName;
    private CommonCode loadBalancerInstanceStatus;
    private CommonCode loadBalancerInstanceOperation;
    private CommonCode networkUsageType;
    private Boolean isHttpKeepAlive;
    private Integer connectionTimeout;
    private String certificateName;
    private List loadBalancerRuleList;
    private List loadBalancedServerInstanceList;

    예시

    호출

    ncloud loadbalancer getLoadBalancerInstanceList --networkUsageTypeCode PRVT
    

    응답

    {
      "getLoadBalancerInstanceListResponse": {
        "requestId": "d3a5be52-2003-4243-a037-3a1734210140",
        "returnCode": 0,
        "returnMessage": "success",
        "totalRows": 1,
        "loadBalancerInstanceList": [
        {
            "loadBalancerInstanceNo": 428577,
            "virtualIp": "10.39.10.76",
            "loadBalancerName": "cdb",
            "loadBalancerAlgorithmType": {
              "code": "RR",
              "codeName": "Round Robin"
            },
            "loadBalancerDescription": "",
            "createDate": "0133-10-23T21:01:41+0900",
            "domainName": "",
            "loadBalancerInstanceStatusName": "used",
            "loadBalancerInstanceStatus": {
              "code": "USED",
              "codeName": "NET USED state"
            },
            "loadBalancerInstanceOperation": {
              "code": "NULL",
              "codeName": "NET NULL OP"
            },
            "networkUsageType": {
              "code": "PRVT",
              "codeName": "Private "
            },
            "isHttpKeepAlive": false,
            "connectionTimeout": 60,
            "certificateName": "",
            "loadBalancerRuleList": [
              {
                "protocolType": {
                  "code": "HTTP",
                  "codeName": "http"
                },
                "loadBalancerPort": 88,
                "serverPort": 88,
                "l7HealthCheckPath": "/l7check.html",
                "certificateName": "",
                "proxyProtocolUseYn": "N",
                "stickySessionUseYn": "N",
                "http2UseYn": "N"
              }
            ],
            "loadBalancedServerInstanceList": [
              ""
            ]
          }
        ]
      }
    }
    
    <?xml version="1.0" encoding="UTF-8" ?>
    <getLoadBalancerInstanceListResponse>
      <requestId>d3a5be52-2003-4243-a037-3a1734210140</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <loadBalancerInstanceList>
        <loadBalancerInstanceNo>428577</loadBalancerInstanceNo>
        <virtualIp>10.39.10.76</virtualIp>
        <loadBalancerName>cdb</loadBalancerName>
        <loadBalancerAlgorithmType>
          <code>RR</code>
          <codeName>Round Robin</codeName>
        </loadBalancerAlgorithmType>
        <loadBalancerDescription></loadBalancerDescription>
        <createDate>0133-10-23T21:01:41+0900</createDate>
        <domainName></domainName>
        <loadBalancerInstanceStatusName>used</loadBalancerInstanceStatusName>
        <loadBalancerInstanceStatus>
          <code>USED</code>
          <codeName>NET USED state</codeName>
        </loadBalancerInstanceStatus>
        <loadBalancerInstanceOperation>
          <code>NULL</code>
          <codeName>NET NULL OP</codeName>
        </loadBalancerInstanceOperation>
        <networkUsageType>
          <code>PRVT</code>
          <codeName>Private </codeName>
        </networkUsageType>
        <isHttpKeepAlive>false</isHttpKeepAlive>
        <connectionTimeout>60</connectionTimeout>
        <certificateName></certificateName>
        <loadBalancerRuleList>
          <protocolType>
            <code>HTTP</code>
            <codeName>http</codeName>
          </protocolType>
          <loadBalancerPort>88</loadBalancerPort>
          <serverPort>88</serverPort>
          <l7HealthCheckPath>/l7check.html</l7HealthCheckPath>
          <certificateName></certificateName>
          <proxyProtocolUseYn>N</proxyProtocolUseYn>
          <stickySessionUseYn>N</stickySessionUseYn>
          <http2UseYn>N</http2UseYn>
        </loadBalancerRuleList>
        <loadBalancedServerInstanceList></loadBalancedServerInstanceList>
      </loadBalancerInstanceList>
    </getLoadBalancerInstanceListResponse>
    

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

    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.