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

Extends
  VmEvent

## Data Object Description

This event records the renaming of a virtual machine.

Properties

Name | Type | Description
--- | --- | ---
newName | xsd:string | The new name of the virtual machine.
oldName | xsd:string | The old name of the virtual machine.
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:vsan="urn:vsan" name="VmRenamedEvent"> <complexContent> <extension base="vsan:VmEvent"> <sequence> <element name="oldName" type="xsd:string"/> <element name="newName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>