Virtual Machines
Lists IDs, names, and links for VMs. By default, VMs are filtered using the project ID associated with the authenticated request.
PCD Identity Service token authentication
Filters the response by a date and time stamp when the VM last changed status. Format: CCYY-MM-DDThh:mm:ss±hh:mm
Filters the response by a flavor UUID
Filters the response by an image UUID
An IPv4 address to filter results by
An IPv6 address to filter results by
Filters the response by a VM name
A reservation id as returned by a VMs multiple create call
Filters the response by a VM status
A list of tags to filter the VM list by. VMs that match all tags in this list will be returned. Tags must be separated by comma.
A list of tags to filter the VM list by. VMs that match any tag in this list will be returned. Tags must be separated by comma.
A list of tags to filter the VM list by. VMs that don't match all tags in this list will be returned. Tags must be separated by comma.
A list of tags to filter the VM list by. VMs that don't match any tags in this list will be returned. Tags must be separated by comma.
Requests a page size of items
The ID of the last-seen item for pagination
Sorts by a VM attribute
created_atPossible values: Sort direction
descPossible values: Filters the response by a date and time stamp when the VM last changed. Format: CCYY-MM-DDThh:mm:ss±hh:mm
Specify the locked status to filter VMs
Filter the VM list result by VM availability zone
Filter the VM list result by the config drive setting
Filter the VM list result by keypair name
Filter the VM list result by a date and time stamp when VM was created. Format: CCYY-MM-DDThh:mm:ss±hh:mm
Filter the VM list result by a date and time stamp when the instance was launched. Format: CCYY-MM-DDThh:mm:ss±hh:mm
Filter the VM list result by a date and time stamp when instance was terminated. Format: CCYY-MM-DDThh:mm:ss±hh:mm
Filter the list of VMs by the given user ID
Filter the VM list result by VM power state
Filter the VM list result by task state
Filter the VM list result by vm state
Filter the VM list result by the progress of the VM (0-100)
Filter the VM list result by the host name of VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Bad Request
Unauthorized
Forbidden
Creates a VM. The progress of this operation depends on various factors including image location, network I/O, host load, and selected flavor.
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+VM creation accepted
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
For each VM, shows VM details including config drive, extended status, and VM usage information.
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Bad Request
Unauthorized
Forbidden
Shows details for a VM, including configuration drive, extended status, and VM usage information.
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Unauthorized
Forbidden
Not Found
Updates the editable attributes of a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Bad Request
Unauthorized
Forbidden
Not Found
Deletes a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+VM deleted successfully
Unauthorized
Forbidden
Not Found
Conflict
No content
Lists all metadata for a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Updates metadata for a VM, merging with existing metadata
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Sets metadata for a VM, replacing all existing metadata
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Gets a specific metadata item for a VM
PCD Identity Service token authentication
The UUID of the VM
The metadata key
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Sets a specific metadata item for a VM
PCD Identity Service token authentication
The UUID of the VM
The metadata key
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Deletes a specific metadata item from a VM
PCD Identity Service token authentication
The UUID of the VM
The metadata key
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Metadata item deleted successfully
Metadata item deleted successfully
No content
Lists all tags for a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Replaces all tags for a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Deletes all tags from a VM
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+All tags deleted successfully
All tags deleted successfully
No content
Checks if a tag exists on a VM
PCD Identity Service token authentication
The UUID of the VM
The tag to add or remove
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Tag exists
Not Found
No content
Adds a single tag to a VM
PCD Identity Service token authentication
The UUID of the VM
The tag to add or remove
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Tag added successfully
Tag already exists
No content
Deletes a single tag from a VM
PCD Identity Service token authentication
The UUID of the VM
The tag to add or remove
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Tag deleted successfully
Tag deleted successfully
No content
Lists flavors with details
PCD Identity Service token authentication
Requests a page size of items
The ID of the last-seen item for pagination
Sorts by a flavor attribute
created_atPossible values: Sort direction
ascPossible values: Filters the response by a minimum disk space in GiB
Filters the response by a minimum RAM in MiB
Filters the response by whether the flavor is public or private
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists flavors with full details
PCD Identity Service token authentication
created_atPossible values: ascPossible values: Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Shows details for a flavor
PCD Identity Service token authentication
The UUID or name of the flavor
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Not Found
Lists keypairs that are associated with the project
PCD Identity Service token authentication
Filter the list by user ID (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Creates or imports a keypair
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Keypair created successfully
Keypair created successfully
Shows details for a keypair
PCD Identity Service token authentication
The name of the keypair
User ID for the keypair (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Deletes a keypair
PCD Identity Service token authentication
The name of the keypair
User ID for the keypair (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Keypair deletion accepted (for backward compatibility)
Keypair deleted successfully
No content
Shows rate and absolute limits for the project
PCD Identity Service token authentication
Project ID to get limits for (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists availability zones
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists availability zones with detailed information (admin only)
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists hypervisors (admin only)
PCD Identity Service token authentication
Filter hypervisors by hostname pattern
Include VMs running on each hypervisor
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists hypervisors with detailed information (admin only)
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Shows details for a hypervisor (admin only)
PCD Identity Service token authentication
The ID or UUID of the hypervisor
Include VMs running on the hypervisor
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Shows uptime for a hypervisor (admin only)
PCD Identity Service token authentication
The ID or UUID of the hypervisor
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Lists services (admin only)
PCD Identity Service token authentication
Filter services by host name
Filter services by binary name
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Updates a service (admin only)
PCD Identity Service token authentication
The UUID of the service
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Service updated successfully
Service updated successfully
Deletes a service (admin only)
PCD Identity Service token authentication
The UUID of the service
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Service deleted successfully
Service deleted successfully
No content
Lists host aggregates (admin only)
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Creates a host aggregate (admin only)
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Aggregate created successfully
Aggregate created successfully
Shows details for a host aggregate (admin only)
PCD Identity Service token authentication
The ID of the aggregate
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Updates a host aggregate (admin only)
PCD Identity Service token authentication
The ID of the aggregate
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Aggregate updated successfully
Aggregate updated successfully
Deletes a host aggregate (admin only)
PCD Identity Service token authentication
The ID of the aggregate
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Aggregate deleted successfully (for backward compatibility)
No content
Aggregate deleted successfully (for backward compatibility)
No content
Performs actions on a host aggregate (admin only)
PCD Identity Service token authentication
The ID of the aggregate
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Action performed successfully
Action performed successfully
Lists VM groups
PCD Identity Service token authentication
Shows VM groups for all projects (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Creates a VM group
PCD Identity Service token authentication
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+VM group created successfully
VM group created successfully
Shows details for a VM group
PCD Identity Service token authentication
The UUID of the VM group
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Deletes a VM group
PCD Identity Service token authentication
The UUID of the VM group
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+VM group deleted successfully
VM group deleted successfully
No content
Shows quotas for a project
PCD Identity Service token authentication
The UUID of the project
User ID to get quotas for (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Updates quotas for a project (admin only)
PCD Identity Service token authentication
The UUID of the project
User ID to update quotas for
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Quotas updated successfully
Quotas updated successfully
Reverts quotas for a project to default values (admin only)
PCD Identity Service token authentication
The UUID of the project
User ID to revert quotas for
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Quotas reverted successfully
Quotas reverted successfully
No content
Shows default quotas for a project
PCD Identity Service token authentication
The UUID of the project
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Shows quotas for a project with usage information
PCD Identity Service token authentication
The UUID of the project
User ID to get quotas for (admin only)
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Successful response
Successful response
Performs various actions on a VM such as reboot, rebuild, resize, etc.
PCD Identity Service token authentication
The UUID of the VM
Specifies the API microversion. Format: "compute X.Y" where X.Y is the microversion. If not specified, the minimum supported version (2.1) is used.
compute 2.96Pattern: ^compute \d+\.\d+Action performed successfully (may contain response data)
No content
Action accepted
Action performed successfully (no content)
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
No content
Last updated
Was this helpful?
