module_utils: ovirt: Add support to fetch nested object's attributes (#18666)

* module_utils: ovirt: Add support to fetch nested object's attributes

This patch fixes issue #3555

* Update documentation
This commit is contained in:
Ondra Machacek 2016-12-05 21:23:42 +01:00 committed by Ryan Brown
commit f1812b0f15
3 changed files with 109 additions and 4 deletions

View file

@ -25,7 +25,18 @@ class ModuleDocFragment(object):
options:
wait:
description:
- "True if the module should wait for the entity to get into desired state."
- "I(True) if the module should wait for the entity to get into desired state."
fetch_nested:
description:
- "If I(True) the module will fetch additional data from the API."
- "It will fetch IDs of the VMs disks, snapshots, etc. User can configure to fetch other
attributes of the nested entities by specifing C(nested_attributes)."
version_added: "2.3"
nested_attributes:
description:
- "Specifies list of the attributes which should be fetched from the API."
- "This parameter apply only when C(fetch_nested) is I(true)."
version_added: "2.3"
auth:
required: True
description: