CreateSite
VCS-site-1037 Create a site
Header Parameters
- x-extra-property-image string
The extra property of image
- x-extra-property-flavor string
The extra property of flavor
- x-extra-property-keypair string
Required when use linux os,choose at least one with x-extra-property-password
- x-extra-property-password string
Required when use windows os,choose at least one with x-extra-property-keypair
- x-extra-property-private-network string
The extra property of private-network
- x-extra-property-sg string
The extra property of security group
- x-extra-property-floating-ip string
Possible values: [
floating
,nofloating
]The extra property of floating-ip
- x-extra-property-volume-size integer
Volume Size
- x-extra-property-volume-type string
Possible values: [
hdd
,ssd
,LUKS-hdd
,LUKS-ssd
]Default value:
hdd
Volume Type
- x-extra-property-system-volume-size integer
System Volume Size
- x-extra-property-system-volume-type string
Possible values: [
local_disk
,block_storage-hdd
]Default value:
block_storage-hdd
System Volume Type
- x-extra-property-availability-zone string
Default value:
nova
The extra property of availability-zone
- x-api-host string required
Default value:
openstack-taichung-default-2
Authentication Required Parameters
- application/json
Request Body
body
- project integer required
- desc string
- solution integer required
- name string required
- 201
OK
- application/json
- Schema
- Example (from schema)
Schema
- callback string
- create_time date-time
- id int64
- name string
- platform string
- progress int64
- project int64
- public_ip string
- solution int64
- status string
Possible values: [
Unshelving
,Shelving
,Starting
,Ready
,Error
,Suspending
,Stopping
,Deleting
,NotReady
,Updating
,Resuming
,Deleted
,Initializing
,Queueing
] - is_preemptive boolean
user object
id stringdisplay_name stringusername stringemail stringservers object[]
Array [flavor_id int64id int64hostname stringstatus stringPossible values: [
MIGRATING
,ASSOCIATING
,DISASSOCIATING
,SUSPENDED
,REBOOT
,STOPPING
,SHUTOFF
,SHUTOFF
,STARTING
,RESIZE
,VERIFY_RESIZE
,REVERT_RESIZE
,ERROR
,DELETED
,SHELVING
,SHELVED_OFFLOADED
,QUEUEING
,SPAWNING
,null
]may be null
]- termination_protection boolean
{
"callback": "string",
"create_time": "2024-08-19",
"id": 0,
"name": "string",
"platform": "string",
"progress": 0,
"project": 0,
"public_ip": "string",
"solution": 0,
"status": "Unshelving",
"is_preemptive": true,
"user": {
"id": "string",
"display_name": "string",
"username": "string",
"email": "string"
},
"servers": [
{
"flavor_id": 0,
"id": 0,
"hostname": "string",
"status": "MIGRATING"
}
],
"termination_protection": true
}