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

Extends
  HostEvent

## 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:vim25="urn:vim25" name="DatastoreRenamedOnHostEvent"> <complexContent> <extension base="vim25:HostEvent"> <sequence> <element name="oldName" type="xsd:string"/> <element name="newName" type="xsd:string"/> </sequence> </extension> </complexContent> </complexType>