vcenter host: create spec

The create_spec structure defines the information used to create a host.

Representations:

{
    "folder""obj-103",
    "force_add"true,
    "hostname""string",
    "password""secret string",
    "port"1,
    "thumbprint""string",
    "thumbprint_verification""NONE",
    "user_name""string"
}
<?xml version="1.0" ?>
<ns0:CreateSpec xmlns:ns0="http://vmware.com/vcenter/host" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <thumbprint_verification>NONE</thumbprint_verification>
  <folder>obj-103</folder>
  <port>1</port>
  <user_name>string</user_name>
  <thumbprint>string</thumbprint>
  <force_add>true</force_add>
  <hostname>string</hostname>
  <password>secret string</password>
</ns0:CreateSpec>

Attributes:

Name Type Description
Required
hostname string The IP address or DNS resolvable name of the host.

user_name string The administrator account on the host.

password secret The password for the administrator account on the host.

thumbprint_verification string Type of host's SSL certificate verification to be done.

Defines the thumbprint verification schemes for a host's SSL certificate. Value is one of:
NONE: Accept the host's thumbprint without verifying it.
THUMBPRINT: Host's SSL certificate verified by checking its thumbprint against the specified thumbprint.

Optional
port long The port of the host.

Optional. If unset, port 443 will be used.

folder string Host and cluster folder in which the new standalone host should be created.

Optional. This field is currently required. In the future, if this field is unset, the system will attempt to choose a suitable folder for the host; if a folder cannot be chosen, the host creation operation will fail.When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Folder. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Folder.

thumbprint string The thumbprint of the SSL certificate, which the host is expected to have. The thumbprint is always computed using the SHA1 hash and is the string representation of that hash in the format: xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx where, 'x' represents a hexadecimal digit.

Optional. It is only relevant when thumbprint_verification has value THUMBPRINT. This field is optional and it is only relevant when the value of thumbprint_verification is THUMBPRINT.

force_add boolean Whether host should be added to the vCenter Server even if it is being managed by another vCenter Server. The original vCenterServer loses connection to the host.

Optional. If unset, forceAdd is default to false.