2020-03-09 13:36:01 +00:00
|
|
|
# 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)
|
|
|
|
|
|
|
|
|
2023-11-23 13:53:10 +00:00
|
|
|
from __future__ import annotations
|
|
|
|
|
|
|
|
|
2023-06-27 09:50:13 +00:00
|
|
|
class ModuleDocFragment:
|
|
|
|
DOCUMENTATION = """
|
2020-03-09 13:36:01 +00:00
|
|
|
options:
|
2023-11-21 09:13:21 +00:00
|
|
|
api_token:
|
|
|
|
description:
|
|
|
|
- The API Token for the Hetzner Cloud.
|
|
|
|
- You can also set this option by using the C(HCLOUD_TOKEN) environment variable.
|
|
|
|
required: True
|
|
|
|
type: str
|
|
|
|
api_endpoint:
|
|
|
|
description:
|
|
|
|
- The API Endpoint for the Hetzner Cloud.
|
|
|
|
- You can also set this option by using the C(HCLOUD_ENDPOINT) environment variable.
|
|
|
|
default: https://api.hetzner.cloud/v1
|
|
|
|
type: str
|
|
|
|
aliases: [endpoint]
|
|
|
|
|
2020-03-09 13:36:01 +00:00
|
|
|
requirements:
|
2023-07-11 09:15:08 +00:00
|
|
|
- python-dateutil >= 2.7.5
|
|
|
|
- requests >=2.20
|
2023-11-21 09:13:21 +00:00
|
|
|
|
2020-03-09 13:36:01 +00:00
|
|
|
seealso:
|
2023-11-21 09:13:21 +00:00
|
|
|
- name: Documentation for Hetzner Cloud API
|
|
|
|
description: Complete reference for the Hetzner Cloud API.
|
|
|
|
link: https://docs.hetzner.cloud
|
2023-06-27 09:50:13 +00:00
|
|
|
"""
|