HostsSoftwareConnectionSpec
The Software.ConnectionSpec structure contains fields that describe the specification to be used for connecting to the host during the Software.get operation
Properties
The Software.ConnectionSpec.AuthenticationType enumerated type defines the possible types of authentication supported when connecting to the host.
USERNAME_PASSWORD : Connect to host using host’s credentials HostCredentials structure.
EXISTING : Connect to the host using service ticket. Note: This is supported only for hosts present in the VC inventory.
Possible values are: USERNAME_PASSWORD , EXISTING
Specifies the host Managed Object ID to be used during the Software.get operation This field is optional and it is only relevant when the value of Software.ConnectionSpec.auth-type is EXISTING. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: HostSystem. When operations return a value of this structure as a result, the field will be an identifier for the resource type: HostSystem.
Specifies the host details to be used during the Software.get operation This field is optional and it is only relevant when the value of Software.ConnectionSpec.auth-type is USERNAME_PASSWORD.
JSON Example
{
"auth_type": "USERNAME_PASSWORD"
}