- 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 /prismCentrals
resource collection represents all Nutanix AHV Prism Centrals connected to the backup server and VMs residing in the clusters registered with those Prism Centrals.
Rescan Prism Central
The HTTP POST request to the /prismCentrals/{id}/refreshAsync
endpoint runs the infrastructure rescan operation for entities that belong to a Prism Central with the specified ID.
path Parameters
id required | string Specifies the ID assigned to a Prism Central in the Nutanix AHV environment. To learn the ID, get a collection of Prism Centrals 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 Collection of Virtual Machines
The HTTP POST request to the prismCentrals/{id}/vms
endpoint retrieves a list of all virtual machines residing on the clusters manged by a Prism Central with the specified ID.
path Parameters
id required | string Specifies the ID assigned to a Prism Central in the Nutanix AHV environment. To learn the ID, get a collection of Prism Centrals 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"
}
]
}
Get Collection of Protection Domains
The HTTP GET requests to the /prismCentrals/{id}/protectionDomains
endpoint retrieves a list of all protection domains configured in the Prism Central clusters.
path Parameters
id required | string Specifies the ID assigned to a Prism Central in the Nutanix AHV environment. To learn the ID, get a collection of Prism Centrals 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
}
]
}
Get Collection of Volume Groups
The HTTP GET requests to the /prismCentrals/{id}/protectionDomains
endpoint retrieves a list of all volume groups configured in the Prism Central clusters.
path Parameters
id required | string Specifies the ID assigned to a Prism Central in the Nutanix AHV environment. To learn the ID, get a collection of Prism Centrals 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",
- "clusterId": "string",
- "name": "string",
- "protectionDomain": "string",
- "consistencyGroup": "string"
}
]
}
Get Collection of Prism Central Categories
The HTTP GET request to the /prismCentrals/{id}/categories
endpoint retrieves a list of all categories configured in a Prism Central with the specified ID.
path Parameters
id required | string Specifies the ID assigned to a Prism Central in the Nutanix AHV environment. To learn the ID, get a collection of Prism Centrals 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",
- "value": "string",
- "virtualMachinesSize": 0,
- "virtualMachinesCount": 0
}
]
}