Vcha_ConnectionSpec

Vcha_ConnectionSpec
Vcha_ConnectionSpec

The ConnectionSpec structure contains information required to connect to a vCenter server. The connection to the vCenter server always uses the HTTPS protocol.

JSON Example
{
    "hostname": "string",
    "port": 0,
    "ssl_thumbprint": "string",
    "username": "string",
    "password": "string"
}
string
hostname
Required

IP Address or DNS of the vCenter.

integer As int64
port
Optional

Port number. If unset, port 443 will be used.

string
ssl_thumbprint
Optional

SHA1 hash of the server SSL certificate. If unset, empty ssl thumbprint is assumed.

string
username
Required

Username to access the server. 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.

string As password
password
Required

Password for the specified user. 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.