POST | /config/add/server/environment/database | Add a database environment to a server |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
server | body | string | Yes | |
ip | body | string | Yes | |
provider | body | Providers | Yes | Allowable Values
|
environment | body | N3TEnvironment | Yes | Allowable Values
|
Name | body | string | Yes | |
User | body | string | Yes | |
Password | body | string | Yes | |
ConnectionString | body | string | Yes | |
ConnectionTimeout | body | int | No | |
Database | body | string | Yes | |
Port | body | string | No | |
providerName | body | string | Yes |
vCloud | |
AWS | |
GCP | |
Azure | |
Actifio | |
Zerto | |
Veeam | |
Acronis | |
N3T | |
Auvik |
DEV | |
QA | |
UAT | |
PROD | |
DEMO | |
EXT |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /config/add/server/environment/database HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
server: String,
ip: String,
provider: vCloud,
environment: DEV,
name: String,
user: String,
password: String,
connectionString: String,
connectionTimeout: 0,
database: String,
port: String,
providerName: String
}