ansible-collection-hetzner-.../plugins/doc_fragments/hcloud.py

29 lines
830 B
Python
Raw Normal View History

2020-03-09 13:36:01 +00:00
# -*- 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
2020-03-09 13:36:01 +00:00
__metaclass__ = type
2020-03-09 13:36:01 +00:00
class ModuleDocFragment(object):
2020-03-09 13:36:01 +00:00
DOCUMENTATION = '''
options:
api_token:
description:
- This is the API Token for the Hetzner Cloud.
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/
'''