Available in Classic
Overview
NAVER Cloud Platform is a cloud service built with NAVER's latest computing technology and operational know-how.
The application program interface (API) that supports the use of services and solutions provided by NAVER Cloud Platform is called NAVER Cloud Platform API.
Common Load Balancer settings
The following describes commonly used request and response formats in Load Balancer APIs.
Request
The following describes the common request format.
API URL
The request API URL is as follows:
https://ncloud.apigw.ntruss.com
Request headers
The following describes the request headers.
| Field | Required | Description |
|---|---|---|
x-ncp-apigw-timestamp |
Required | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
|
x-ncp-iam-access-key |
Required | Access key issued on NAVER Cloud Platform
|
x-ncp-apigw-signature-v2 |
Required | Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256).
|
Response
The following describes the common response format.
Response status codes
The following describes the response status codes.
Response status codes
The following describes the response status codes.
| HTTP status code | Code | Message | Description |
|---|---|---|---|
| 400 | 10105 | Unable to create load balancer anymore since contract limitation setting has been exceeded. Number of contract limitation: {0} Number of current contracts : {1} | Service usage limit exceeded |
| 400 | 10300 | Instance name is already in use. please use other name. | Instance name can't be duplicated. |
| 400 | 10713 | Not found contract information. Please check your input parameter. | Service usage information not found |
| 400 | 23011 | We are sorry that {0} cannot be used for load balancer ports since the ports are in use for load balancer management. | The port already in use for load balancer management. |
| 400 | 23017 | This version of the load balancer can not create with private IP. | Load balancer that can't be created with private IP addresses. |
| 400 | 23018 | Can not create the load balancer. | Load balancer creation error |
| 400 | 23019 | There is no resource for the load balancer. | No resources on the load balancer |
| 400 | 24063 | The number of load balancer settings has been exceeded. | Load balancer setting limits exceeded |
| 400 | 24064 | The range of usable {0} port is from 1 to 66534. | The port number must be between 1 and 66534. |
| 400 | 24065 | {0} Duplicated port number. Port number : {1} | The port number can't be duplicated. |
| 400 | 24066 | When setting load balancer, Health Check route must be configured to HTTP protocol. | Required to enter a health check path if the protocol type of the load balancer rule is HTTP |
| 400 | 24091 | No IP address is assigned to the server instance (no. {0}). | No IP address assigned to the server instance |
| 400 | 24099 | When setting load balancer, Health Check route must be configured to HTTP or HTTPS protocol. | Required to enter a health check path if the protocol type of the load balancer rule is HTTP or HTTPS |
| 400 | 24109 | The input parameter instance number is invalid. | Invalid instance number |
| 400 | 24111 | The input parameter zone number is invalid. | Invalid zone number |
| 400 | 24120 | The input parameter server instance number is invalid. | Invalid server instance number |
| 400 | 24123 | The input parameter load balancer instance number is invalid. | Invalid load balancer instance number |
| 400 | 24130 | The input parameter load balancing algorithm is invalid. | Invalid load balancing algorithm |
| 400 | 24131 | The field {0} in the load balancer rule parameter is invalid. | The {0} field in the load balancer rule is invalid. |
| 400 | 24132 | The field healthCheckPath in the load balancer rule parameter is invalid. If the protocol is HTTP, it is required. it must start with slash('/') and contain no blank. | Required to enter a health check path if the protocol type of the load balancer rule is HTTP. The URL path must start with "/" and contain no spaces. |
| 400 | 24133 | The field healthCheckPath in the load balancer rule parameter is invalid. If the protocol is NOT HTTP, it must not be specified. | Health check path can't be specified unless the protocol type of the load balancer rule is HTTP. |
| 400 | 24134 | The number of input parameter load balancer rules is the minimum of 1, maximum of 5. | Character length limit: 1-5 |
| 400 | 24173 | Only one zone can be selected for private IP load balancer. | Only one zone can be entered for load balancers with private IP addresses. |
| 400 | 24174 | Can not change zone for private IP load balancer. | Load balancers with private IP addresses can't change zones. |
| 400 | 24300 | The length constraints of the parameter description (memo) were violated. The minimum length is 0 byte, the maximum, 1,000 bytes. | Description must be between 1 and 1000 bytes. |
| 400 | 25026 | You may not delete since (other) user is operating the target load balance. | Unable to delete because another user is running the target load balancer |
| 400 | 25027 | You may not change since (other) user is operating the target load balancer. | Unable to change because another user is running the target load balancer |
| 400 | 25050 | (Other)Unable to operate load balancer since use is manipulating the applying server. | Unavailable because the server is being applied to a load balancer |
| 400 | 25050 | (Other)Unable to operate load balancer since use is manipulating the applying. | Unavailable because the server is being applied to a load balancer |
| 400 | 25051 | Server is already being applied to load balancer. | The server is already applied by the load balancer. |
| 400 | 25052 | Server {0} is unable to apply to load balancer since it is either in operation or not being suspended. | The server is running or not stopped and therefore not applicable to the load balancer. |
| 400 | 26002 | The issuer certificate of a looked up certificate could not be found. This normally means the list of trusted certificates is not complete. | Unable to find the certificate issuer |
| 400 | 26003 | The CRL of a certificate could not be found. | Unable to find the CRL |
| 400 | 26004 | The certificate signature could not be decrypted. This means that the actual signature value could not be determined rather than it not matching the expected value, this is only meaningful for RSA keys. | Certificate signature decryption failed. |
| 400 | 26005 | The CRL signature could not be decrypted: this means that the actual signature value could not be determined rather than it not matching the expected value. Unused. | CRL signature decryption failed. |
| 400 | 26006 | The public key in the certificate SubjectPublicKeyInfo could not be read. | Unable to read the certificate public key |
| 400 | 26007 | The signature of the certificate is invalid. | Invalid certificate signature |
| 400 | 26008 | The signature of the certificate is invalid. | Invalid certificate signature |
| 400 | 26009 | The certificate is not yet valid: the notBefore date is after the current time. | Certificate validity start date is set beyond the current date. |
| 400 | 26010 | The certificate has expired: that is the notAfter date is before the current time. | Certificate validity expiration date is set before the current date. |
| 400 | 26011 | The CRL is not yet valid. | Invalid CRL |
| 400 | 26012 | The CRL has expired. | Expired CRL |
| 400 | 26013 | The certificate notBefore field contains an invalid time. | Invalid certificate validity start date and time |
| 400 | 26014 | The certificate notAfter field contains an invalid time. | Invalid certificate validity expiration date and time |
| 400 | 26015 | The CRL lastUpdate field contains an invalid time. | CRL's last update date and time is invalid. |
| 400 | 26016 | The CRL nextUpdate field contains an invalid time. | CRL's next update date and time is invalid. |
| 400 | 26017 | An error occurred trying to allocate memory. This should never happen. | Memory allocation error |
| 400 | 26018 | The passed certificate is self signed and the same certificate cannot be found in the list of trusted certificates. | Self-signed certificate not found in the list of trusted certificates |
| 400 | 26019 | The certificate chain could be built up using the untrusted certificates but the root could not be found locally. | Root certificate not found on local computer |
| 400 | 26020 | The issuer certificate could not be found: this occurs if the issuer certificate of an untrusted certificate cannot be found. | Unable to find the certificate issuer |
| 400 | 26021 | No signatures could be verified because the chain contains only one certificate and it is not self signed. | Signature authentication failed. |
| 400 | 26022 | The certificate chain length is greater than the supplied maximum depth. Unused. | Certificate chain length limit exceeded |
| 400 | 26023 | The certificate has been revoked. | Certificate revoked |
| 400 | 26024 | A CA certificate is invalid. Either it is not a CA or its extensions are not consistent with the supplied purpose. | Invalid CA certificate |
| 400 | 26025 | The basicConstraints path length parameter has been exceeded. | Authentication path length limit exceeded |
| 400 | 26026 | The supplied certificate cannot be used for the specified purpose. | Certificate not available for this purpose |
| 400 | 26027 | The root CA is not marked as trusted for the specified purpose. | Root CA certificate not trusted |
| 400 | 26028 | The root CA is marked to reject the specified purpose. | Root CA certificate request denied |
| 400 | 26029 | The current candidate issuer certificate was rejected because its subject name did not match the issuer name of the current certificate. Only displayed when the -issuer_checks option is set. | Certificate request rejected because subject does not match issuer |
| 400 | 26030 | The current candidate issuer certificate was rejected because its subject key identifier was present and did not match the authority key identifier current certificate. Only displayed when the -issuer_checks option is set. | Certificate request rejected because subject key identifier does not match authority key identifier |
| 400 | 26031 | The current candidate issuer certificate was rejected because its issuer name and serial number was present and did not match the authority key identifier of the current certificate. Only displayed when the -issuer_checks option is set. | Certificate request rejected because the certificate issuer and serial number do not match the authority key identifier |
| 400 | 26032 | The current candidate issuer certificate was rejected because its keyUsage extension does not permit certificate signing. | Certificate request rejected because key purpose extension does not allow signing |
| 400 | 26033 | An application specific error. Unused. | Application error |
| 400 | 26034 | An error occurred during certificate verification. | Certificate verification error |
| 400 | 26035 | Not found memberNo OR certificateName. Please check your input parameter. | Unable to find the member ID or the certificate name |
| 400 | 26035 | There is no input parameters memberNo or certificateName. | Unable to find the member ID or the certificate name |
| 400 | 26036 | Not found memberNo OR certificateName OR privateKey OR publicKeyCertificate. Please check your input parameter. | Unable to find member ID, certificate name, secret key, or public key |
| 400 | 26036 | Not found certificateName OR privateKey OR publicKeyCertificate Please check your input parameter. | Unable to find the certificate name or the certificate's secret/public key |
| 400 | 26037 | Certificate is being used in another loadBalancer. | Certificate already in use by another load balancer |
| 400 | 26037 | It is in use by another load balancer to certificate of deletion requested. Please delete to a load. | Certificate already in use by another load balancer |
| 400 | 26038 | The certificate name required for SSL/HTTPS. Please check your input parameter. | Certificate name required if the protocol type of the load balancer rule is SSL or HTTPS |
| 400 | 26041 | The certificate name already existent. | Certificate name can't be duplicated. |
| 400 | 26042 | Proxy protocol can be set only with TCP, SSL protocols. | Proxy protocol can only be set if the protocol type of the load balancer rule is TCP or SSL. |
For information about the HTTP status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Operation
| API name | Description |
|---|---|
| createLoadBalancerInstance | Create a load balancer instance. |
| changeLoadBalancerInstanceConfiguration | Changes the settings of a load balancer instance. |
| changeLoadBalancedServerInstances | Change a server instance bound to a load balancer. |
| deleteLoadBalancerInstances | Delete a load balancer instance. |
| getLoadBalancerInstanceList | Get the list of load balancer instances. |
| getLoadBalancedServerInstanceList | Get the list of server instances bound to a load balancer. |
| getLoadBalancerTargetServerInstanceList | Get the list of server instances that can be assigned to a load balancer. |
| addLoadBalancerSslCertificate | Add a SSL certificate used by a load balancer. |
| deleteLoadBalancerSslCertificate | Delete a SSL certificate used by a load balancer. |
| getLoadBalancerSslCertificateList | Get the SSL certificate used by a load balancer. |