VchaConnectionSpec

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


Properties

string
hostname Required

IP Address or DNS of the vCenter.


string
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.


integer
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.

JSON Example

{
    "hostname": "string",
    "password": "string",
    "username": "string"
}
Feedback

Was this page helpful?