File: VmConfigInfo.rst

package info (click to toggle)
python-pyvmomi 6.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 14,980 kB
  • sloc: python: 9,206; xml: 77; makefile: 9
file content (41 lines) | stat: -rw-r--r-- 2,279 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
.. _str: https://docs.python.org/2/library/stdtypes.html

.. _bool: https://docs.python.org/2/library/stdtypes.html

.. _StoragePod: ../../vim/StoragePod.rst

.. _vSphere API 5.0: ../../vim/version.rst#vimversionversion7

.. _vmodl.DynamicData: ../../vmodl/DynamicData.rst

.. _vim.VirtualMachine: ../../vim/VirtualMachine.rst

.. _defaultIntraVmAffinity: ../../vim/storageDrs/PodConfigInfo.rst#defaultIntraVmAffinity

.. _StorageDrsPodConfigInfoBehavior: ../../vim/storageDrs/PodConfigInfo/Behavior.rst

.. _vim.storageDrs.VirtualDiskAntiAffinityRuleSpec: ../../vim/storageDrs/VirtualDiskAntiAffinityRuleSpec.rst


vim.storageDrs.VmConfigInfo
===========================
  Storage DRS configuration for a single virtual machine. This makes it possible to override the default behavior for an individual virtual machine.
:extends: vmodl.DynamicData_
:since: `vSphere API 5.0`_

Attributes:
    vm (`vim.VirtualMachine`_, optional):

       Reference to the virtual machine. Can be NULL during initial placement.
    enabled (`bool`_, optional):

       Flag to indicate whether or not VirtualCenter is allowed to perform any storage migration or initial placement recommendations for this virtual machine on the pod `StoragePod`_ . If this flag is false, the virtual machine is effectively excluded from storage DRS.If no individual DRS specification exists for a virtual machine, this property defaults to true.
    behavior (`str`_, optional):

       Specifies the particular storage DRS behavior for this virtual machine. For supported values, see `StorageDrsPodConfigInfoBehavior`_ .
    intraVmAffinity (`bool`_, optional):

       Specifies whether or not to have the affinity rule for the virtual disks of this virtual machine. If not set, the default value is derived from the pod-wide default `defaultIntraVmAffinity`_ .
    intraVmAntiAffinity (`vim.storageDrs.VirtualDiskAntiAffinityRuleSpec`_, optional):

       Specifies the disks for this virtual machine that should be placed on different datastores. A VM cannot have both an affinity and an anti-affinity rule at the same time. Virtual machine disks that are not in this rule are unconstrained and can be placed either on the same datastore or on a different datastore as other disks from this virtual machine.