Debian Codegraph @

ansible_collections/pcg/alpaca_operator/plugins/doc_fragments/api_connection.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: Contributors to the Ansible project
4 # Apache License, Version 2.0 (see LICENSE or https://www.apache.org/licenses/LICENSE-2.0)
5
6 from __future__ import (absolute_import, division, print_function)
7 __metaclass__ = type
8
9
10 class ModuleDocFragment(object):
11 DOCUMENTATION = r'''
12 ---
13 options:
14 api_connection:
15 description: Connection details for accessing the ALPACA Operator API.
16 version_added: '2.0.0'
17 required: true
18 type: dict
19 suboptions:
20 username:
21 description: Username for authentication against the ALPACA Operator API.
22 version_added: '1.0.0'
23 required: true
24 type: str
25 password:
26 description: Password for authentication against the ALPACA Operator API.
27 version_added: '1.0.0'
28 required: true
29 type: str
30 protocol:
31 description: Protocol to use. Can be V(http) or V(https).
32 version_added: '1.0.0'
33 required: false
34 default: https
35 choices: [http, https]
36 type: str
37 host:
38 description: Hostname of the ALPACA Operator server.
39 version_added: '1.0.0'
40 required: false
41 default: localhost
42 type: str
43 port:
44 description: Port of the ALPACA Operator API.
45 version_added: '1.0.0'
46 required: false
47 default: 8443
48 type: int
49 tls_verify:
50 description: Validate SSL certificates.
51 version_added: '1.0.0'
52 required: false
53 default: true
54 type: bool
55 '''