|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
The custom fields values set on managed entities are available through the customValue property and through the summary objects for VirtualMachine and HostSystem. They are not available directly through this managed object.
This functionality is only available through VirtualCenter.
Properties
| Name | Type | Description |
|---|---|---|
| field* P | CustomFieldDef[] | List of custom fields defined on this server. The fields are sorted by name. |
Methods
| Methods defined in this Managed Object |
|---|
| AddCustomFieldDef, RemoveCustomFieldDef, RenameCustomFieldDef, SetField |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call. |
| name | xsd:string | The name of the field. |
Return Value
| Type | Description |
|---|---|
| CustomFieldDef |
Faults
| Type | Description |
|---|---|
| DuplicateName | Thrown if a custom field with the name already exists. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call. |
| key | xsd:int | The unique key for the field definition. |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if no custom field with that key exists. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call. |
| key | xsd:int | The unique key for the field definition. |
| name | xsd:string | The new name for the fieldp |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| DuplicateName | Thrown if a custom field with the name already exists. |
| InvalidArgument | Thrown if no custom field with that key exists. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the CustomFieldsManager used to make the method call. |
| entity P | ManagedObjectReference
to a ManagedEntity | |
| key | xsd:int | |
| value | xsd:string |
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| InvalidArgument | Thrown if no custom field with that key exists. |
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |