# Data Object - VmAutoRenameEvent(vim.event.VmAutoRenameEvent)

Extends
  VmEvent
Since
  2.0

## Data Object Description

This event records that a virtual machine was automatically renamed because of a name conflict.

Properties

Name | Type | Description
--- | --- | ---
newName | xsd:string | The name of the virtual machine after renaming.
oldName | xsd:string | The name of the virtual machine before renaming.
Properties inherited from VmEvent
template
Properties inherited from Event
chainId, changeTag, computeResource, createdTime, datacenter, ds, dvs, fullFormattedMessage, host, key, net, userName, vm
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:sms="urn:sms" name="VmAutoRenameEvent"> <complexContent> <extension base="sms:VmEvent"> <sequence> <element name="oldName" type="xsd:string"/> <element name="newName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>