Tweaked docs formatting.
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
|
||||
vim.Datacenter
|
||||
==============
|
||||
The `Datacenter`_ managed object provides the interface to the common container object for hosts, virtual machines, networks, and datastores. These entities must be under a distinct datacenter in the inventory, and datacenters may not be nested under other datacenters.Every `Datacenter`_ has the following set of dedicated folders. These folders are empty until you create entities for the Datacenter.
|
||||
The `Datacenter`_ managed object provides the interface to the common container object for hosts, virtual machines, networks, and datastores. These entities must be under a distinct datacenter in the inventory, and datacenters may not be nested under other datacenters. Every `Datacenter`_ has the following set of dedicated folders. These folders are empty until you create entities for the Datacenter.
|
||||
* A folder for `VirtualMachine`_, template, and `VirtualApp`_ objects.
|
||||
* A folder for a `ComputeResource`_ hierarchy.
|
||||
* A folder for `Network`_ , `DistributedVirtualSwitch`_ , and `DistributedVirtualPortgroup`_ objects.
|
||||
|
@@ -170,7 +170,7 @@ PostEvent(eventToPost, taskInfo):
|
||||
Posts the specified event, optionally associating it with a task. The event being posted should have the following info in it:
|
||||
* The ManagedEntity on which the event is being posted should be set in the appropriate `EntityEventArgument`_ field of the base `Event`_ class. It is OK to not set any entity, in which case the event is treated as an event about the system.
|
||||
* Some Event fields (`key`_, `chainId`_, `createdTime`_) are mandatory because of the nature of the structure, but any caller-supplied values will be overwritten by the system.
|
||||
* If the event being posted is to be associated with an existing Task, the appropriate TaskInfo needs to be passed in. This task can either be one returned from a vSphere API operation or an extension task created by calling TaskManager#createTask.
|
||||
If the event being posted is to be associated with an existing Task, the appropriate TaskInfo needs to be passed in. This task can either be one returned from a vSphere API operation or an extension task created by calling TaskManager#createTask.
|
||||
since: `VI API 2.5`_
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user