
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
2.1 KiB
2.1 KiB
vim.PerformanceManager.MetricId
- This data object type contains information that associates a performance counter with a performance metric. When constructing this data object for the metricId property of the PerfQuerySpec to submit to one of the PerformanceManager query operations, the instance property supports these special characters:
- An asterisk (*) to specify all instances of the metric for the specified
- counterId
- Double-quotes ("") to specify aggregated statistics
- extends
- Attributes:
-
counterId (int):
The ID of the counter for the metric.
instance (str):
- An identifier that is derived from configuration names for the device associated with the metric. It identifies the instance of the metric with its source. This property may be empty.
-
- For memory and aggregated statistics, this property is empty.
- For host and virtual machine devices, this property contains the name of the device, such as the name of the host-bus adapter or the name of the virtual Ethernet adapter. For example,
- mpx
- vmhba33
- C0
- T0
- L0
- or
- vmnic0
- For a CPU, this property identifies the numeric position within the CPU core, such as 0, 1, 2, 3.
- For a virtual disk, this property identifies the file type:
- DISKFILE, for virtual machine base-disk files
- SWAPFILE, for virtual machine swap files
- DELTAFILE, for virtual machine snapshot overhead files
- OTHERFILE, for all other files of a virtual machine