Update Configuration
Update the appliance configuration.
The appliance configuration to be updated.
Show optional properties
{
"connection": {
"psc_uri": "https://psc01.acme.com:443"
},
"credentials": {
"admin_user": "string",
"admin_password": "string"
}
}
{
"site_name": "string",
"admin_email": "string",
"host_name": "string",
"extension_key": "com.vmware.vcHms",
"connection": {
"psc_uri": "https://psc01.acme.com:443",
"psc_thumbprint": "string",
"vc_instance_id": "string",
"vc_thumbprint": "string"
},
"credentials": {
"admin_user": "string",
"admin_password": "string"
},
"organization": "string",
"description": "string",
"clock_tolerance_seconds": 0,
"local_server_uuid": "string",
"services_configuration": [
{
"name": "srm-service",
"state": "UNCONFIGURED"
}
],
"overall_configuration_state": "string"
}
The DR site name. If not set, the site name will be read from the current DR configuration if it exists.
Administrator email.
The appliance FQDN. Used when registering with the infrastructure and management nodes. Filled when the server is returning this data object.
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.
Contains connection information for a service. If not set the connection parameters will be read from the current DR solution configuration if it exists.
Contains credentials information.
Organization name. Filled when the server is returning this data object.
DEPRECATED in 9.0.3.0 - Do not use! Plugin description.
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.
UUID of the local DR server. Filled when the server is returning this data object.
List of service configurations. Read only.
Service configuration states:
- UNCONFIGURED - No configuration has been done for the service
- CONFIGURED - All configurations have been done for the service
- IMPORTED - Service has been migrated, and can be configured
- RECONFIGURE_REQUIRED - Service needs to be reconfigured
Configure the appliance task.
"Task Object"
ID of the task.
Description of the task.
Operation type of the task.
Status of the task.
Detailed information about the error if the task status is ERROR.
Information about the task result if the task status is SUCCESS.
The current progress of the task, in percentage number.
The start time of the task, in milliseconds.
The complete time of the task, in milliseconds.
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"connection:"object","credentials:"object"}' https://{api_host}/appliance/configuration-manager/configuration