[stable-10] Adjust YAML in module docs (#10240) (#10257)

Adjust YAML in module docs (#10240)

* Adjust YAML in module docs.

* adjust modules

---------


(cherry picked from commit e8f965fbf8)

Co-authored-by: Alexei Znamensky <russoz@gmail.com>
This commit is contained in:
Felix Fontein 2025-06-16 18:02:09 +02:00 committed by GitHub
parent 8196cacff8
commit 2b48825499
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
87 changed files with 2071 additions and 1660 deletions

View file

@ -116,21 +116,22 @@ EXAMPLES = r"""
RETURN = r"""
data:
description: This is only present when O(state=present).
returned: when O(state=present)
type: dict
sample: {
"scaleway_security_group_rule": {
"direction": "inbound",
"protocol": "TCP",
"ip_range": "0.0.0.0/0",
"dest_port_from": 80,
"action": "accept",
"position": 2,
"dest_port_to": null,
"editable": null,
"id": "10cb0b9a-80f6-4830-abd7-a31cd828b5e9"
}
description: This is only present when O(state=present).
returned: when O(state=present)
type: dict
sample:
{
"scaleway_security_group_rule": {
"direction": "inbound",
"protocol": "TCP",
"ip_range": "0.0.0.0/0",
"dest_port_from": 80,
"action": "accept",
"position": 2,
"dest_port_to": null,
"editable": null,
"id": "10cb0b9a-80f6-4830-abd7-a31cd828b5e9"
}
}
"""