[PR #9401/df42f29e backport][stable-10] [def]*.py: normalize docs (#9413)

[def]*.py: normalize docs (#9401)

* [def]*.py: normalize docs

* Update plugins/modules/datadog_monitor.py

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit df42f29e53)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-12-26 22:44:35 +01:00 committed by GitHub
commit 0df708b15a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 1300 additions and 1431 deletions

View file

@ -12,52 +12,50 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = '''
---
DOCUMENTATION = r"""
module: emc_vnx_sg_member
short_description: Manage storage group member on EMC VNX
description:
- "This module manages the members of an existing storage group."
- This module manages the members of an existing storage group.
extends_documentation_fragment:
- community.general.emc.emc_vnx
- community.general.attributes
- community.general.emc.emc_vnx
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
check_mode:
support: full
diff_mode:
support: none
options:
name:
description:
- Name of the Storage group to manage.
required: true
type: str
lunid:
description:
- Lun id to be added.
required: true
type: int
state:
description:
- Indicates the desired lunid state.
- V(present) ensures specified lunid is present in the Storage Group.
- V(absent) ensures specified lunid is absent from Storage Group.
default: present
choices: [ "present", "absent"]
type: str
name:
description:
- Name of the Storage group to manage.
required: true
type: str
lunid:
description:
- Lun id to be added.
required: true
type: int
state:
description:
- Indicates the desired lunid state.
- V(present) ensures specified O(lunid) is present in the Storage Group.
- V(absent) ensures specified O(lunid) is absent from Storage Group.
default: present
choices: ["present", "absent"]
type: str
author:
- Luca 'remix_tj' Lorenzetto (@remixtj)
'''
- Luca 'remix_tj' Lorenzetto (@remixtj)
"""
EXAMPLES = '''
EXAMPLES = r"""
- name: Add lun to storage group
community.general.emc_vnx_sg_member:
name: sg01
@ -75,14 +73,14 @@ EXAMPLES = '''
sp_password: sysadmin
lunid: 100
state: absent
'''
"""
RETURN = '''
RETURN = r"""
hluid:
description: LUNID that hosts attached to the storage group will see.
type: int
returned: success
'''
description: LUNID that hosts attached to the storage group will see.
type: int
returned: success
"""
import traceback