- 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 /clusters
resource collection represents all clusters connected to the backup server and VMs residing on those clusters.
Get Collection of Clusters
The HTTP GET request to the /clusters
endpoint retrieves information on clusters to which the backup appliance has access.
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",
- "prismCentralId": "string",
- "name": "string",
- "description": "string",
- "address": "string",
- "port": 65535,
- "state": "Unknown",
- "version": "string"
}
]
Get Cluster Data
The HTTP GET request to the /clusters/{id}
endpoint retrieves information on a cluster with the specified ID.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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",
- "prismCentralId": "string",
- "name": "string",
- "description": "string",
- "address": "string",
- "port": 65535,
- "state": "Unknown",
- "version": "string"
}
Get Collection of Virtual Machines
The HTTP GET request to the /virtualMachines
endpoint retrieves a list of all virtual machines residing on a specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
query Parameters
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 Parameter. |
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",
- "name": "string",
- "clusterId": "string",
- "clusterName": "string",
- "vmSize": 0,
- "volumeGroupSize": 0,
- "protectionDomain": "string",
- "consistencyGroup": "string",
- "categories": [
- "string"
], - "disks": [
- {
- "id": "string",
- "busType": "Unknown",
- "index": 0,
- "diskLabel": "string",
- "isCdrom": true,
- "isVolumeGroup": true,
- "size": 0,
- "storageContainerId": "string",
- "storageContainerName": "string"
}
], - "volumeGroups": [
- "string"
], - "networkAdapters": [
- {
- "id": "string",
- "networkId": "string",
- "networkName": "string",
- "ipAddresses": [
- "string"
], - "macAddress": "string"
}
], - "guestOsVersion": "string"
}
]
}
Infrastructure Rescan for Virtual Machines
The HTTP POST request to the /clusters/{id}/vms/refreshAsync
endpoint runs the infrastructure rescanning operation for virtual machines.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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.
- curl
- Python
- JavaScript
- C#
- Go
- 202
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Get Virtual Machine Data
The HTTP GET request to the /clusters/{id}/vms/{vmId}
endpoint retrieves information on a VM with the specified ID.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
vmId required | string Specifies the ID assigned to a VM that belongs to the specified cluster. |
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",
- "name": "string",
- "clusterId": "string",
- "clusterName": "string",
- "vmSize": 0,
- "volumeGroupSize": 0,
- "protectionDomain": "string",
- "consistencyGroup": "string",
- "categories": [
- "string"
], - "disks": [
- {
- "id": "string",
- "busType": "Unknown",
- "index": 0,
- "diskLabel": "string",
- "isCdrom": true,
- "isVolumeGroup": true,
- "size": 0,
- "storageContainerId": "string",
- "storageContainerName": "string"
}
], - "volumeGroups": [
- "string"
], - "networkAdapters": [
- {
- "id": "string",
- "networkId": "string",
- "networkName": "string",
- "ipAddresses": [
- "string"
], - "macAddress": "string"
}
], - "guestOsVersion": "string"
}
Get Collection of Protection Domains
The HTTP GET request to the /clusters/{id}/protectionDomains
endpoint retrieves a list of all protection domains configured in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
query Parameters
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": [
- {
- "name": "string",
- "clusterId": "string",
- "virtualMachinesSize": 0,
- "virtualMachinesCount": 0
}
]
}
Infrastructure Rescan for Protection Domains
The HTTP POST request to the /clusters/{id}/protectionDomains/refresh
endpoint runs the infrastructure rescanning operation for protection domains.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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 Collection of Networks
The HTTP GET request to the /clusters/{id}/networks
endpoint retrieves a list of all networks configured in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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",
- "name": "string",
- "networkAddress": "string",
- "ipManagementOn": true,
- "prefixLength": 0,
- "ipPool": [
- "string"
], - "gatewayIp": "string"
}
]
Get Collection of Storage Containers
The HTTP GET request to the /clusters/{id}/storageContainers
endpoint retrieves a list of all storage containers configured in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
query Parameters
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",
- "name": "string",
- "maxCapacity": 0,
- "reservedCapacity": 0,
- "usedSpace": 0,
- "freeSpace": 0
}
]
}
Get Collection of Cluster Hosts
The HTTP GET request to the /clusters/{id}/hosts
endpoint retrieves a list of all host configured in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
query Parameters
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).
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
- 500
{- "offset": 0,
- "limit": 0,
- "totalCount": 0,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cpuUsage": 0,
- "memoryUsage": 0,
- "diskUsage": 0
}
]
}
Get Collection of Volume Groups in Cluster
The HTTP GET request to the /clusters/{id}/volumeGroups
endpoint retrieves a list of all volume groups configured in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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",
- "clusterId": "string",
- "name": "string",
- "protectionDomain": "string",
- "consistencyGroup": "string"
}
]
Get Volume Group Data
The HTTP GET request to the /clusters/{id}/volumeGroups/{volumeGroupId}
endpoint retrieves information on a volume group in the specified cluster.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
volumeGroupId required | string Specifies the ID assigned to a volume group in the 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",
- "clusterId": "string",
- "name": "string",
- "protectionDomain": "string",
- "consistencyGroup": "string"
}
Infrastructure Rescan for Volume Groups
The HTTP POST request to the /clusters/{id}/volumeGroups/refresh
endpoint runs the infrastructure rescanning operation for volume groups.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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": { }
}
}
Cluster Rescan for Snapshots
The HTTP POST request to the /clusters/{id}/rescanSnapshots
endpoint runs the cluster rescanning operation for snapshots. Compatible snapshots are automatically imported.
path Parameters
id required | string Specifies the ID assigned to a cluster in the Nutanix AHV environment. To learn the ID, get a collection of clusters to which the backup appliance has access. |
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
Conflict. The request could not be processed. Another task is in progress.
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
- 202
- 400
- 401
- 403
- 409
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}