community.general/lib/ansible/plugins/doc_fragments/vca.py

66 lines
1.9 KiB
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Copyright: (c) 2016, Charles Paul <cpaul@ansible.com>
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
2016-01-12 17:06:22 +00:00
class ModuleDocFragment(object):
# Parameters for VCA modules
DOCUMENTATION = r'''
2016-01-12 17:06:22 +00:00
options:
username:
description:
- The vca username or email address, if not set the environment variable C(VCA_USER) is checked for the username.
type: str
aliases: [ user ]
2016-01-12 17:06:22 +00:00
password:
description:
- The vca password, if not set the environment variable C(VCA_PASS) is checked for the password.
type: str
aliases: [ pass, passwd]
2016-01-12 17:06:22 +00:00
org:
description:
- The org to login to for creating vapp.
- This option is required when the C(service_type) is I(vdc).
type: str
2016-01-12 17:06:22 +00:00
instance_id:
description:
- The instance ID in a vchs environment to be used for creating the vapp.
type: str
2016-01-12 17:06:22 +00:00
host:
description:
- The authentication host to be used when service type is vcd.
type: str
2016-01-12 17:06:22 +00:00
api_version:
description:
- The API version to be used with the vca.
type: str
2016-01-12 17:06:22 +00:00
default: "5.7"
service_type:
description:
- The type of service we are authenticating against.
type: str
choices: [ vca, vcd, vchs ]
2016-01-12 17:06:22 +00:00
default: vca
state:
description:
- Whether the object should be added or removed.
type: str
choices: [ absent, present ]
2016-01-12 17:06:22 +00:00
default: present
verify_certs:
description:
- If the certificates of the authentication is to be verified.
type: bool
default: yes
2016-01-12 17:06:22 +00:00
vdc_name:
description:
- The name of the vdc where the gateway is located.
type: str
2016-01-12 17:06:22 +00:00
gateway_name:
description:
- The name of the gateway of the vdc where the rule should be added.
type: str
2016-01-12 17:06:22 +00:00
default: gateway
'''