Change Networking Task
Changes the Hostname/IP of the management network of vCenter appliance. The Hostname/IP change invokes the PNID change process which involves LDAP entry modification, updating registry entries, configuration files modification and network configuration changes. vCenter server is expected to be down for few minutes during these changes
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
{
"SSO_password": "string",
"SSO_user": "string",
"hostname": "string"
}
vCenter Server SSO administrator Password
vCenter Server SSO administrator username
New hostname to assign to the management network of vCenter appliance
DNS Configuration to set for the machine If unset DNS settings will not be changed
IPv4 Configuration to set for the machine If unset IPv4 settings will not be changed
IPv6 Configuration to set for the machine If unset IPv6 settings will not be changed
Authentication
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists.
Errors
com.vmware.vapi.std.errors.unsupported : if it’s not embedded node | com.vmware.vapi.std.errors.invalid_argument : if passed arguments are invalid. | com.vmware.vapi.std.errors.not_allowed_in_current_state : if another change task is in progress
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/appliance/networking?action=change&vmw-task=true
x-vmw-doc-operation: change_task