Skip to main content
POST
/
cloud
/
v1
/
reserved_fixed_ips
/
{project_id}
/
{region_id}
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
task_id_list = client.cloud.reserved_fixed_ips.create(
    project_id=0,
    region_id=0,
    type="external",
)
print(task_id_list.tasks)
{
  "tasks": [
    "d478ae29-dedc-4869-82f0-96104425f565"
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

project_id
integer
required
region_id
integer
required

Body

application/json
  • NewReservedFixedIpExternalSerializer
  • NewReservedFixedIpSpecificSubnetSerializer
  • NewReservedFixedIpAnySubnetSerializer
  • NewReservedFixedIpSpecificIpAddressSerializer
  • NewReservedFixedIpSpecificPortSerializer
type
string
required
Allowed value: "external"
ip_family
enum<string> | null
Available options:
dual,
ipv4,
ipv6
Examples:
is_vip
boolean
Examples:

Response

200 - application/json
tasks
string[]
required
Examples: