vcenter deployment: location spec
The
location_spec
structure is used to pass the container ESXi or vCenter server of the VM to patch the size of this appliance. This structure was added in vSphere API 6.7.Representation:
{
"hostname" : "string",
"https_port" : 1,
"password" : "secret string",
"ssl_thumbprint" : "string",
"ssl_verify" : true,
"username" : "string"
}
"hostname" : "string",
"https_port" : 1,
"password" : "secret string",
"ssl_thumbprint" : "string",
"ssl_verify" : true,
"username" : "string"
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
hostname | string | The IP address or DNS resolvable name of the container. This attribute was added in vSphere API 6.7. |
username | string | The administrator account on the host. This attribute was added in vSphere API 6.7. |
password | secret | The administrator account password. This attribute was added in vSphere API 6.7. |
Optional | ||
https_port | long | The HTTPS port of the container. This attribute was added in vSphere API 6.7. Optional. If unset, port 443 will be used. |
ssl_thumbprint | string | SHA1 thumbprint of the server SSL certificate will be used for verification. This attribute was added in vSphere API 6.7. Optional. This field is only relevant if ssl_verify is unset or has the value true. |
ssl_verify | boolean | SSL verification should be enabled or disabled. If ssl_verify is true and and ssl_thumbprint is unset, the CA certificate will be used for verification. If ssl_verify is true and ssl_thumbprint is set then the thumbprint will be used for verification. No verification will be performed if ssl_verify value is set to false. This attribute was added in vSphere API 6.7. Optional. If unset, ssl_verify true will be used. |