Expand description
Creates a server.
The progress of this operation depends on the location of the requested image, network I/O, host load, selected flavor, and other factors.
To check the progress of the request, make a GET /servers/{id}
request.
This call returns a progress attribute, which is a percentage value from 0
to 100.
The Location
header returns the full URL to the newly created server and
is available as a self
and bookmark
link in the server representation.
When you create a server, the response shows only the server ID, its links,
and the admin password. You can get additional attributes through
subsequent GET
requests on the server.
Include the block_device_mapping_v2
parameter in the create request body
to boot a server from a volume.
Include the key_name
parameter in the create request body to add a
keypair to the server when you create it. To create a keypair, make a
create keypair
request.
Preconditions
Asynchronous postconditions
Troubleshooting
Normal response codes: 202
Error response codes: badRequest(400), unauthorized(401), forbidden(403), itemNotFound(404), conflict(409)
Structs§
- Block
Device Mapping - Block
Device Mapping Builder - Builder for
BlockDeviceMapping
. - Block
Device Mapping V2 - Block
Device Mapping V2Builder - Builder for
BlockDeviceMappingV2
. - Networks
- Networks
Builder - Builder for
Networks
. - OsSch
HntScheduler Hints - OsSch
HntScheduler Hints Builder - Builder for
OsSchHntSchedulerHints
. - OsScheduler
Hints - The dictionary of data to send to the scheduler. Alternatively, you can
specify
OS-SCH-HNT:scheduler_hints
as the key in the request body. - OsScheduler
Hints Builder - Builder for
OsSchedulerHints
. - Personality
- Personality
Builder - Builder for
Personality
. - Request
- Request
Builder - Builder for
Request
. - Security
Groups - Security
Groups Builder - Builder for
SecurityGroups
. - Server
- A
server
object. - Server
Builder - Builder for
Server
.
Enums§
- Block
Device Mapping Builder Error - Error type for BlockDeviceMappingBuilder
- Block
Device Mapping V2Builder Error - Error type for BlockDeviceMappingV2Builder
- Destination
Type - Networks
Builder Error - Error type for NetworksBuilder
- OsDcf
Disk Config - OsSch
HntScheduler Hints Builder Error - Error type for OsSchHntSchedulerHintsBuilder
- OsScheduler
Hints Builder Error - Error type for OsSchedulerHintsBuilder
- Personality
Builder Error - Error type for PersonalityBuilder
- Request
Builder Error - Error type for RequestBuilder
- Security
Groups Builder Error - Error type for SecurityGroupsBuilder
- Server
Builder Error - Error type for ServerBuilder
- Source
Type