# Data Object - VirtualMachineMksTicket(vim.VirtualMachine.MksTicket)

Returned by
  AcquireMksTicket
Extends
  DynamicData
Since
  2.0

## Data Object Description

Deprecated. As of vSphere API 4.1, use VirtualMachineTicket instead.

This data object contains the information needed to establish an MKS (mouse-keyboard-screen) connection to a running virtual machine.

Properties

Name | Type | Description
--- | --- | ---
cfgFile | xsd:string | The name of the configuration file for the virtual machine.
host* | xsd:string | The host with which to establish a connection. If the host is not specified, it is assumed that the requesting entity knows the appropriate host with which to connect.
port* | xsd:int | The port number to use. If the port is not specified, it is assumed that the requesting entity knows the appropriate port to use when making a new connection.
sslThumbprint* | xsd:string | The expected thumbprint of the SSL cert of the host to which we are connecting. Since VI API 2.5
ticket | xsd:string | The ticket name. This is used as the username and password for the MKS connection.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineMksTicket"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="ticket" type="xsd:string"/> <element name="cfgFile" type="xsd:string"/> <element name="host" type="xsd:string" minOccurs="0"/> <element name="port" type="xsd:int" minOccurs="0"/> <element name="sslThumbprint" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>