POST | /compute/power | Toggle the power status of the compute object |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
app | body | App | No | Allowable Values
|
datacenterLocation | body | DatacenterLocations | No | Allowable Values
|
computeType | body | TypeComputeObject | No | Allowable Values
|
powerStatus | body | PowerStatus | No | Allowable Values
|
id | body | string | No | |
zone | body | string | No | |
project | body | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
userId | form | string | No | |
logins | form | List<TypeLogin> | No | |
sessionId | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MembershipId | form | int | No | |
UserId | form | Guid | No | |
Username | form | string | No | |
Password | form | string | No | |
DatacenterURL | form | string | No | |
LocationType | form | string | No | |
Location | form | string | No | |
DatacenterLocation | form | DatacenterLocations | No | |
ApplicationName | form | string | No | |
ApplicationId | form | Guid | No | |
ApplicationLocationId | form | Guid | No | |
CompanyName | form | string | No | |
CompanyId | form | Guid | No | |
Status | form | int | No | |
Rights | form | List<string> | No | |
SessionId | form | string | No | |
Roles | form | List<string> | No | |
Permissions | form | List<string> | No | |
Attributes | form | List<TypeMembershipAttribute> | No | |
UseTwoFactorAuth | form | bool | No | |
PresharedKey | form | string | No | |
Passcode | form | string | No | |
Id | form | string | No | |
FirstName | form | string | No | |
LastName | form | string | No |
GMU | |
SPA | |
LAS | |
DEV | |
VCD | |
AWS | |
GCP | |
UAT | |
AZU | |
AUV | |
ATL |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
AttributeType | form | string | No | |
AttributeValue | form | string | No | |
AttributeDataType | form | string | No |
Acronis | |
AcronisSCS | |
Actifio | |
AWSEC2 | |
Billing | |
ChargebackManager | |
GoogleCloudPlatform | |
N3TLoginPortal | |
Onboarding | |
vCloudDirector | |
Zerto | |
ZertoCloudManager | |
MicrosoftAzure | |
ConnectWise | |
Auvik | |
Veeam | |
VROPSMetering | |
Keycloak | |
N3tApi |
ACD | |
GMU | |
SPA | |
LAS | |
DEV | |
VCD | |
AWS | |
GCP | |
UAT | |
AZU | |
CNW | |
AUV | |
ATL | |
EXT |
vm | |
vapp | |
vdc | |
template |
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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /compute/power HTTP/1.1
Host: n3tapi.palmettovdc.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"app":"Acronis","datacenterLocation":"ACD","computeType":"vm","powerStatus":"OFF","id":"String","zone":"String","project":"String","userId":"String","logins":[{"membershipId":0,"userId":"00000000000000000000000000000000","username":"String","password":"String","datacenterURL":"String","locationType":"String","location":"String","datacenterLocation":"GMU","applicationName":"String","applicationId":"00000000000000000000000000000000","applicationLocationId":"00000000000000000000000000000000","companyName":"String","companyId":"00000000000000000000000000000000","status":0,"rights":["String"],"sessionId":"String","roles":["String"],"permissions":["String"],"attributes":[{"attributeType":"String","attributeValue":"String","attributeDataType":"String"}],"useTwoFactorAuth":false,"presharedKey":"String","passcode":"String","id":"String","firstName":"String","lastName":"String"}],"sessionId":"String"}