Vmware Virtual Machine
Operations Summary
| Method | Endpoint | Description |
|---|---|---|
| Core CRUD | ||
| GET | /api/vmware-virtual-machine/ |
List Vmware Virtual Machine |
| GET | /api/vmware-virtual-machine/{uuid}/ |
Retrieve |
| POST | /api/vmware-virtual-machine/ |
Create |
| POST | /api/vmware-virtual-machine/{uuid}/create_disk/ |
Create disk |
| POST | /api/vmware-virtual-machine/{uuid}/create_port/ |
Create port |
| POST | /api/vmware-virtual-machine/{uuid}/pull/ |
Synchronize resource state |
| POST | /api/vmware-virtual-machine/{uuid}/unlink/ |
Unlink resource |
| PUT | /api/vmware-virtual-machine/{uuid}/ |
Update |
| PATCH | /api/vmware-virtual-machine/{uuid}/ |
Partial Update |
| DELETE | /api/vmware-virtual-machine/{uuid}/ |
Delete |
| Other Actions | ||
| GET | /api/vmware-virtual-machine/{uuid}/console/ |
This endpoint provides access to Virtual Machine Remote Console aka VMRC |
| GET | /api/vmware-virtual-machine/{uuid}/web_console/ |
This endpoint provides access to HTML Console aka WMKS |
| POST | /api/vmware-virtual-machine/{uuid}/reboot_guest/ |
Reboot guest |
| POST | /api/vmware-virtual-machine/{uuid}/reset/ |
Reset |
| POST | /api/vmware-virtual-machine/{uuid}/shutdown_guest/ |
Shutdown guest |
| POST | /api/vmware-virtual-machine/{uuid}/start/ |
Start |
| POST | /api/vmware-virtual-machine/{uuid}/stop/ |
Stop |
| POST | /api/vmware-virtual-machine/{uuid}/suspend/ |
Suspend |
Core CRUD
List Vmware Virtual Machine
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 | |
- API Source:
vmware_virtual_machine_list
1 2 3 4 5 6 7 8 9 10 | |
| Name | Type | Description |
|---|---|---|
backend_id |
string | |
can_manage |
boolean | Can manage |
customer |
string (uuid) | |
customer_abbreviation |
string | |
customer_name |
string | |
customer_native_name |
string | |
customer_uuid |
string (uuid) | |
description |
string | |
external_ip |
string | |
field |
array | |
name |
string | |
name_exact |
string | |
page |
integer | A page number within the paginated result set. |
page_size |
integer | Number of results to return per page. |
project |
string (uuid) | |
project_name |
string | |
project_uuid |
string (uuid) | |
runtime_state |
string | |
service_settings_name |
string | |
service_settings_uuid |
string (uuid) | |
state |
array | |
uuid |
string (uuid) |
200 -
The response body is an array of objects, where each object has the following structure:
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
guest_os |
any | |
guest_os_name |
string | |
cores |
integer | Number of cores in a VM |
cores_per_socket |
integer | Number of cores per socket in a VM |
ram |
integer | Memory size in MiB |
disk |
integer | Disk size in MiB |
disks |
array of objects | |
disks.url |
string (uri) | |
disks.uuid |
string (uuid) | |
disks.size |
integer | Size in MiB |
runtime_state |
string | |
cluster |
string (uri) | |
datastore |
string (uri) | |
folder |
string (uri) | |
template_name |
string | |
cluster_name |
string | |
datastore_name |
string | |
folder_name |
string | |
ports |
array of objects | |
ports.url |
string (uri) | |
ports.uuid |
string (uuid) | |
ports.name |
string | |
ports.mac_address |
string | |
ports.network |
string (uri) | |
guest_power_state |
any | |
tools_state |
string | |
tools_installed |
boolean | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Retrieve
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Name | Type |
|---|---|
field |
array |
200 -
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
guest_os |
any | |
guest_os_name |
string | |
cores |
integer | Number of cores in a VM |
cores_per_socket |
integer | Number of cores per socket in a VM |
ram |
integer | Memory size in MiB |
disk |
integer | Disk size in MiB |
disks |
array of objects | |
disks.url |
string (uri) | |
disks.uuid |
string (uuid) | |
disks.size |
integer | Size in MiB |
runtime_state |
string | |
cluster |
string (uri) | |
datastore |
string (uri) | |
folder |
string (uri) | |
template_name |
string | |
cluster_name |
string | |
datastore_name |
string | |
folder_name |
string | |
ports |
array of objects | |
ports.url |
string (uri) | |
ports.uuid |
string (uuid) | |
ports.name |
string | |
ports.mac_address |
string | |
ports.network |
string (uri) | |
guest_power_state |
any | |
tools_state |
string | |
tools_installed |
boolean | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Create
1 2 3 4 5 6 7 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
- Model Source:
VmwareVirtualMachineRequest - API Source:
vmware_virtual_machine_create
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | |
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | ✓ | |
description |
string | ||
service_settings |
string (uri) | ✓ | |
project |
string (uri) | ✓ | |
guest_os |
any | ||
cores |
integer | Number of cores in a VM | |
cores_per_socket |
integer | Number of cores per socket in a VM | |
ram |
integer | Memory size in MiB | |
template |
string (uri) | Constraints: write-only |
|
cluster |
string (uri) | ||
networks |
array of objects | Constraints: write-only |
|
networks.url |
string (uri) | ✓ | |
datastore |
string (uri) | ||
folder |
string (uri) |
201 -
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
guest_os |
any | |
guest_os_name |
string | |
cores |
integer | Number of cores in a VM |
cores_per_socket |
integer | Number of cores per socket in a VM |
ram |
integer | Memory size in MiB |
disk |
integer | Disk size in MiB |
disks |
array of objects | |
disks.url |
string (uri) | |
disks.uuid |
string (uuid) | |
disks.size |
integer | Size in MiB |
runtime_state |
string | |
cluster |
string (uri) | |
datastore |
string (uri) | |
folder |
string (uri) | |
template_name |
string | |
cluster_name |
string | |
datastore_name |
string | |
folder_name |
string | |
ports |
array of objects | |
ports.url |
string (uri) | |
ports.uuid |
string (uuid) | |
ports.name |
string | |
ports.mac_address |
string | |
ports.network |
string (uri) | |
guest_power_state |
any | |
tools_state |
string | |
tools_installed |
boolean | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Create disk
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
VmwareDiskRequest - API Source:
vmware_virtual_machine_create_disk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
description |
string | ||
size |
integer | ✓ | Size in MiB |
200 -
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
size |
integer | Size in MiB |
vm |
string (uri) | |
vm_uuid |
string (uuid) | |
vm_name |
string | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Create port
1 2 3 4 5 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
- Model Source:
VmwarePortRequest - API Source:
vmware_virtual_machine_create_port
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required |
|---|---|---|
description |
string | |
network |
string (uri) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
uuid |
string (uuid) |
name |
string |
description |
string |
service_name |
string |
service_settings |
string (uri) |
service_settings_uuid |
string (uuid) |
service_settings_state |
string |
service_settings_error_message |
string |
project |
string (uri) |
project_name |
string |
project_uuid |
string (uuid) |
customer |
string (uri) |
customer_uuid |
string (uuid) |
customer_name |
string |
customer_native_name |
string |
customer_abbreviation |
string |
error_message |
string |
error_traceback |
string |
resource_type |
string |
state |
any |
created |
string (date-time) |
modified |
string (date-time) |
backend_id |
string |
access_url |
string |
mac_address |
string |
vm |
string (uri) |
vm_uuid |
string (uuid) |
vm_name |
string |
network |
string (uri) |
network_name |
string |
marketplace_offering_uuid |
string |
marketplace_offering_name |
string |
marketplace_offering_plugin_options |
object (free-form) |
marketplace_category_uuid |
string |
marketplace_category_name |
string |
marketplace_resource_uuid |
string |
marketplace_plan_uuid |
string |
marketplace_resource_state |
string |
is_usage_based |
boolean |
is_limit_based |
boolean |
Synchronize resource state
Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_pull
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
202 - No response body
409 - No response body
Unlink resource
Delete resource from the database without scheduling operations on backend and without checking current state of the resource. It is intended to be used for removing resource stuck in transitioning state.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_unlink
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Update
1 2 3 4 5 6 7 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | |
- Model Source:
VmwareVirtualMachineRequest - API Source:
vmware_virtual_machine_update
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | ✓ | |
description |
string | ||
service_settings |
string (uri) | ✓ | |
project |
string (uri) | ✓ | |
guest_os |
any | ||
cores |
integer | Number of cores in a VM | |
cores_per_socket |
integer | Number of cores per socket in a VM | |
ram |
integer | Memory size in MiB | |
template |
string (uri) | Constraints: write-only |
|
cluster |
string (uri) | ||
networks |
array of objects | Constraints: write-only |
|
networks.url |
string (uri) | ✓ | |
datastore |
string (uri) | ||
folder |
string (uri) |
200 -
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
guest_os |
any | |
guest_os_name |
string | |
cores |
integer | Number of cores in a VM |
cores_per_socket |
integer | Number of cores per socket in a VM |
ram |
integer | Memory size in MiB |
disk |
integer | Disk size in MiB |
disks |
array of objects | |
disks.url |
string (uri) | |
disks.uuid |
string (uuid) | |
disks.size |
integer | Size in MiB |
runtime_state |
string | |
cluster |
string (uri) | |
datastore |
string (uri) | |
folder |
string (uri) | |
template_name |
string | |
cluster_name |
string | |
datastore_name |
string | |
folder_name |
string | |
ports |
array of objects | |
ports.url |
string (uri) | |
ports.uuid |
string (uuid) | |
ports.name |
string | |
ports.mac_address |
string | |
ports.network |
string (uri) | |
guest_power_state |
any | |
tools_state |
string | |
tools_installed |
boolean | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Partial Update
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
- Model Source:
PatchedVmwareVirtualMachineRequest - API Source:
vmware_virtual_machine_partial_update
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
| Field | Type | Required | Description |
|---|---|---|---|
description |
string | ||
cores |
integer | Number of cores in a VM | |
cores_per_socket |
integer | Number of cores per socket in a VM | |
ram |
integer | Memory size in MiB |
200 -
| Field | Type | Description |
|---|---|---|
url |
string (uri) | |
uuid |
string (uuid) | |
name |
string | |
description |
string | |
service_name |
string | |
service_settings |
string (uri) | |
service_settings_uuid |
string (uuid) | |
service_settings_state |
string | |
service_settings_error_message |
string | |
project |
string (uri) | |
project_name |
string | |
project_uuid |
string (uuid) | |
customer |
string (uri) | |
customer_uuid |
string (uuid) | |
customer_name |
string | |
customer_native_name |
string | |
customer_abbreviation |
string | |
error_message |
string | |
error_traceback |
string | |
resource_type |
string | |
state |
any | |
created |
string (date-time) | |
modified |
string (date-time) | |
backend_id |
string | |
access_url |
string | |
guest_os |
any | |
guest_os_name |
string | |
cores |
integer | Number of cores in a VM |
cores_per_socket |
integer | Number of cores per socket in a VM |
ram |
integer | Memory size in MiB |
disk |
integer | Disk size in MiB |
disks |
array of objects | |
disks.url |
string (uri) | |
disks.uuid |
string (uuid) | |
disks.size |
integer | Size in MiB |
runtime_state |
string | |
cluster |
string (uri) | |
datastore |
string (uri) | |
folder |
string (uri) | |
template_name |
string | |
cluster_name |
string | |
datastore_name |
string | |
folder_name |
string | |
ports |
array of objects | |
ports.url |
string (uri) | |
ports.uuid |
string (uuid) | |
ports.name |
string | |
ports.mac_address |
string | |
ports.network |
string (uri) | |
guest_power_state |
any | |
tools_state |
string | |
tools_installed |
boolean | |
marketplace_offering_uuid |
string | |
marketplace_offering_name |
string | |
marketplace_offering_plugin_options |
object (free-form) | |
marketplace_category_uuid |
string | |
marketplace_category_name |
string | |
marketplace_resource_uuid |
string | |
marketplace_plan_uuid |
string | |
marketplace_resource_state |
string | |
is_usage_based |
boolean | |
is_limit_based |
boolean |
Delete
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_destroy
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
204 - No response body
Other Actions
This endpoint provides access to Virtual Machine Remote Console aka VMRC
This endpoint provides access to Virtual Machine Remote Console aka VMRC.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_console_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
This endpoint provides access to HTML Console aka WMKS
This endpoint provides access to HTML Console aka WMKS.
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_web_console_retrieve
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 -
| Field | Type |
|---|---|
url |
string (uri) |
Reboot guest
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_reboot_guest
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body
Reset
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_reset
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body
Shutdown guest
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_shutdown_guest
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body
Start
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_start
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body
Stop
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_stop
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body
Suspend
1 2 3 4 | |
1 2 3 4 5 6 7 8 9 10 11 12 | |
- API Source:
vmware_virtual_machine_suspend
1 2 3 4 5 6 7 8 9 10 11 12 13 | |
| Name | Type | Required |
|---|---|---|
uuid |
string (uuid) | ✓ |
200 - No response body