File: ApplyRecommendationResult.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 (25 lines) | stat: -rw-r--r-- 1,303 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
.. _result: ../../vim/TaskInfo.rst#result

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

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

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

.. _RecommendDatastores: ../../vim/StorageResourceManager.rst#recommendDatastores

.. _DatastoreEnterMaintenanceMode: ../../vim/Datastore.rst#enterMaintenanceMode

.. _ApplyStorageDrsRecommendation_Task: ../../vim/StorageResourceManager.rst#applyRecommendation


vim.storageDrs.ApplyRecommendationResult
========================================
  Both `RecommendDatastores`_ and `DatastoreEnterMaintenanceMode`_ methods may invoke Storage DRS for recommendations on placing or evacuating virtual disks. All initial placement recommendations, and some enterMaintenanceMode recommendations need to be approved by the user. Recommendations that are approved will be applied using the `ApplyStorageDrsRecommendation_Task`_ method. This class encapsulates the result of applying a subset of the recommendations.
:extends: vmodl.DynamicData_
:since: `vSphere API 5.0`_

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

       The result applying the recommendation, if it was successful. This is the equivalent of the `result`_ key for the task launched when the recommendation was applied.