- 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 /dashboard
resource collection allows you to get summary of Veeam Backup for Nutanix AHV statistics.
Get Resource Usage Statistics
The HTTP GET request to the /dashboard/systemMonitoringInfo
endpoint retrieves CPU utilization, RAM consumption and storage usage on the backup appliance.
query Parameters
metricType required | Array of strings (SystemMetricType) Returns only data on resources of the specified types. |
from | string or null <date-time> Returns only data after the specified date and time. |
to | string or null <date-time> Returns only data before the specified date and time. |
reportInterval | string or null <time-span> Returns data for periods defined by the specified time interval. By default, the interval equals 30 minutes. |
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
{- "cpuUsageInfo": [
- {
- "timeUtc": "2019-08-24T14:15:22Z",
- "usedPercent": 0
}
], - "memoryUsageInfo": [
- {
- "timeUtc": "2019-08-24T14:15:22Z",
- "usedPercent": 0
}
], - "storageUsageInfo": [
- {
- "timeUtc": "2019-08-24T14:15:22Z",
- "usedPercent": 0
}
]
}
Get Session Status Statistics for Last 24 Hours
The HTTP GET request to the /dashboard/sessionsSummary
endpoint retrieves a number of sessions started for data protection or disaster recovery operations during the past 24 hours that completed successfully, a number of sessions that completed with warnings, a number of sessions that completed with errors, and a number of sessions that are currently running.
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
{- "sessionsError": 0,
- "sessionsErrorDifference": "NotChanged",
- "sessionsWarning": 0,
- "sessionsWarningDifference": "NotChanged",
- "sessionsSuccess": 0,
- "sessionsSuccessDifference": "NotChanged",
- "sessionsRunning": 0,
- "sessionsRunningDifference": "NotChanged"
}
Get Job Type Statistics
The HTTP GET request to the /dashboard/sessionRatio
endpoint retrieves a total number of job sessions and a number of successfully completed sessions during the specified period. The statistics is provided for each type of job: backup, snapshot and PD snapshot.
query Parameters
period write-only required | string (ReportPeriod) Specifies the period to collect the statistics. |
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
{- "backups": 0,
- "backupsTotal": 0,
- "snapshots": 0,
- "snapshotsTotal": 0,
- "pdSnapshots": 0,
- "pdSnapshotsTotal": 0
}
Get Number of Protected VMs
The HTTP GET request to the /dashboard/protectedVms
endpoint retrieves the number of VMs included into snapshot jobs only, the number of VMs included into backup jobs and the number of unprotected VMs.
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
{- "totalVms": 0,
- "protectedVms": 0,
- "protectedVmsWithSnapshots": 0,
- "unprotectedVms": 0
}
Get Collection of Unprotected VMs
The HTTP GET request to the /dashboard/unprotectedVmsInCluster
endpoint retrieves a list of all unprotected VMs.
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"
}
]
}
Get Collection of Protected VMs
The HTTP GET request to the /dashboard/protectedVmsInCluster
endpoint retrieves a list of all protected VMs.
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",
- "snapshots": 0,
- "backups": 0,
- "clusterId": "string",
- "clusterName": "string",
- "lastProtectionDateUtc": "2019-08-24T14:15:22Z",
- "lastRestorePointId": "string"
}
]
}
Get Collection of Recent Job Sessions Duration
The HTTP GET request to the /dashboard/topJobsDuration
endpoint retrieves duration statistics for recent sessions of the specified job type.
query Parameters
jobMode required | string (JobMode) Specifies a job type. |
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": [
- {
- "jobId": "9d222c6d-893e-4e79-8201-3c9ca16a0f39",
- "jobMode": "Unknown",
- "jobName": "string",
- "startTimeUtc": "2019-08-24T14:15:22Z",
- "duration": "string",
- "durationDifference": "string",
- "percentage": 0
}
]
}
Get Collection of Available Backup Repositories
The HTTP GET request to the dashboard/backupRepositories
endpoint retrieves a list of available backup repositories.
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": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "totalSpace": 0,
- "freeSpace": 0,
- "usedSpace": 0,
- "status": "Unknown"
}
]
}