- 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 /emailSettings
resource collection represents settings of an SMTP account used to send email notifications.
Get Email Notification Settings
The HTTP GET request to the /emailSettings
endpoint retrieves email notification settings configured 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).
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
{- "enabled": true,
- "notificationOptions": [
- "None"
], - "messageSettings": {
- "from": "string",
- "to": [
- "string"
], - "subject": "string"
}, - "smtpServerSettingsId": "cbb96c51-35d5-4bb7-94a5-cb7e5065516c"
}
Modify Email Notification Settings
The HTTP PUT request to the /emailSettings
endpoint configures Veeam Backup for Nutanix AHV to send email notifications.
Request Body schema: application/jsonrequired
Email settings
enabled required | boolean Defines whether email notifications are enabled. Default value is false. |
notificationOptions required | Array of strings (EmailNotificationOption) Specifies notification settings for jobs. |
required | object (EmailNotificationMessageSettings) Email parameters. |
smtpServerSettingsId required | string <uuid> ID assigned to a collection of the SMTP account settings 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).
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
{- "enabled": true,
- "notificationOptions": [
- "None"
], - "messageSettings": {
- "from": "string",
- "to": [
- "string"
], - "subject": "string"
}, - "smtpServerSettingsId": "cbb96c51-35d5-4bb7-94a5-cb7e5065516c"
}
- 400
- 401
- 403
- 500
{- "type": "string",
- "title": "string",
- "status": 0,
- "detail": "string",
- "instance": "string",
- "extensions": {
- "property1": { },
- "property2": { }
}
}
Get SMTP Account Settings
The HTTP GET request to the emailSettings/smtp/{id}/settings
endpoint retrieves information on an SMTP account with the specified ID.
path Parameters
id required | string <uuid> System ID assigned to an SMTP account 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).
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
{- "serverType": "Unknown",
- "serverId": "10d2345a-e43d-463d-830e-4f5b19b60d41",
- "smtp": {
- "address": "string",
- "port": 25,
- "useSsl": true,
- "certificateThumbprint": "string",
- "authenticationRequired": true,
- "username": "string"
}
}
Configure SMTP Account Settings
The HTTP POST request to the emailSettings/smtp/basic
endpoint configures or updates the SMTP account settings.
Request Body schema: application/jsonrequired
SMTP account settings.
address required | string DNS name or an IP address of the SMTP server. |
port | integer <int32> [ 0 .. 65535 ] Default: 25 Port number used by the SMTP server. Default value is 25. |
useSsl | boolean Defines whether to use the secure connection for email operations. Default value is false. |
certificateThumbprint | string or null Hexadecimal string that uniquely identifies a certificate used on the SMTP server. |
authenticationRequired | boolean Defines whether to use a specific account to connect to the SMTP server. Default value is false. |
username | string or null Specifies user name used to access the account on the SMTP server. |
password write-only | string or null <password> Password used to access the account on the SMTP server. |
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
{- "address": "string",
- "port": 25,
- "useSsl": true,
- "certificateThumbprint": "string",
- "authenticationRequired": true,
- "username": "string",
- "password": "pa$$word"
}
- 201
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}