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

Extends
  DatastoreEvent
Since
  2.0

## Data Object Description

This event records the renaming of a datastore.

Properties

Name | Type | Description
--- | --- | ---
newName | xsd:string | The new datastore name.
oldName | xsd:string | The old datastore name.
Properties inherited from DatastoreEvent
datastore
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:vim25="urn:vim25" name="DatastoreRenamedEvent"> <complexContent> <extension base="vim25:DatastoreEvent"> <sequence> <element name="oldName" type="xsd:string"/> <element name="newName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>