changeLoadBalancerListenerConfiguration
    • PDF

    changeLoadBalancerListenerConfiguration

    • PDF

    Article summary

    Available in VPC

    Change the load balancer listener settings.

    Request

    The following describes the request format for the endpoint. The request format is as follows:

    MethodURI
    GET/changeLoadBalancerListenerConfiguration

    Request headers

    For headers common to all Load Balancer APIs, see Load Balancer common headers.

    Request query parameters

    The following describes the parameters.

    FieldTypeRequiredDescription
    regionCodeStringOptionalRegion code for the load balancer instance to which you want to change the listener settings
    • First Region of the getRegionList search result (default)
    • Check through getRegionList
    loadBalancerListenerNoStringRequiredNumber of the load balancer listener
    protocolTypeCodeStringRequiredProtocol type of load balancer listener
    • HTTP | HTTPS | TCP | UDP | TLS
    • Type of load balancer limits the values you can select
      • Application Load Balancer: HTTP | HTTPS
      • Network Load Balancer: TCP | UDP
      • Network Proxy Load Balancer: TCP | TLS
    • UDP protocol is only available in Singapore and Japan Regions
    portIntegerRequiredPort of the load balancer listener
    • 1 - 65534
    • It can't be duplicated with an existing registered listener port
    useHttp2BooleanOptionalWhether to use the HTTP/2 protocol
    • true | false (default)
    • It can be set if the listener's protocol type is HTTPS
    sslCertificateNoStringRequiredSSL certificate number
    • Check through getCertificateList
    • If the listener's protocol type is HTTPS or TLS, the SSL certificate must be set
    tlsMinVersionTypeCodeStringOptionalTLS minimum supported version
    • TLSV10 (default) | TLSV11 | TLSV12
      • TLSV10: TLS 1.0
      • TLSV11: TLS 1.1
      • TLSV12: TLS 1.2
    • It can be set if the listener's protocol type is HTTPS or TLS
    cipherSuiteList.NList<String>OptionalList of encryption tools provided by the load balancer when negotiating encryption with the client
    • TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA | TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 | TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 | TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA | TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 | TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 | TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA | TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 | TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 | TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA | TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 | TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 | TLS_RSA_WITH_AES_128_CBC_SHA | TLS_RSA_WITH_AES_128_CBC_SHA256 | TLS_RSA_WITH_AES_128_GCM_SHA256 | TLS_RSA_WITH_AES_256_CBC_SHA | TLS_RSA_WITH_AES_256_CBC_SHA256 | TLS_RSA_WITH_AES_256_GCM_SHA384 | TLS_DHE_RSA_WITH_AES_128_CBC_SHA | TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 | TLS_DHE_RSA_WITH_AES_256_CBC_SHA | TLS_DHE_RSA_WITH_AES_256_CBC_SHA256
    • Default
      • Select All when setting a new listener protocol to HTTPS or TLS
      • Retain existing settings if the listener protocol is not changed
    • It can be set if the listener's protocol type is HTTPS or TLS
    responseFormatTypeStringOptionalResponse result format
    • xml (default) | json

    Request example

    The following is a sample request.

    curl --location 'https://ncloud.apigw.ntruss.com/vloadbalancer/v2/changeLoadBalancerListenerConfiguration
    ?regionCode=KR
    &loadBalancerListenerNo=******
    &protocolTypeCode=HTTP
    &port=80'
    --header 'x-ncp-apigw-timestamp: {Timestamp}'
    --header 'x-ncp-iam-access-key: {Access Key}'
    --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
    

    Response

    The following describes the response format.

    Response body

    See LoadBalancerListenerList for the response body.

    Response status codes

    For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response example

    The following is a sample response.

    <changeLoadBalancerListenerConfigurationResponse>
        <requestId>af74a733-f275-45c4-9797-fa7d0f3a607d</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <loadBalancerListenerList>
            <loadBalancerListener>
                <loadBalancerInstanceNo>********</loadBalancerInstanceNo>
                <loadBalancerListenerNo>******</loadBalancerListenerNo>
                <protocolType>
                    <code>HTTP</code>
                    <codeName>HTTP protocol</codeName>
                </protocolType>
                <port>80</port>
                <useHttp2>false</useHttp2>
                <sslCertificateNo></sslCertificateNo>
                <tlsMinVersionType/>
                <loadBalancerRuleNoList>
                    <loadBalancerRuleNo>******</loadBalancerRuleNo>
                </loadBalancerRuleNoList>
                <cipherSuiteList/>
            </loadBalancerListener>
        </loadBalancerListenerList>
    </changeLoadBalancerListenerConfigurationResponse>
    

    Was this article helpful?

    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.