- About Veeam Plug-in for Nutanix AHV REST API
- Overview
- Changelog
- Prism Centrals
- getGet Collection of Nutanix AHV Prism Centrals
- postAdd New Nutanix AHV Prism Central
- getGet Prism Central Data
- putModify Nutanix AHV Prism Central Settings
- delRemove Nutanix AHV Prism Central
- postRescan Prism Central
- getGet Collection of Virtual Machines
- getGet Collection of Protection Domains
- getGet Collection of Volume Groups
- getGet Collection of Prism Central Categories
- Clusters
- getGet Collection of Clusters
- postAdd New Cluster
- getGet Cluster Data
- delRemove Cluster
- postInfrastructure Rescan for Cluster
- getGet Cluster Connection Settings
- putModify Cluster Settings
- getGet Collection of Virtual Machines
- getGet Collection of Protection Domains
- getGet Collection of Networks
- getGet Collection of Storage Containers
- getGet Collection of Cluster Hosts
- getGet Collection of Volume Groups in Cluster
- Jobs
- Restore Points
- Sessions
- Workers
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 Veeam Plug-in for Nutanix AHV 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"
}
]
Add New Cluster
The HTTP POST request to the /clusters
endpoint adds a Nutanix AHV cluster to the Veeam Backup & Replication configuration database.
Request Body schema: application/jsonrequired
Cluster Data Object
ip | string IP address or hostname of the cluster. |
port | integer <int32> [ 0 .. 65535 ] Port used to access the cluster. |
userName | string or null Username of an administrator account used to access the cluster. |
password write-only | string or null <password> Password of an administrator account used to access the cluster. |
credentialsTag | string or null ID of credentials added to the Credentials Manager in Veeam Backup & Replication. |
certificateThumbprint | string or null Certificate thumbprint |
description | string Description of the cluster. |
Created
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
{- "ip": "string",
- "port": 65535,
- "userName": "string",
- "password": "pa$$word",
- "credentialsTag": "string",
- "certificateThumbprint": "string",
- "description": "string"
}
- 201
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
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 Veeam Plug-in for Nutanix AHV 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"
}
Remove Cluster
The HTTP DELETE request to the /clusters/{id}
endpoint removes a cluster with the specified ID from the Veeam Backup & Replication configuration database.
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 Veeam Plug-in for Nutanix AHV 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
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Infrastructure Rescan for Cluster
The HTTP POST request to the /clusters/{id}/refreshAsync
endpoint runs the infrastructure rescanning operation for entities within 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 Veeam Plug-in for Nutanix AHV 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 Cluster Connection Settings
The HTTP GET request to the /clusters/{id}
endpoint retrieves connection 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 Veeam Plug-in for Nutanix AHV 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
{- "ip": "string",
- "port": 65535,
- "userName": "string",
- "credentialsTag": "string",
- "certificateThumbprint": "string",
- "description": "string"
}
Modify Cluster Settings
The HTTP PUT request to the /clusters/{id}
endpoint updates settings of a cluster with the specified ID added to the Veeam Backup & Replication configuration database.
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 Veeam Plug-in for Nutanix AHV has access. |
Request Body schema: application/jsonrequired
Cluster Data Object
ip | string IP address or hostname of the cluster. |
port | integer <int32> [ 0 .. 65535 ] Port used to access the cluster. |
userName | string or null Username of an administrator account used to access the cluster. |
password write-only | string or null <password> Password of an administrator account used to access the cluster. |
credentialsTag | string or null ID of credentials added to the Credentials Manager in Veeam Backup & Replication. |
certificateThumbprint | string or null Certificate thumbprint |
description | string Description of the 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.
Conflict. The request could not be processed.
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
{- "ip": "string",
- "port": 65535,
- "userName": "string",
- "password": "pa$$word",
- "credentialsTag": "string",
- "certificateThumbprint": "string",
- "description": "string"
}
- 200
- 400
- 401
- 403
- 409
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
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 Veeam Plug-in for Nutanix AHV 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 Plug-in 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 Plug-in 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 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 Veeam Plug-in for Nutanix AHV 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 Plug-in 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 Plug-in 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 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 Veeam Plug-in for Nutanix AHV 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 Veeam Plug-in for Nutanix AHV 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 Plug-in 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 Plug-in 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 Veeam Plug-in for Nutanix AHV 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 Plug-in 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 Plug-in 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 Veeam Plug-in for Nutanix AHV 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"
}
]