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

auth_type Required

Specifies what type of authentication (AuthenticationType) is to be used when connecting with the host. USERNAME_PASSWORD is intended to be used when connecting to a host that is not currently part of the vCenter inventory. EXISTING is intented for hosts that are in vCenter inventory, in which case, HostServiceTicket will be used to connect to the host.

Possible values are: USERNAME_PASSWORDEXISTING


string
host Optional

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.


host_credential Optional

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": "enum"
}
Feedback

Was this page helpful?