mirror of
https://github.com/ansible-collections/hetzner.hcloud.git
synced 2026-02-04 08:01:49 +00:00
##### SUMMARY We collect all changes for the Storage Box support in this PR. It will only be merged when everything is implemented through smaller pull requests targeting the `storage-boxes` branch. --------- Co-authored-by: Julian Tölle <julian.toelle@hetzner-cloud.de>
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# 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 annotations
|
|
|
|
|
|
class ModuleDocFragment:
|
|
DOCUMENTATION = """
|
|
options:
|
|
api_token:
|
|
description:
|
|
- The token for the Hetzner Cloud API.
|
|
- You can also set this option by using the C(HCLOUD_TOKEN) environment variable.
|
|
required: True
|
|
type: str
|
|
api_endpoint:
|
|
description:
|
|
- The endpoint for the Hetzner Cloud API.
|
|
- You can also set this option by using the C(HCLOUD_ENDPOINT) environment variable.
|
|
default: https://api.hetzner.cloud/v1
|
|
type: str
|
|
aliases: [endpoint]
|
|
api_endpoint_hetzner:
|
|
description:
|
|
- The endpoint for the Hetzner API.
|
|
- You can also set this option by using the C(HETZNER_ENDPOINT) environment variable.
|
|
default: https://api.hetzner.com/v1
|
|
type: str
|
|
|
|
requirements:
|
|
- python-dateutil >= 2.7.5
|
|
- requests >=2.20
|
|
|
|
seealso:
|
|
- name: Documentation for Hetzner APIs
|
|
description: Complete reference for the Hetzner APIs.
|
|
link: https://docs.hetzner.cloud
|
|
"""
|