collection 교체

This commit is contained in:
정훈 변
2024-02-23 16:37:40 +09:00
parent b494779b5b
commit 3fd554eee9
38862 changed files with 220204 additions and 6600073 deletions

View File

@@ -5,7 +5,8 @@
#
# Copyright (C) 2018 Henryk Konsek Consulting (hekonsek@gmail.com).
#
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
from __future__ import absolute_import, division, print_function
@@ -17,17 +18,22 @@ module: scaleway_volume
short_description: Scaleway volumes management module
author: Henryk Konsek (@hekonsek)
description:
- This module manages volumes on Scaleway account
U(https://developer.scaleway.com)
- "This module manages volumes on Scaleway account U(https://developer.scaleway.com)."
extends_documentation_fragment:
- community.general.scaleway
- community.general.attributes
attributes:
check_mode:
support: full
diff_mode:
support: none
options:
state:
type: str
description:
- Indicate desired state of the volume.
- Indicate desired state of the volume.
default: present
choices:
- present
@@ -35,7 +41,7 @@ options:
region:
type: str
description:
- Scaleway region to use (for example par1).
- Scaleway region to use (for example par1).
required: true
choices:
- ams1
@@ -49,25 +55,25 @@ options:
name:
type: str
description:
- Name used to identify the volume.
- Name used to identify the volume.
required: true
project:
type: str
description:
- Scaleway project ID to which volume belongs.
- Scaleway project ID to which volume belongs.
version_added: 4.3.0
organization:
type: str
description:
- ScaleWay organization ID to which volume belongs.
- ScaleWay organization ID to which volume belongs.
size:
type: int
description:
- Size of the volume in bytes.
- Size of the volume in bytes.
volume_type:
type: str
description:
- Type of the volume (for example 'l_ssd').
- Type of the volume (for example 'l_ssd').
'''
EXAMPLES = '''
@@ -90,8 +96,8 @@ EXAMPLES = '''
RETURN = '''
data:
description: This is only present when C(state=present)
returned: when C(state=present)
description: This is only present when O(state=present).
returned: when O(state=present)
type: dict
sample: {
"volume": {
@@ -99,9 +105,9 @@ data:
"id": "c675f420-cfeb-48ff-ba2a-9d2a4dbe3fcd",
"name": "volume-0-3",
"project": "000a115d-2852-4b0a-9ce8-47f1134ba95a",
"server": null,
"size": 10000000000,
"volume_type": "l_ssd"
"server": null,
"size": 10000000000,
"volume_type": "l_ssd"
}
}
'''