Set Mode
Request
URI
POST
https://{api_host}/https://{{host}}:{{port}}/api/v5/lcm/environment/{environmentId}/product/{productId}/power
COPY
Path Parameters
string
environmentId
Required
ID of the environment
string
productId
Required
ID of the product within the environment
Query Parameters
string
action
Required
action
Possible values are : START, STOP_SERVICE, STOP_VM, ENABLE_MAINTENANCE, DISABLE_MAINTENANCE,
boolean
force
Optional
force
Request Body
NodeIds of type(s) application/json
Required
{
"nodeIds": [
0
]
}
array of integer
nodeIds
Optional
nodeIds
Responses
200
OK
Returns TaskResponse of type(s) */*
{
"taskId": "string",
"precedingTasks": [
0
]
}
string
taskId
Required
The ID of the task that was created for the operation. Use this ID to get the state and result of the task.
array of integer
precedingTasks
Optional
List of task IDs for tasks that have to be processed before this task can start.
Maintenance Operations
POST
Set Mode