- About Veeam Plug-in for Nutanix AHV REST API
- Overview
- Changelog
- Authorization
- Backup Appliance Settings
- Backup Server
- Prism Centrals
- Clusters
- getGet Collection of Clusters
- getGet Cluster Data
- getGet Collection of Virtual Machines
- postInfrastructure Rescan for Virtual Machines
- getGet Virtual Machine Data
- getGet Collection of Protection Domains
- postInfrastructure Rescan for Protection Domains
- getGet Collection of Networks
- getGet Collection of Storage Containers
- getGet Collection of Cluster Hosts
- getGet Collection of Volume Groups in Cluster
- getGet Volume Group Data
- postInfrastructure Rescan for Volume Groups
- postCluster Rescan for Snapshots
- Dashboard
- getGet Resource Usage Statistics
- getGet Session Status Statistics for Last 24 Hours
- getGet Job Type Statistics
- getGet Number of Protected VMs
- getGet Collection of Unprotected VMs
- getGet Collection of Protected VMs
- getGet Collection of Recent Job Sessions Duration
- getGet Collection of Available Backup Repositories
- Jobs
- Monitoring
- Protected VMs
- Restore Points
- getGet VM Restore Points
- getGet Restore Point Data
- delDelete Restore Point
- getGet Protection Domain Snapshot Data
- getGet Backup Snapshot Data
- getGet User Snapshot Data
- getGet Backup Data
- postPerform VM Restore
- postPerform Disk Restore
- getGet Collection of Disks From Restore Point
- getGet Collection of Network Adapters From Restore Point
- Sessions
- SMTP Account
- Time Zones
- User Accounts
- Workers
- Virtual Machines
The /restorePoints
resource collection represents all restore points created for VMs and PDs with Veeam Backup for Nutanix AHV.
Get VM Restore Points
The HTTP GET request to the /restorePoints
endpoint retrieves a list of all restore points of a VM in Veeam Backup for Nutanix AHV.
query Parameters
clusterId | string or null ID assigned to a cluster in the Nutanix AHV environment. |
vmId | string or null ID assigned to a protected VM in the Nutanix AHV environment. |
offset | integer <int32> >= 0 Default: 0 Excludes from a response the first N items of a resource collection. |
limit | integer <int32> >= -1 Default: 100 Specifies the maximum number of items of a resource collection to return in a response. |
write-only | Array of objects or null (FilterParameter) Specifies the criteria for items to be returned in a response. For more information, see the Veeam Backup for Nutanix AHV REST API Reference Overview, section Filter Parameters. |
write-only | Array of objects or null (SortParameter) Specifies the order of items in the response. For more information, see the Veeam Backup for Nutanix AHV REST API Reference Overview, section Sort Parameters. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "results": [
- {
- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string"
}
]
}
Get Restore Point Data
The HTTP GET request to the /restorePoints/{id}
endpoint retrieves information on a restore point with the specified ID.
path Parameters
id required | string System ID assigned to a restore point in Veeam Backup and Replication. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string"
}
Delete Restore Point
The HTTP DELETE request to the /restorePoints/{id}/delete
endpoint deletes a restore point with the specified ID.
path Parameters
id required | string System ID assigned to a restore point in Veeam Backup and Replication. |
query Parameters
deleteFromServer | boolean Default: false Defines whether backup files will be deleted from backup repositories. |
No Content
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 400
- 401
- 403
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}
Get Protection Domain Snapshot Data
The HTTP GET request to the /restorePoints/protectionDomainSnapshots/{id}
endpoint retrieves information on a protection domain snapshot with the specified ID.
path Parameters
id required | string System ID assigned to a protection domain snapshot in Nutanix AHV environment. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string",
- "snapshotId": "string",
- "pdName": "string",
- "vmIds": [
- "string"
]
}
Get Backup Snapshot Data
The HTTP GET request to the /restorePoints/backupSnapshots/{id}
endpoint retrieves information on a backup snapshot with the specified ID.
path Parameters
id required | string System ID assigned to a backup snapshot in Veeam Backup and Replication. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string",
- "snapshotName": "string",
- "snapshotType": "Unknown",
- "vmId": "string"
}
Get User Snapshot Data
The HTTP GET request to the /restorePoints/userSnapshots/{id}
endpoint retrieves information on a user snapshot with the specified ID.
path Parameters
id required | string System ID assigned to a user snapshot in Nutanix AHV environment. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string",
- "snapshotName": "string",
- "vmId": "string"
}
Get Backup Data
The HTTP GET request to the /restorePoints/backups/{id}
endpoint retrieves information on a backup with the specified ID.
path Parameters
id required | string System ID assigned to a restore point in Veeam Backup and Replication. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "string",
- "type": "Unknown",
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobId": "string",
- "jobName": "string",
- "isCorrupted": true,
- "backupSnapshotId": "string",
- "vmId": "string",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f"
}
Perform VM Restore
The HTTP POST request to the /restorePoints/restore
endpoint performs restore of an entire VM from a restore point.
Request Body schema: application/jsonrequired
sourceVmId required | string ID assigned to the source VM that is being restored. |
restorePointId required | string System ID assigned to the restore point in Veeam Backup and Replication. |
targetVmClusterId | string or null ID assigned to a cluster where the restored VM will reside. |
targetVmName | string or null New name of the restored VM. |
restoreToOriginal | boolean Defines whether the VM will be restored to the original location. |
storageContainerId | string or null ID assigned to a storage container assigned in the Nutanix AHV environment. |
Array of objects or null (NetworkAdapterRemap) Network adapter configuration of the restored VM. | |
powerOnVmAfterRestore | boolean Defines whether the VM will be powered on after restore. |
disconnectNetworksAfterRestore | boolean Defines whether all network adapters will be disconnected from their networks after restore. |
reason | string or null Reason for restore. |
restoreVmCategories | boolean Defines whether VM categories will be restored. |
Accepted
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourceVmId": "string",
- "targetVmClusterId": "string",
- "targetVmName": "string",
- "restoreToOriginal": true,
- "restorePointId": "string",
- "storageContainerId": "string",
- "networkAdapters": [
- {
- "macAddress": "string",
- "value": {
- "networkId": "string",
- "ipAddresses": [
- "string"
], - "macAddress": "string"
}
}
], - "powerOnVmAfterRestore": true,
- "disconnectNetworksAfterRestore": true,
- "reason": "string",
- "restoreVmCategories": true
}
- 202
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Perform Disk Restore
The HTTP POST request to the /restorePoints/diskRestore endpoint performs restore of disks using the specified restore settings.
Request Body schema: application/jsonrequired
sourceVmId required | string ID of a source VM to restore from. |
targetVmId required | string ID of a target VM to restore to. |
restorePointId required | string System ID assigned to the restore point in Veeam Backup and Replication. |
required | Array of objects (DiskSettingsForRestore) List of disk settings to restore (used only for disk restore) |
targetVmClusterId | string or null ID of a target Cluster to restore to. |
powerOnVmAfterRestore | boolean Defines whether the VM will be powered on after restore. |
reason | string or null Reason for restore. |
Accepted
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sourceVmId": "string",
- "targetVmId": "string",
- "targetVmClusterId": "string",
- "restorePointId": "string",
- "diskSettings": [
- {
- "diskId": "string",
- "busType": "Unknown",
- "index": 0,
- "storageContainerId": "string"
}
], - "powerOnVmAfterRestore": true,
- "reason": "string"
}
- 202
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Get Collection of Disks From Restore Point
The HTTP GET request to the /restorePoints/{id}/disks
endpoint retrieves a list of disks from the specified VM restore point.
path Parameters
id required | string System ID assigned to a restore point in Veeam Backup and Replication. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
[- {
- "id": "string",
- "busType": "Unknown",
- "index": 0,
- "diskLabel": "string",
- "isCdrom": true,
- "isVolumeGroup": true,
- "size": 0,
- "storageContainerId": "string",
- "storageContainerName": "string"
}
]
Get Collection of Network Adapters From Restore Point
The HTTP GET request to the /restorePoints/{id}/networkAdapters
endpoint retrieves a list of network adapters from metadata of a restore point with the specified ID. The information can be provided for backups and backup snapshot only.
path Parameters
id required | string System ID assigned to a restore point in Veeam Backup and Replication. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
[- {
- "id": "string",
- "networkId": "string",
- "networkName": "string",
- "ipAddresses": [
- "string"
], - "macAddress": "string"
}
]