Get Associate IP Create Options
GET/backend/api/openstack/instances/:instance_id/associate_ip_create_options
Host: https://core.ocplanet.cloud
Retrieve options for associating an IP with the specified instance. Through a GET request with create_options, data about the service options is obtained before ordering it. You can see what the characteristics may be. These options must be specified when using POST/PUT requests.
Request
Responses
- 200
- 404
- 409
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
ports object[]required
id stringrequired
fixed_ips object[]required
subnet_id stringrequired
ip_address stringrequired
created_at stringrequired
name stringrequired
description stringrequired
admin_state_up booleanrequired
device_id stringrequired
device_owner stringrequired
mac_address stringrequired
security_groups stringrequired
port_security_enabled booleanrequired
extra stringrequired
status stringrequired
network stringrequired
project stringrequired
free_ips object[]required
id uuidrequired
floating_network objectrequired
id string
name string
description string
region string
port nullstringrequired
router objectrequired
id stringrequired
name namerequired
associated_object nullrequired
floating_ip_address stringrequired
status stringrequired
description stringrequired
fixed_ip_address stringrequired
created_at stringrequired
updated_at stringrequired
project uuidrequired
{
"free_ips": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"floating_network": {
"id": "string",
"name": "string",
"description": "string",
"region": "string"
},
"router": {
"id": "string"
},
"floating_ip_address": "string",
"status": "string",
"description": "string",
"fixed_ip_address": "string",
"created_at": "string",
"updated_at": "string",
"project": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
}
{
"backups": [
{
"name": "cvbcvbvcbcbvb",
"id": "4747270d-61c9-4bb6-9b01-f6dd915f0560",
"backup_type": "manual",
"client_owned": true
}
],
"schedules": [
{
"id": 932763,
"instance": "1666a5a6-1ba1-43a4-ae4e-3d24d7015e98",
"backup_name": "gggggggggg",
"backup_type": "weekly",
"rotation": 1,
"hour": 5,
"day": 0,
"run_at": "2024-03-25T05:00:00.852674Z"
}
]
}
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail stringrequired
{
"detail": "string"
}
{
"detail": "No free floating IPs available"
}
- application/json
- Schema
- Example (from schema)
- Example
Schema
detail stringrequired
{
"detail": "string"
}
{
"detail": "No free ports available"
}
Loading...