summaryrefslogtreecommitdiffstats
path: root/ansible_collections/hetzner/hcloud/plugins/doc_fragments/hcloud.py
blob: d19e64616e87feb7ee64285c3f0e1d5daff791d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- coding: utf-8 -*-
# Copyright: (c) 2019, Hetzner Cloud GmbH <info@hetzner-cloud.de>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


class ModuleDocFragment(object):
    DOCUMENTATION = '''
options:
    api_token:
        description:
            - This is the API Token for the Hetzner Cloud.
            - You can also set this option by using the environment variable HCLOUD_TOKEN
        required: True
        type: str
    endpoint:
        description:
            - This is the API Endpoint for the Hetzner Cloud.
        default: https://api.hetzner.cloud/v1
        type: str
requirements:
  - hcloud-python >= 1.0.0
seealso:
- name: Documentation for Hetzner Cloud API
  description: Complete reference for the Hetzner Cloud API.
  link: https://docs.hetzner.cloud/
'''