Preview bare metal server price
curl --request POST \
--url https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"flavor_name": "g2-standard-4-8",
"region_id": 7,
"interfaces": [
{
"port_id": "<string>",
"floating_ip": {
"floating_ip_id": "<string>"
}
}
]
}
'import requests
url = "https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers"
payload = {
"flavor_name": "g2-standard-4-8",
"region_id": 7,
"interfaces": [
{
"port_id": "<string>",
"floating_ip": { "floating_ip_id": "<string>" }
}
]
}
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({
flavor_name: 'g2-standard-4-8',
region_id: 7,
interfaces: [{port_id: '<string>', floating_ip: {floating_ip_id: '<string>'}}]
})
};
fetch('https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers', 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/v1/projects/{project_id}/pricing/baremetal/servers",
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([
'flavor_name' => 'g2-standard-4-8',
'region_id' => 7,
'interfaces' => [
[
'port_id' => '<string>',
'floating_ip' => [
'floating_ip_id' => '<string>'
]
]
]
]),
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/v1/projects/{project_id}/pricing/baremetal/servers"
payload := strings.NewReader("{\n \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\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/v1/projects/{project_id}/pricing/baremetal/servers")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers")
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 \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"boot_volume": {
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"size": 20,
"type": "ssd_hiiops"
},
"currency": "USD",
"data_volumes": [
{
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"size": 20,
"type": "ssd_hiiops"
}
],
"egress_traffic": {
"discount_percent": 16.67,
"per_gb": 0.01,
"per_gb_before_discount": 0.012
},
"external_ips": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95
},
"flavor": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"name": "g2-standard-4-8"
},
"floating_ips": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95
},
"hourly": 0.0621,
"monthly": 44.71,
"monthly_before_discount": 48,
"tax_percent": 20
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}Pricing
Preview bare metal server price
Get the price of a bare metal server before you create it. Send the same body that you send to create a bare metal server. The API reads only the fields that change the price. The price includes the flavor, the ports and the floating IPs. It also includes the existing ports and floating IPs that you attach.
POST
/
cloud
/
v1
/
projects
/
{project_id}
/
pricing
/
baremetal
/
servers
Preview bare metal server price
curl --request POST \
--url https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"flavor_name": "g2-standard-4-8",
"region_id": 7,
"interfaces": [
{
"port_id": "<string>",
"floating_ip": {
"floating_ip_id": "<string>"
}
}
]
}
'import requests
url = "https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers"
payload = {
"flavor_name": "g2-standard-4-8",
"region_id": 7,
"interfaces": [
{
"port_id": "<string>",
"floating_ip": { "floating_ip_id": "<string>" }
}
]
}
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({
flavor_name: 'g2-standard-4-8',
region_id: 7,
interfaces: [{port_id: '<string>', floating_ip: {floating_ip_id: '<string>'}}]
})
};
fetch('https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers', 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/v1/projects/{project_id}/pricing/baremetal/servers",
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([
'flavor_name' => 'g2-standard-4-8',
'region_id' => 7,
'interfaces' => [
[
'port_id' => '<string>',
'floating_ip' => [
'floating_ip_id' => '<string>'
]
]
]
]),
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/v1/projects/{project_id}/pricing/baremetal/servers"
payload := strings.NewReader("{\n \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\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/v1/projects/{project_id}/pricing/baremetal/servers")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.gcore.com/cloud/v1/projects/{project_id}/pricing/baremetal/servers")
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 \"flavor_name\": \"g2-standard-4-8\",\n \"region_id\": 7,\n \"interfaces\": [\n {\n \"port_id\": \"<string>\",\n \"floating_ip\": {\n \"floating_ip_id\": \"<string>\"\n }\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"boot_volume": {
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"size": 20,
"type": "ssd_hiiops"
},
"currency": "USD",
"data_volumes": [
{
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"size": 20,
"type": "ssd_hiiops"
}
],
"egress_traffic": {
"discount_percent": 16.67,
"per_gb": 0.01,
"per_gb_before_discount": 0.012
},
"external_ips": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95
},
"flavor": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95,
"name": "g2-standard-4-8"
},
"floating_ips": {
"count": 1,
"discount_percent": 10,
"hourly": 0.0412,
"monthly": 29.66,
"monthly_before_discount": 32.95
},
"hourly": 0.0621,
"monthly": 44.71,
"monthly_before_discount": 48,
"tax_percent": 20
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}{
"detail": "<string>",
"hint": "<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": {}
}
]
}Authorizations
Body
application/json
The body of a basic VM or a bare metal server create, regular or workflow.
Response
Bare metal server price
Was this page helpful?