Managed Object - ExtensibleManagedObject

Extended by
Alarm, Datastore, HostCpuSchedulerSystem, HostFirewallSystem, HostMemorySystem, HostNetworkSystem, HostServiceSystem, HostStorageSystem, HostVMotionSystem, ManagedEntity, Network, ScheduledTask, Task, VirtualMachineSnapshot
See also
CustomFieldDef, CustomFieldValue


Managed Object Description

This is the extensible managed object base interface.

Properties

Name Type Description
availableField*CustomFieldDef[]

List of custom fields defined on this object. The fields are sorted by name.

Since VI API 2.5
value*CustomFieldValue[]

Custom field values.

Since VI API 2.5
*May not be present

Methods

Methods defined in this Managed Object
setCustomValue

setCustomValue

Assigns a value to a custom field.
Required Privileges
Dynamic - See discussion above
Since
VI API 2.5

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ExtensibleManagedObject used to make the method call.
keyxsd:string

The name of the field whose value is to be updated.
valuexsd:string

Value to be assigned to the custom field.

Return Value

Type Description
None

Faults

Type Description
InvalidArgumentThrown if no custom field with that key exists.
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition