Debian Codegraph @

ansible_collections/netapp/cloudmanager/plugins/doc_fragments/netapp.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2021, NetApp Ansible Team <[email protected]>
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 from __future__ import (absolute_import, division, print_function)
7
8 __metaclass__ = type
9
10
11 class ModuleDocFragment(object):
12 # Documentation fragment for CLOUDMANAGER
13 CLOUDMANAGER = """
14 options:
15 refresh_token:
16 type: str
17 description:
18 - The refresh token for NetApp Cloud Manager API operations.
19
20 sa_secret_key:
21 type: str
22 description:
23 - The service account secret key for NetApp Cloud Manager API operations.
24
25 sa_client_id:
26 type: str
27 description:
28 - The service account secret client ID for NetApp Cloud Manager API operations.
29
30 environment:
31 type: str
32 description:
33 - The environment for NetApp Cloud Manager API operations.
34 default: prod
35 choices: ['prod', 'stage']
36 version_added: 21.8.0
37
38 feature_flags:
39 description:
40 - Enable or disable a new feature.
41 - This can be used to enable an experimental feature or disable a new feature that breaks backward compatibility.
42 - Supported keys and values are subject to change without notice. Unknown keys are ignored.
43 type: dict
44 version_added: 21.11.0
45 notes:
46 - The modules prefixed with na_cloudmanager are built to manage CloudManager and CVO deployments in AWS/GCP/Azure clouds.
47 - If sa_client_id and sa_secret_key are provided, service account will be used in operations. refresh_token will be ignored.
48 """