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

Extends
  HostEvent
Since
  2.0

## Data Object Description

This event records when a datastore is added to VirtualCenter and is renamed by VirtualCenter because this datastore already exists in VirtualCenter with a different name, or because the name conflicts with another datastore in VirtualCenter.

Properties

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