Update Dc Component 1

Update Dc Component 1

Update a datacenter component.

Request
URI
PUT
https://10.71.204.121:9443/api/v2/lcm/datacenter/{datacenterId}
COPY
Path Parameters
string
datacenterId
Required

The ID of the datacenter component


Request Body
DatacenterComponentSpec of type(s) application/json
Required
{
    "componentName": "string",
    "version": "string",
    "datacenterComponentType": "string",
    "fqdn": "string",
    "username": "string",
    "password": "string",
    "content": {
        "certificate": {
            "validFrom": "string",
            "validTo": "string",
            "thumbprint": "string"
        }
    },
    "purpose": "string"
}
object
properties
Optional

Additional properties

string
componentName
Optional

The component name is the identifier for the datacenter component.

string
version
Optional

The version of the datacenter component.

string
datacenterComponentType
Optional

The type of the datacenter component.

string As ^([a-z_A-Z0-9]([a-z_A-Z0-9\-]*[a-zA-Z0-9])?\.)*[a-z_A-Z0-9]([a-z_A-Z0-9\-]*[a-z_A-Z0-9])?$
fqdn
Required

The FQDN or IP of the datacenter component.

string
username
Required

The username to authenticate with the datacenter component.

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

The username to authenticate with the datacenter component.

content
Optional

content

string
purpose
Optional

The specified purpose of the datacenter component, defining how this component will be used (e.g. for management or resource purposes).

Responses
200

Confirmation for update.

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        "integer"
    ]
}
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 datacenter spec

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        "integer"
    ]
}
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": [
        "integer"
    ]
}
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

Datacenter component not found.

Returns TaskResponse of type(s) */*
{
    "taskId": "string",
    "precedingTasks": [
        "integer"
    ]
}
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.