Check cluster quota
curl --request POST \
--url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"pools": [
{
"flavor_id": "bm2-hf-medium",
"min_node_count": 1,
"name": "test"
}
],
"fixed_network": "<string>",
"logging": {
"destination_region_id": 1,
"enabled": true,
"topic_name": "my-log-name"
}
}
'import requests
url = "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits"
payload = {
"pools": [
{
"flavor_id": "bm2-hf-medium",
"min_node_count": 1,
"name": "test"
}
],
"fixed_network": "<string>",
"logging": {
"destination_region_id": 1,
"enabled": True,
"topic_name": "my-log-name"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pools: [{flavor_id: 'bm2-hf-medium', min_node_count: 1, name: 'test'}],
fixed_network: '<string>',
logging: {destination_region_id: 1, enabled: true, topic_name: 'my-log-name'}
})
};
fetch('https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pools' => [
[
'flavor_id' => 'bm2-hf-medium',
'min_node_count' => 1,
'name' => 'test'
]
],
'fixed_network' => '<string>',
'logging' => [
'destination_region_id' => 1,
'enabled' => true,
'topic_name' => 'my-log-name'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits"
payload := strings.NewReader("{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}"
response = http.request(request)
puts response.read_body{
"baremetal_gpu_a100_count_limit": 5,
"baremetal_gpu_a100_count_requested": 10,
"baremetal_gpu_a100_count_usage": 3,
"baremetal_gpu_b200_count_limit": 5,
"baremetal_gpu_b200_count_requested": 10,
"baremetal_gpu_b200_count_usage": 3,
"baremetal_gpu_h100_count_limit": 5,
"baremetal_gpu_h100_count_requested": 10,
"baremetal_gpu_h100_count_usage": 3,
"baremetal_gpu_h200_count_limit": 5,
"baremetal_gpu_h200_count_requested": 10,
"baremetal_gpu_h200_count_usage": 3,
"baremetal_gpu_l40s_count_limit": 5,
"baremetal_gpu_l40s_count_requested": 10,
"baremetal_gpu_l40s_count_usage": 3,
"baremetal_hf_count_limit": 5,
"baremetal_hf_count_requested": 10,
"baremetal_hf_count_usage": 3,
"cluster_count_limit": 5,
"cluster_count_requested": 6,
"cluster_count_usage": 4,
"cpu_count_limit": 10,
"cpu_count_requested": 20,
"cpu_count_usage": 5,
"external_ip_count_limit": 5,
"external_ip_count_requested": 6,
"external_ip_count_usage": 4,
"firewall_count_limit": 5,
"firewall_count_requested": 6,
"firewall_count_usage": 4,
"floating_count_limit": 5,
"floating_count_requested": 6,
"floating_count_usage": 4,
"gpu_count_limit": 4,
"gpu_count_requested": 8,
"gpu_count_usage": 2,
"gpu_virtual_a100_count_limit": 4,
"gpu_virtual_a100_count_requested": 8,
"gpu_virtual_a100_count_usage": 2,
"gpu_virtual_h100_count_limit": 4,
"gpu_virtual_h100_count_requested": 8,
"gpu_virtual_h100_count_usage": 2,
"gpu_virtual_h200_count_limit": 4,
"gpu_virtual_h200_count_requested": 8,
"gpu_virtual_h200_count_usage": 2,
"gpu_virtual_l40s_count_limit": 4,
"gpu_virtual_l40s_count_requested": 8,
"gpu_virtual_l40s_count_usage": 2,
"laas_topic_count_limit": 5,
"laas_topic_count_requested": 6,
"laas_topic_count_usage": 4,
"loadbalancer_count_limit": 5,
"loadbalancer_count_requested": 6,
"loadbalancer_count_usage": 4,
"ram_limit": 20480,
"ram_requested": 40960,
"ram_usage": 10240,
"servergroup_count_limit": 5,
"servergroup_count_requested": 10,
"servergroup_count_usage": 3,
"vm_count_limit": 5,
"vm_count_requested": 10,
"vm_count_usage": 3,
"volume_count_limit": 5,
"volume_count_requested": 10,
"volume_count_usage": 3,
"volume_size_limit": 400,
"volume_size_requested": 800,
"volume_size_usage": 200
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}Managed Kubernetes
Check cluster quota
Calculate quota requirements for a new K8s cluster before creation.
Returns exceeded quotas if regional limits would be violated. Validates
requirements for all pools, logging, and cluster infrastructure (floating IPs,
external IPs for pools with is_public_ipv4, load balancers, security groups).
Use before cluster creation to validate resource availability.
POST
/
cloud
/
v2
/
k8s
/
clusters
/
{project_id}
/
{region_id}
/
check_limits
Check cluster quota
curl --request POST \
--url https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"pools": [
{
"flavor_id": "bm2-hf-medium",
"min_node_count": 1,
"name": "test"
}
],
"fixed_network": "<string>",
"logging": {
"destination_region_id": 1,
"enabled": true,
"topic_name": "my-log-name"
}
}
'import requests
url = "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits"
payload = {
"pools": [
{
"flavor_id": "bm2-hf-medium",
"min_node_count": 1,
"name": "test"
}
],
"fixed_network": "<string>",
"logging": {
"destination_region_id": 1,
"enabled": True,
"topic_name": "my-log-name"
}
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
pools: [{flavor_id: 'bm2-hf-medium', min_node_count: 1, name: 'test'}],
fixed_network: '<string>',
logging: {destination_region_id: 1, enabled: true, topic_name: 'my-log-name'}
})
};
fetch('https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'pools' => [
[
'flavor_id' => 'bm2-hf-medium',
'min_node_count' => 1,
'name' => 'test'
]
],
'fixed_network' => '<string>',
'logging' => [
'destination_region_id' => 1,
'enabled' => true,
'topic_name' => 'my-log-name'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits"
payload := strings.NewReader("{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gcore.com/cloud/v2/k8s/clusters/{project_id}/{region_id}/check_limits")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"pools\": [\n {\n \"flavor_id\": \"bm2-hf-medium\",\n \"min_node_count\": 1,\n \"name\": \"test\"\n }\n ],\n \"fixed_network\": \"<string>\",\n \"logging\": {\n \"destination_region_id\": 1,\n \"enabled\": true,\n \"topic_name\": \"my-log-name\"\n }\n}"
response = http.request(request)
puts response.read_body{
"baremetal_gpu_a100_count_limit": 5,
"baremetal_gpu_a100_count_requested": 10,
"baremetal_gpu_a100_count_usage": 3,
"baremetal_gpu_b200_count_limit": 5,
"baremetal_gpu_b200_count_requested": 10,
"baremetal_gpu_b200_count_usage": 3,
"baremetal_gpu_h100_count_limit": 5,
"baremetal_gpu_h100_count_requested": 10,
"baremetal_gpu_h100_count_usage": 3,
"baremetal_gpu_h200_count_limit": 5,
"baremetal_gpu_h200_count_requested": 10,
"baremetal_gpu_h200_count_usage": 3,
"baremetal_gpu_l40s_count_limit": 5,
"baremetal_gpu_l40s_count_requested": 10,
"baremetal_gpu_l40s_count_usage": 3,
"baremetal_hf_count_limit": 5,
"baremetal_hf_count_requested": 10,
"baremetal_hf_count_usage": 3,
"cluster_count_limit": 5,
"cluster_count_requested": 6,
"cluster_count_usage": 4,
"cpu_count_limit": 10,
"cpu_count_requested": 20,
"cpu_count_usage": 5,
"external_ip_count_limit": 5,
"external_ip_count_requested": 6,
"external_ip_count_usage": 4,
"firewall_count_limit": 5,
"firewall_count_requested": 6,
"firewall_count_usage": 4,
"floating_count_limit": 5,
"floating_count_requested": 6,
"floating_count_usage": 4,
"gpu_count_limit": 4,
"gpu_count_requested": 8,
"gpu_count_usage": 2,
"gpu_virtual_a100_count_limit": 4,
"gpu_virtual_a100_count_requested": 8,
"gpu_virtual_a100_count_usage": 2,
"gpu_virtual_h100_count_limit": 4,
"gpu_virtual_h100_count_requested": 8,
"gpu_virtual_h100_count_usage": 2,
"gpu_virtual_h200_count_limit": 4,
"gpu_virtual_h200_count_requested": 8,
"gpu_virtual_h200_count_usage": 2,
"gpu_virtual_l40s_count_limit": 4,
"gpu_virtual_l40s_count_requested": 8,
"gpu_virtual_l40s_count_usage": 2,
"laas_topic_count_limit": 5,
"laas_topic_count_requested": 6,
"laas_topic_count_usage": 4,
"loadbalancer_count_limit": 5,
"loadbalancer_count_requested": 6,
"loadbalancer_count_usage": 4,
"ram_limit": 20480,
"ram_requested": 40960,
"ram_usage": 10240,
"servergroup_count_limit": 5,
"servergroup_count_requested": 10,
"servergroup_count_usage": 3,
"vm_count_limit": 5,
"vm_count_requested": 10,
"vm_count_usage": 3,
"volume_count_limit": 5,
"volume_count_requested": 10,
"volume_count_usage": 3,
"volume_size_limit": 400,
"volume_size_requested": 800,
"volume_size_usage": 200
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}{
"detail": "<string>",
"exception_class": "<string>",
"hint": "<string>",
"message": "<string>",
"request_id": "<string>",
"status": 123,
"title": "<string>",
"trace_id": "<string>",
"type": "internal-server-error",
"context": {
"allowed_methods": [
"<string>"
],
"blocking_count": 123,
"blocking_resources": [
{
"resource_id": "<string>",
"resource_type": "<string>",
"resource_name": "<string>"
}
],
"client_id": 123,
"operation": "<string>",
"project_id": 123,
"quotas": [
{
"available": 123,
"limit": 123,
"name": "<string>",
"overflow": 123,
"region_id": 123,
"requested": 123,
"resulting_usage": 123,
"scope": "global",
"unit": "<string>",
"usage": 123
}
],
"reason": "account",
"region_id": 123,
"resource_id": "<string>",
"resource_status": "<string>",
"resource_type": "<string>",
"retry_after": 123
},
"errors": [
{
"code": "<string>",
"detail": "<string>",
"loc": [
"<string>"
],
"ctx": {}
}
],
"info": null,
"invalid_fields": null
}Authorizations
Path Parameters
Body
application/json
Response
OK
Response schema for K8s cluster quota check.
Returns quota fields that are exceeded. Fields are only included when regional limits would be violated. Empty response means no quotas exceeded.
Was this page helpful?