Update Configuration

Update Configuration

Update the appliance configuration.

Request
URI
PUT
https://{api_host}/appliance/configuration-manager/configuration
COPY
Request Body

Updated the appliance configuration.

ConfigurationInfo of type(s) application/json
Optional

Show optional properties

{
    "admin_email": "string",
    "connection": {
        "psc_uri": "string"
    },
    "credentials": {
        "admin_user": "string",
        "admin_password": "string"
    }
}
{
    "site_name": "string",
    "admin_email": "string",
    "host_name": "string",
    "extension_key": "com.vmware.vcHms",
    "connection": {
        "psc_uri": "string",
        "psc_thumbprint": "string",
        "vc_instance_id": "string",
        "vc_thumbprint": "string"
    },
    "credentials": {
        "admin_user": "string",
        "admin_password": "string"
    },
    "organization": "string",
    "description": "string",
    "clock_tolerance_seconds": "number",
    "local_server_uuid": "string"
}
string
site_name
Optional

The DR site name. If not set, the site name will be read from the current DR configuration if it exists.

string
admin_email
Required

Administrator email.

string
host_name
Optional

The appliance FQDN. Used when registering with the infrastructure and management nodes. Filled when the server is returning this data object.

string
extension_key
Optional

The solution extension key. For vSphere Replication "com.vmware.vcHms" must be used. If not set, the default extension key value of "com.vmware.vcDr" will be used.

object
connection
Required

Contains connection information for a service. If not set the connection parameters will be read from the current DR solution configuration if it exists.

object
credentials
Required

Contains credentials information.

string
organization
Optional

Organization name. Filled when the server is returning this data object.

string
description
Optional

DEPRECATED in 9.0.3.0 - Do not use! Plugin description.

number
clock_tolerance_seconds
Optional

DEPRECATED in 9.0.3.0 - Do not use! The allowed server clock tolerance in seconds. If not set, the default value of 3 seconds will be used. This parameter will be used only when validating the VC server where DR solution will be registered. Clock difference between the DR virtual appliance and vCenter Server should not exceed this value, otherwise validation (or configuration) will fail.

string
local_server_uuid
Optional

UUID of the local DR server. Filled when the server is returning this data object.

Authentication
This operation uses the following authentication methods.
Responses
202

Configure the appliance task.

Returns Task of type(s) application/json
"Task Object"
string
id
Optional

id

string
description
Optional

description

string
type
Optional

Operation type

string
status
Required

Current status of the task

Possible values are : QUEUED, RUNNING, SUCCESS, ERROR, CANCELLED,
object
error
Optional

Detailed information about the error if the task status is ERROR

object
result
Optional

Result of the operation

integer As int32 As int32
progress
Optional

Current progress of the operation

string As date-time As date-time
start_time
Optional

start_time

string As date-time As date-time
complete_time
Optional

complete_time


400

Bad request - the server cannot understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"admin_email:"string","connection:"object","credentials:"object"}' https://{api_host}/appliance/configuration-manager/configuration