SettingsDepotsOfflineConnectionSpec
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.
Properties
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.
Possible values are: USERNAME_PASSWORD , EXISTING
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.
Specifies the host details 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 USERNAME_PASSWORD.
JSON Example
{
"auth_type": "USERNAME_PASSWORD"
}