mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fixed docs for cloud modules (#23745)
* Fixed docs for cloud modules * removed blank line in ec2_snapshot_facts
This commit is contained in:
parent
ce99ffe205
commit
1d0a629dcc
82 changed files with 335 additions and 232 deletions
|
@ -131,6 +131,7 @@ affinity_group:
|
|||
description: "Dictionary of all the affinity group attributes. Affinity group attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/affinity_group."
|
||||
returned: On success if affinity group is found.
|
||||
type: str
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -90,6 +90,7 @@ id:
|
|||
affinity_label:
|
||||
description: "Dictionary of all the affinity label attributes. Affinity label attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/affinity_label."
|
||||
type: dict
|
||||
returned: On success if affinity label is found.
|
||||
'''
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ RETURN = '''
|
|||
ovirt_auth:
|
||||
description: Authentication facts, needed to perform authentication to oVirt/RHV.
|
||||
returned: success
|
||||
type: dictionary
|
||||
type: complex
|
||||
contains:
|
||||
token:
|
||||
description: SSO token which is used for connection to oVirt/RHV engine.
|
||||
|
|
|
@ -256,6 +256,7 @@ id:
|
|||
cluster:
|
||||
description: "Dictionary of all the cluster attributes. Cluster attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/cluster."
|
||||
type: dict
|
||||
returned: On success if cluster is found.
|
||||
'''
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ data_center:
|
|||
description: "Dictionary of all the datacenter attributes. Datacenter attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/datacenter."
|
||||
returned: "On success if datacenter is found."
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -196,12 +196,14 @@ disk:
|
|||
description: "Dictionary of all the disk attributes. Disk attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/disk."
|
||||
returned: "On success if disk is found and C(vm_id) or C(vm_name) wasn't passed."
|
||||
type: dict
|
||||
|
||||
disk_attachment:
|
||||
description: "Dictionary of all the disk attachment attributes. Disk attachment attributes can be found
|
||||
on your oVirt/RHV instance at following url:
|
||||
https://ovirt.example.com/ovirt-engine/api/model#types/disk_attachment."
|
||||
returned: "On success if disk is found and C(vm_id) or C(vm_name) was passed and VM was found."
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import os
|
||||
|
|
|
@ -88,6 +88,7 @@ group:
|
|||
description: "Dictionary of all the group attributes. Group attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/group."
|
||||
returned: On success if group is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -136,6 +136,7 @@ host_nic:
|
|||
description: "Dictionary of all the host NIC attributes. Host NIC attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/host_nic."
|
||||
returned: On success if host NIC is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -112,6 +112,7 @@ agent:
|
|||
description: "Dictionary of all the agent attributes. Agent attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/agent."
|
||||
returned: On success if agent is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -176,6 +176,7 @@ host:
|
|||
description: "Dictionary of all the host attributes. Host attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/host."
|
||||
returned: On success if host is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -84,6 +84,7 @@ template:
|
|||
description: "Dictionary of all the MAC pool attributes. MAC pool attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/mac_pool."
|
||||
returned: On success if MAC pool is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -101,6 +101,7 @@ network:
|
|||
description: "Dictionary of all the network attributes. Network attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/network."
|
||||
returned: "On success if network is found."
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -107,6 +107,7 @@ nic:
|
|||
description: "Dictionary of all the network interface attributes. Network interface attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/nic."
|
||||
returned: On success if network interface is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -122,6 +122,7 @@ permission:
|
|||
description: "Dictionary of all the permission attributes. Permission attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/permission."
|
||||
returned: On success if permission is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -125,6 +125,7 @@ quota:
|
|||
description: "Dictionary of all the quota attributes. Quota attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/quota."
|
||||
returned: On success if quota is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -107,6 +107,7 @@ snapshot:
|
|||
description: "Dictionary of all the snapshot attributes. Snapshot attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/snapshot."
|
||||
returned: On success if snapshot is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
@ -181,6 +181,7 @@ storage_domain:
|
|||
description: "Dictionary of all the storage domain attributes. Storage domain attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/storage_domain."
|
||||
returned: On success if storage domain is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -90,6 +90,7 @@ tag:
|
|||
description: "Dictionary of all the tag attributes. Tag attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/tag."
|
||||
returned: On success if tag is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -117,6 +117,7 @@ template:
|
|||
description: "Dictionary of all the template attributes. Template attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/template."
|
||||
returned: On success if template is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import time
|
||||
|
|
|
@ -82,6 +82,7 @@ user:
|
|||
description: "Dictionary of all the user attributes. User attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/user."
|
||||
returned: On success if user is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
|
@ -106,6 +106,7 @@ vm_pool:
|
|||
description: "Dictionary of all the VM pool attributes. VM pool attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/vm_pool."
|
||||
returned: On success if VM pool is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
|
@ -493,6 +493,7 @@ vm:
|
|||
description: "Dictionary of all the VM attributes. VM attributes can be found on your oVirt/RHV instance
|
||||
at following url: https://ovirt.example.com/ovirt-engine/api/model#types/vm."
|
||||
returned: On success if VM is found.
|
||||
type: dict
|
||||
'''
|
||||
|
||||
import traceback
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue