The API allows you to list, view, edit and create virtual machines.
Returns list of virtual machines filtered by specified query parameters.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| authentication-domain | query | no | ||
| backupStatus | query | "IS_PROTECTED" or "NOT_PROTECTED" or "NO_SCHEDULE" | yes | |
| data-center | query | no | ||
| detailed | query | required boolean | no | |
| direction | query | no | ||
| filter | query | no | ||
| guids | query | yes | ||
| hypervisor | query | no | ||
| hypervisor-cluster | query | no | ||
| hypervisor-manager | query | no | ||
| hypervisor-manager-type | query | "AWS" or "AZURE" or "FAKE_HVM" or "FUSIONCOMPUTE" or "GCP" or "HC3" or "HYPERV" or "KUBERNETES" or "NUTANIX" or "NUTANIX_V4" or "OPENNEBULA" or "OPENSHIFT" or "OPENSTACK" or "ORACLE" or "RHEV" or "RHV" or "VCENTER" or "VERGE" or "VIRTUOZZO" or "ZADARA" | yes | |
| hypervisor-type | query | "CITRIX" or "ESXI" or "FAKE_HV" or "HYPERV" or "KUBERNETES" or "KVM" or "NUTANIX" or "OPENSHIFT" or "OVM" or "PROXMOX" or "VERGE" or "XEN" | yes | |
| nameLike | query | no | ||
| nodeConfig | query | no | ||
| orderBy | query | no | ||
| page | query | no | ||
| present | query | boolean | no | |
| project-uuid | query | no | ||
| provider-type | query | yes | ||
| size | query | no | ||
| snapshotPolicy | query | no | ||
| snapshotable | query | boolean | no | |
| uuid | query | no | ||
| uuids | query | yes | ||
| virtual-provider | query | no | ||
| vmPolicy | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineListRecord (JSON) | list of virtual machines filtered by specified query parameters |
GET /virtual-machines
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
} ]
Remove all virtual machines that are not present and without any backup.
| name | type | description |
|---|---|---|
| project-uuid | query | specify project UUID to delete not present vms in project |
DELETE /virtual-machines/all-non-present
Content-Type: */*
...
HTTP/1.1 204 No Content
Assign virtual machines to specified policy (or unassign if policy is null)
| media type | data type | description |
|---|---|---|
| application/json | ProtectedEntityBackupPolicyAssignmentRequest (JSON) | containing policy and vms info |
POST /virtual-machines/assign-backup-policy
Content-Type: application/json
{ }
HTTP/1.1 201 Created
Returns list of protected entities for backup cleanup.
| name | type | description | constraints |
|---|---|---|---|
| backup-destination | query | ||
| page | query | int | |
| size | query | int |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineListRecord (JSON) | list of protected entities for backup cleanup |
GET /virtual-machines/backup-cleanup
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
} ]
Returns detailed list of virtual machines filtered by specified query parameters.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| authentication-domain | query | no | ||
| backupStatus | query | "IS_PROTECTED" or "NOT_PROTECTED" or "NO_SCHEDULE" | yes | |
| data-center | query | no | ||
| detailed | query | required boolean | no | |
| direction | query | no | ||
| filter | query | no | ||
| guids | query | yes | ||
| hypervisor | query | no | ||
| hypervisor-cluster | query | no | ||
| hypervisor-manager | query | no | ||
| hypervisor-manager-type | query | "AWS" or "AZURE" or "FAKE_HVM" or "FUSIONCOMPUTE" or "GCP" or "HC3" or "HYPERV" or "KUBERNETES" or "NUTANIX" or "NUTANIX_V4" or "OPENNEBULA" or "OPENSHIFT" or "OPENSTACK" or "ORACLE" or "RHEV" or "RHV" or "VCENTER" or "VERGE" or "VIRTUOZZO" or "ZADARA" | yes | |
| hypervisor-type | query | "CITRIX" or "ESXI" or "FAKE_HV" or "HYPERV" or "KUBERNETES" or "KVM" or "NUTANIX" or "OPENSHIFT" or "OVM" or "PROXMOX" or "VERGE" or "XEN" | yes | |
| nameLike | query | no | ||
| nodeConfig | query | no | ||
| orderBy | query | no | ||
| page | query | no | ||
| present | query | boolean | no | |
| project-uuid | query | no | ||
| provider-type | query | yes | ||
| size | query | no | ||
| snapshotPolicy | query | no | ||
| snapshotable | query | boolean | no | |
| uuid | query | no | ||
| uuids | query | yes | ||
| virtual-provider | query | no | ||
| vmPolicy | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineDetails (JSON) | detailed list of virtual machines filtered by specified query parameters |
GET /virtual-machines/detailed
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
} ]
| media type | data type |
|---|---|
| application/json | VirtualMachinePostQueryParameters (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineListRecord (JSON) |
POST /virtual-machines/details
Content-Type: application/json
Accept: application/json
{
"page" : "...",
"size" : "...",
"hypervisor" : "...",
"nameLike" : "...",
"filter" : "...",
"hypervisor-manager" : "...",
"orderBy" : "...",
"direction" : "...",
"virtual-provider" : "...",
"filterOrNameLike" : "...",
"hypervisor-cluster" : "...",
"orderRequestCorrect" : true,
"data-center" : "...",
"vmPolicy" : [ "...", "..." ],
"snapshotPolicy" : "...",
"snapshotable" : true,
"hypervisor-manager-type" : [ "VCENTER", "ORACLE" ],
"hypervisor-type" : [ "KUBERNETES", "PROXMOX" ],
"project-uuid" : "...",
"uuid" : "...",
"backupStatus" : [ "NO_SCHEDULE", "IS_PROTECTED" ],
"nodeConfig" : "...",
"present" : true,
"uuids" : [ "...", "..." ],
"virtualProviderTypes" : [ "...", "..." ],
"guids" : [ "...", "..." ],
"authentication-domain" : "...",
"detailed" : true
}
HTTP/1.1 201 Created
Content-Type: application/json
[ {
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
} ]
Returns detailed list of virtual machines filtered by specified query parameters.
| name | type | description | constraints | multivalued |
|---|---|---|---|---|
| authentication-domain | query | no | ||
| backupStatus | query | "IS_PROTECTED" or "NOT_PROTECTED" or "NO_SCHEDULE" | yes | |
| data-center | query | no | ||
| detailed | query | required boolean | no | |
| direction | query | no | ||
| filter | query | no | ||
| guids | query | yes | ||
| hypervisor | query | no | ||
| hypervisor-cluster | query | no | ||
| hypervisor-manager | query | no | ||
| hypervisor-manager-type | query | "AWS" or "AZURE" or "FAKE_HVM" or "FUSIONCOMPUTE" or "GCP" or "HC3" or "HYPERV" or "KUBERNETES" or "NUTANIX" or "NUTANIX_V4" or "OPENNEBULA" or "OPENSHIFT" or "OPENSTACK" or "ORACLE" or "RHEV" or "RHV" or "VCENTER" or "VERGE" or "VIRTUOZZO" or "ZADARA" | yes | |
| hypervisor-type | query | "CITRIX" or "ESXI" or "FAKE_HV" or "HYPERV" or "KUBERNETES" or "KVM" or "NUTANIX" or "OPENSHIFT" or "OVM" or "PROXMOX" or "VERGE" or "XEN" | yes | |
| nameLike | query | no | ||
| nodeConfig | query | no | ||
| orderBy | query | no | ||
| page | query | no | ||
| present | query | boolean | no | |
| project-uuid | query | no | ||
| provider-type | query | yes | ||
| size | query | no | ||
| snapshotPolicy | query | no | ||
| snapshotable | query | boolean | no | |
| uuid | query | no | ||
| uuids | query | yes | ||
| virtual-provider | query | no | ||
| vmPolicy | query | yes |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineIdentifierListRecord (JSON) | detailed list of virtual machines filtered by specified query parameters |
GET /virtual-machines/identifiers
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ { } ]
Get all virtual machines that are not able to proceed incremental backup.
| media type | data type |
|---|---|
| application/json | VirtualMachineList (JSON) |
| media type | data type | description |
|---|---|---|
| application/json | array of VirtualMachineAndIssuesDetails (JSON) |
POST /virtual-machines/incremental-not-possible
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 201 Created
Content-Type: application/json
[ { } ]
| name | type | description |
|---|---|---|
| direction | query | |
| filter | query | |
| name | query | |
| nameLike | query | |
| orderBy | query | |
| page | query | |
| size | query |
| media type | data type | description |
|---|---|---|
| application/json | array of ProtectedEntityPolicyAssignmentStatusRecord (JSON) |
GET /virtual-machines/policy-assignment-statuses
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ { } ]
Returns list of virtual machines filtered by specified query parameters.
| name | type | description | constraints |
|---|---|---|---|
| app-cmd-exec-config | query | ||
| cloud-service-provider | query | ||
| cluster | query | ||
| data-center | query | ||
| direction | query | ||
| filter | query | ||
| hypervisor | query | ||
| hypervisor-manager | query | ||
| nameLike | query | ||
| orderBy | query | ||
| page | query | ||
| project | query | ||
| size | query | ||
| storage-pool | query | ||
| storage-provider | query | ||
| teams-group | query | boolean |
| media type | data type | description |
|---|---|---|
| application/json | array of RbacContextListRecord (JSON) | list of virtual machines filtered by specified query parameters |
GET /virtual-machines/rbac-contexts
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
[ { } ]
Get a single virtual machine details.
| name | type | description |
|---|---|---|
| guid | path | specify local unique identifier for virtual machine (use by vProtect) |
| media type | data type | description |
|---|---|---|
| application/json | VirtualMachineDetails (JSON) | a single virtual machine details |
GET /virtual-machines/{guid}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
}
Change virtual machine settings.
| name | type | description |
|---|---|---|
| guid | path | specify local unique identifier for virtual machine (use by vProtect) |
| media type | data type | description |
|---|---|---|
| application/json | VirtualMachineSettingsUpdateRequest (JSON) | specify virtual machine details to update |
| media type | data type | description |
|---|---|---|
| application/json | VirtualMachineDetails (JSON) | updated details of virtual machine |
PUT /virtual-machines/{guid}/settings
Content-Type: application/json
Accept: application/json
{ }
HTTP/1.1 204 No Content
Content-Type: application/json
{
"guid" : "f8f73bf9-2445-4bce-a7dd-753be3b40a67",
"lastBackup" : 1451649601000
}