Settings_Depots_Offline_ConnectionSpec
The Offline.ConnectionSpec structure contains fields that describe the specification to be used for connecting to the host during the Offline.create-from-host operation.
{
"auth_type": "string",
"host_credential": {
"host_name": "string",
"user_name": "string",
"password": "string",
"port": 0,
"ssl_thumb_print": "string"
},
"host": "string"
}
The Offline.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 Offline#HostCredentials structure.
EXISTING : Connect to the host using service ticket. Note: This is supported only for hosts present in the VC inventory.
The Offline.HostCredentials structure contains fields that describe the host's username, password, port number, ssl thumbprint or ssl certificate to be used when connecting to the host using USERNAME_PASSWORD option in the ConnectionSpec#AuthenticationType enumerated type.
Specifies the host Managed Object ID to be used during the Offline.create-from-host operation. This field is optional and it is only relevant when the value of Offline.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.