- 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
Get Collection of Workers
The HTTP GET request to the /workers
endpoint retrieves a list of all workers configured in Veeam Backup for Nutanix AHV.
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",
- "configuration": {
- "name": "string",
- "description": "string",
- "clusterId": "string",
- "maxConcurrentTasks": 0,
- "cpuCount": 1,
- "memoryGb": 1,
- "networkSettings": {
- "networks": [
- {
- "description": "string",
- "networkId": "string",
- "obtainIpAutomatically": true,
- "ipAddress": "string",
- "subnetMask": "string",
- "defaultGateway": "string"
}
], - "obtainDnsAutomatically": true,
- "dnsServers": [
- "string"
]
}, - "affinitySettings": {
- "enabled": true,
- "hostId": "string"
}
}, - "enabled": true,
- "status": "Unknown",
- "lastTestSession": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "vmId": "string"
}
]
}
Add Worker Configuration
The HTTP POST request to the /workers
endpoint creates a new worker configuration.
query Parameters
startTestSession | boolean Default: false Defines whether the worker will be tested (that is a worker VM will be deployed) after its configuration is created. |
Request Body schema: application/jsonrequired
Worker Configuration
name required | string Name of the worker. The maximum length of the name is 40 characters. The a-z, A-Z, 0-9, - characters are only supported. |
required | object (WorkerNetworkSettings) Specifies worker network settings. |
clusterId required | string Specifies the ID of a cluster where the worker will be deployed. |
maxConcurrentTasks required | integer <int32> >= 0 Specifies the maximum number or backup and restore operations the worker can handle in parallel. |
cpuCount required | integer <int32> >= 1 Specifies the number of vCPU allocated to the worker VM. |
memoryGb required | integer <int32> >= 1 Specifies the amount of memory allocated to the worker VM (in gigabytes). |
description | string or null Specifies a description of the worker. |
object or null (WorkerAffinitySettings) Specifies worker affinity settings. |
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).
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
{- "name": "string",
- "description": "string",
- "clusterId": "string",
- "maxConcurrentTasks": 0,
- "cpuCount": 1,
- "memoryGb": 1,
- "networkSettings": {
- "networks": [
- {
- "description": "string",
- "networkId": "string",
- "obtainIpAutomatically": true,
- "ipAddress": "string",
- "subnetMask": "string",
- "defaultGateway": "string"
}
], - "obtainDnsAutomatically": true,
- "dnsServers": [
- "string"
]
}, - "affinitySettings": {
- "enabled": true,
- "hostId": "string"
}
}
- 201
- 400
- 401
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
Get Worker Configuration
The HTTP GET request to the /workers/{id}
endpoint retrieves information on a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Worker not found
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
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "configuration": {
- "name": "string",
- "description": "string",
- "clusterId": "string",
- "maxConcurrentTasks": 0,
- "cpuCount": 1,
- "memoryGb": 1,
- "networkSettings": {
- "networks": [
- {
- "description": "string",
- "networkId": "string",
- "obtainIpAutomatically": true,
- "ipAddress": "string",
- "subnetMask": "string",
- "defaultGateway": "string"
}
], - "obtainDnsAutomatically": true,
- "dnsServers": [
- "string"
]
}, - "affinitySettings": {
- "enabled": true,
- "hostId": "string"
}
}, - "enabled": true,
- "status": "Unknown",
- "lastTestSession": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "vmId": "string"
}
Remove Worker
The HTTP DELETE request to the /workers/{id}
endpoint removes a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
- 404
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}
Get Worker
The HTTP GET request to the /worker/{id}/configuration
endpoint retrieves the configuration of a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
- 404
- 500
{- "name": "string",
- "description": "string",
- "clusterId": "string",
- "maxConcurrentTasks": 0,
- "cpuCount": 1,
- "memoryGb": 1,
- "networkSettings": {
- "networks": [
- {
- "description": "string",
- "networkId": "string",
- "obtainIpAutomatically": true,
- "ipAddress": "string",
- "subnetMask": "string",
- "defaultGateway": "string"
}
], - "obtainDnsAutomatically": true,
- "dnsServers": [
- "string"
]
}, - "affinitySettings": {
- "enabled": true,
- "hostId": "string"
}
}
Modify Worker Configuration
The HTTP PUT request to the /workers/{id}}/configuration
endpoint updates the configuration of a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
query Parameters
failActiveWorkerSessions | boolean Default: false Defines whether active worker sessions will be terminated if the configuration update requires powering off or redeploying the worker VM. |
startTestSession | boolean Default: false Defines whether the worker will be tested after it has been configured. |
Request Body schema: application/jsonrequired
Worker Update Configuration parameters
name required | string Name of the worker. The maximum length of the name is 40 characters. The a-z, A-Z, 0-9, - characters are only supported. |
required | object (WorkerNetworkSettings) Specifies worker network settings. |
clusterId required | string Specifies the ID of a cluster where the worker will be deployed. |
maxConcurrentTasks required | integer <int32> >= 0 Specifies the maximum number or backup and restore operations the worker can handle in parallel. |
cpuCount required | integer <int32> >= 1 Specifies the number of vCPU allocated to the worker VM. |
memoryGb required | integer <int32> >= 1 Specifies the amount of memory allocated to the worker VM (in gigabytes). |
description | string or null Specifies a description of the worker. |
object or null (WorkerAffinitySettings) Specifies worker affinity settings. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
{- "name": "string",
- "description": "string",
- "clusterId": "string",
- "maxConcurrentTasks": 0,
- "cpuCount": 1,
- "memoryGb": 1,
- "networkSettings": {
- "networks": [
- {
- "description": "string",
- "networkId": "string",
- "obtainIpAutomatically": true,
- "ipAddress": "string",
- "subnetMask": "string",
- "defaultGateway": "string"
}
], - "obtainDnsAutomatically": true,
- "dnsServers": [
- "string"
]
}, - "affinitySettings": {
- "enabled": true,
- "hostId": "string"
}
}
- 202
- 400
- 401
- 404
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Test Worker
The HTTP POST request to the /worker/{id}/test
endpoint starts testing a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
- 404
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}
Enable Worker
The HTTP POST request to the /workers/{id}/enable
endpoint enables a disabled worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
- 404
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}
Disable Worker
The HTTP POST request to the /workers/{id}/disable
endpoint disables a worker with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to a worker in Veeam Backup for Nutanix AHV. |
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).
Not Found. The worker specified in the request could not be found in the resource collection.
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
- 404
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}