Create Instances
POST/backend/api/openstack/instances?page_size=10&page=1&tags=ssss,sadsds
Host: https://core.ocplanet.cloud
Create Instances. You can specify SSH key or password. Password required must contain different case, including numbers and special characters.
Request
- application/json
Body
- MOD1
- MOD1
- MOD2
boot_source objectrequired
cinder_az object
oneOf
string
create_new_volume boolean
delete_on_termination boolean
source_id stringrequired
source_type stringrequired
volume_size string
This value specified of GB.
client object
oneOf
string
integer
flavor uuidrequired
name stringrequired
nics string[]required
region stringrequired
tags string[]required
root_password stringrequired
ssh_keys string
Responses
- 201
- 400
- security
- description
- application/json
- Schema
- Example (from schema)
- Example
Schema
name stringrequired
flavor stringrequired
region stringrequired
availability_zone nullrequired
operation_id stringrequired
{
"name": "string",
"flavor": "string",
"region": "string",
"operation_id": "string"
}
{
"name": "Instance",
"flavor": "4d429bcd-252c-4522-9ed0-4a24d6d8249e",
"region": "ua-central-1",
"availability_zone": null,
"operation_id": "efdf23dd-c7d4-4630-8e8c-41e06cbfde4d"
}
- application/json
- Schema
- Example (from schema)
- Example
Schema
name string[]required
boot_source string[]required
flavor string[]required
region stringrequired
{
"name": [
"string"
],
"boot_source": [
"string"
],
"flavor": [
"string"
],
"region": "string"
}
{
"name": [
"This field is required."
],
"boot_source": [
"This field is required."
],
"flavor": [
"This field is required."
],
"region": [
"This field is required."
]
}
Loading...