Debian Codegraph @

ansible_collections/community/general/plugins/doc_fragments/_hwc.py

raw
1 # Copyright (c) 2018, Huawei Inc.
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 # Note that this doc fragment is **PRIVATE** to the collection. It can have breaking changes at any time.
6 # Do not use this from other collections or standalone plugins/modules!
7
8 from __future__ import annotations
9
10
11 class ModuleDocFragment:
12 # HWC doc fragment.
13 DOCUMENTATION = r"""
14 options:
15 identity_endpoint:
16 description:
17 - The Identity authentication URL.
18 type: str
19 required: true
20 user:
21 description:
22 - The user name to login with.
23 - Currently only user names are supported, and not user IDs.
24 type: str
25 required: true
26 password:
27 description:
28 - The password to login with.
29 type: str
30 required: true
31 domain:
32 description:
33 - The name of the Domain to scope to (Identity v3).
34 - Currently only domain names are supported, and not domain IDs.
35 type: str
36 required: true
37 project:
38 description:
39 - The name of the Tenant (Identity v2) or Project (Identity v3).
40 - Currently only project names are supported, and not project IDs.
41 type: str
42 required: true
43 region:
44 description:
45 - The region to which the project belongs.
46 type: str
47 id:
48 description:
49 - The ID of resource to be managed.
50 type: str
51 notes:
52 - For authentication, you can set identity_endpoint using the E(ANSIBLE_HWC_IDENTITY_ENDPOINT) environment variable.
53 - For authentication, you can set user using the E(ANSIBLE_HWC_USER) environment variable.
54 - For authentication, you can set password using the E(ANSIBLE_HWC_PASSWORD) environment variable.
55 - For authentication, you can set domain using the E(ANSIBLE_HWC_DOMAIN) environment variable.
56 - For authentication, you can set project using the E(ANSIBLE_HWC_PROJECT) environment variable.
57 - For authentication, you can set region using the E(ANSIBLE_HWC_REGION) environment variable.
58 - Environment variables values are only used when the playbook values are not set.
59 """