Update All Product Nodes

Update All Product Nodes

Update all product nodes with specified content (password and/or hardware changes).

Request
URI
PATCH
https://{api_host}/https://{{host}}:{{port}}/api/v5/lcm/environment/{environmentId}/product/{productId}/node
COPY
Path Parameters
string
environmentId
Required

ID of the environment

string
productId
Required

ID of the product within the environment

Query Parameters
boolean
ignoreValidation
Optional

Proceed with updating nodes, even if validation fails.

boolean
force
Optional

Force update of the node, even if it is not recommended.


Request Body
ProductUpdateNodeSpec of type(s) application/json
Required
{
    "cpuNum": 0,
    "ramMemory": 0,
    "rootPassword": "string"
}
integer As int32 As int32
cpuNum
Optional

Number of CPUs to set for the node.

integer As int32 As int32
ramMemory
Optional

The amount of memory (in MB) to set for the node.

string As (^[^'"]{2,32}$)|(^ref:password:[a-zA-Z0-9]{20}$)
rootPassword
Optional

The root password to set for the node.

Responses
200

Task ID for the task that updates a product node.

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.


400

Invalid product node spec

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.


401

Unauthorized access

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.


404

Environment or product doesn't exist

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.