| POST | /compute/{id}/power/action/{powerStatus} | Change power status a vApp or VM. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| userId | body | string | No | |
| typeComputeObject | body | TypeComputeObject | No | Allowable Values
|
| datacenterCode | body | DatacenterLocations | No | Allowable Values
|
| app | body | App | No | Allowable Values
|
| id | path | string | No | |
| powerStatus | path | PowerStatus | No | Allowable Values
|
| zone | body | string | No | |
| project | body | string | No | |
| sessionId | body | string | No |
| vm | |
| vapp | |
| vdc | |
| template |
| ACD | |
| GMU | |
| SPA | |
| LAS | |
| DEV | |
| VCD | |
| AWS | |
| GCP | |
| UAT | |
| AZU | |
| CNW | |
| AUV | |
| ATL | |
| EXT |
| Acronis | |
| AcronisSCS | |
| Actifio | |
| AWSEC2 | |
| Billing | |
| ChargebackManager | |
| GoogleCloudPlatform | |
| N3TLoginPortal | |
| Onboarding | |
| vCloudDirector | |
| Zerto | |
| ZertoCloudManager | |
| MicrosoftAzure | |
| ConnectWise | |
| Auvik | |
| Veeam | |
| VROPSMetering | |
| Keycloak | |
| N3tApi |
| Name | Value | |
|---|---|---|
| OFF | 0 | |
| ON | 1 | |
| SHUTDOWN | 3 | |
| SUSPEND | 4 | |
| RESTART | 5 | |
| RESUME | 6 |
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 /compute/{id}/power/action/{powerStatus} HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
userId: String,
typeComputeObject: vm,
datacenterCode: ACD,
app: Acronis,
id: String,
powerStatus: OFF,
zone: String,
project: String,
sessionId: String
}