Files
deb-python-pyvmomi/docs/vim/host/VsanInternalSystem.rst
Shawn Hartsock 15f7be9a52 pyVmomi reStructured Text Documentation
This external documentation for pyVmomi was generated using Googly Docs
(aka Google Standard Documentation) which renders very cleanly in
GitHub. Internal documentation for a class should be done in Sphinx
format because tools like pyCharm and Eclipse can use that documentation
as a hint for code completion.

Note: External docs as Googly Docs, internal docs as Sphinx.

Closes bug#15
2014-06-17 14:07:42 -04:00

2.5 KiB

vim.host.VsanInternalSystem

The VsanInternalSystem exposes low level access to CMMDS, as well as draft versions of VSAN object and disk management APIs that are subject to change in future releases. No compatibility is guaranteed on any of the APIs, including their prototype, behavior or result encoding.

since

vSphere API 5.5

Attributes

Methods

QueryCmmds(queries):

Query CMMDS directly. The list of given queries is executed and all results are returned in a flat list. No attempt is made to de-dupe results in the case of overlapping query results.

Privilege:

System.Read

Args:
queries (vim.host.VsanInternalSystem.CmmdsQuery):

List of CMMDS query specs.

Returns:
str:

JSON string with the results

QueryPhysicalVsanDisks(props):

Query statistics about physical VSAN disks. Using the props parameter the caller can control which properties are returned. Requesting only the required properties is encouraged to reduce server load, response time and client load.

Privilege:

System.Read

Args:
props (str, optional):

List of properties to gather. Not specifying a list will fetch all properties.

Returns:
str:

JSON string with the results

QueryVsanObjects(uuids):

Query information about VSAN DOM objects. Retrieves information about the given set of DOM object UUIDs. In order to make this API efficient, the output of this API contains the found DOM_OBJECT, and referenced LSOM_OBJECT and DISK entries.

Privilege:

System.Read

Args:
uuids (str, optional):

List of VSAN/DOM object UUIDs.

Returns:
str:

JSON string with the results

QueryObjectsOnPhysicalVsanDisk(disks):

Query DOM objects on a given set of physical disks. Finds all DOM objects that have at least one component on the given physical disks. In order to make this API efficient, the output of this API contains the found DOM_OBJECT, and referenced LSOM_OBJECT and DISK entries.

Privilege:

System.Read

Args:
disks (str):

List of VSAN disk UUIDs.

Returns:
str:

JSON string with the results