Skip to main content
POST
/
cloud
/
v1
/
loadbalancers
/
{project_id}
/
{region_id}
/
check_limits
Check load balancer quota
curl --request POST \
  --url https://api.gcore.com/cloud/v1/loadbalancers/{project_id}/{region_id}/check_limits \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "floating_ip": {
    "source": "existing",
    "existing_floating_id": "<string>"
  },
  "logging": {
    "destination_region_id": 1,
    "enabled": false,
    "retention_policy": {
      "period": 45
    },
    "topic_name": "my-log-name"
  }
}
'
{
  "floating_count_limit": 123,
  "floating_count_requested": 123,
  "floating_count_usage": 123,
  "laas_topic_count_limit": 123,
  "laas_topic_count_requested": 123,
  "laas_topic_count_usage": 123,
  "loadbalancer_count_limit": 123,
  "loadbalancer_count_requested": 123,
  "loadbalancer_count_usage": 123
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

Example:

1

region_id
integer
required

Region ID

Example:

7

Body

application/json
floating_ip
NewInterfaceFloatingIpPydanticSerializer · object

Floating IP configuration for assignment

logging
LoadbalancerLoggingSerializer · object

Logging configuration

Response

200 - application/json

OK

floating_count_limit
integer

Floating IP Count limit

Example:

1

floating_count_requested
integer

Floating IP Count requested

Example:

1

floating_count_usage
integer

Floating IP Count usage

Example:

1

laas_topic_count_limit
integer

LaaS Topics Count limit

Example:

1

laas_topic_count_requested
integer

LaaS Topics Count requested

Example:

1

laas_topic_count_usage
integer

LaaS Topics Count usage

Example:

1

loadbalancer_count_limit
integer

Load Balancers Count limit

Example:

1

loadbalancer_count_requested
integer

Load Balancers Count requested

Example:

1

loadbalancer_count_usage
integer

Load Balancers Count usage

Example:

1