vcenter vcha: connection spec

The connection_spec structure contains information required to connect to a vCenter server. The connection to the vCenter server always uses the HTTPS protocol. This structure was added in vSphere API 6.7.1.

Representation:

{
    "hostname""string",
    "password""secret string",
    "port"1,
    "ssl_thumbprint""string",
    "username""string"
}

Attributes:

Name Type Description
Required
hostname string IP Address or DNS of the vCenter. This attribute was added in vSphere API 6.7.1.

Optional
port long Port number. This attribute was added in vSphere API 6.7.1.

Optional. If unset, port 443 will be used.

ssl_thumbprint string SHA1 hash of the server SSL certificate. This attribute was added in vSphere API 6.7.1.

Optional. If unset, empty ssl thumbprint is assumed.

username string Username to access the server. This attribute was added in vSphere API 6.7.1.

Optional. This field is currently required. If unset, an error is returned. In the future, if this field is unset, the system will attempt to identify the user. If a user cannot be identified, then the requested operation will fail.

password secret Password for the specified user. This attribute was added in vSphere API 6.7.1.

Optional. This field is currently required. If unset, an empty password is assumed. In the future, if this field is unset, the system will attempt to authenticate the user. If a user cannot be identified, then the requested operation will fail.