Debian Codegraph @

ansible_collections/cisco/intersight/plugins/doc_fragments/intersight.py

raw
1 # -*- coding: utf-8 -*-
2
3 # This code is part of Ansible, but is an independent component.
4 # This particular file snippet, and this file snippet only, is BSD licensed.
5 # Modules you write using this snippet, which is embedded dynamically by Ansible
6 # still belong to the author of the module, and may assign their own license
7 # to the complete work.
8 #
9 # (c) 2016 Red Hat Inc.
10 # (c) 2017 Cisco Systems Inc.
11 #
12 # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause)
13 #
14
15
16 class ModuleDocFragment(object):
17 # Cisco Intersight doc fragment
18 DOCUMENTATION = '''
19 options:
20 api_private_key:
21 description:
22 - 'Filename (absolute path) or string of PEM formatted private key data to be used for Intersight API authentication.'
23 - If a string is used, Ansible vault should be used to encrypt string data.
24 - "Ex. ansible-vault encrypt_string --vault-id tme@/Users/dsoper/Documents/vault_password_file '-----BEGIN EC PRIVATE KEY-----"
25 - " <your private key data>"
26 - " -----END EC PRIVATE KEY-----'"
27 - If not set, the value of the INTERSIGHT_API_PRIVATE_KEY environment variable is used.
28 type: path
29 required: yes
30 api_uri:
31 description:
32 - URI used to access the Intersight API.
33 - If not set, the value of the INTERSIGHT_API_URI environment variable is used.
34 type: str
35 default: https://intersight.com/api/v1
36 api_key_id:
37 description:
38 - Public API Key ID associated with the private key.
39 - If not set, the value of the INTERSIGHT_API_KEY_ID environment variable is used.
40 type: str
41 required: yes
42 validate_certs:
43 description:
44 - Boolean control for verifying the api_uri TLS certificate
45 type: bool
46 default: yes
47 use_proxy:
48 description:
49 - If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
50 type: bool
51 default: yes
52 '''