|
|
@ -89,47 +89,47 @@ options:
|
|
|
|
required: no
|
|
|
|
required: no
|
|
|
|
default: present
|
|
|
|
default: present
|
|
|
|
choices: ['present', 'absent', 'deployed', 'undeployed']
|
|
|
|
choices: ['present', 'absent', 'deployed', 'undeployed']
|
|
|
|
username:
|
|
|
|
username:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The vCloud Air username to use during authentication
|
|
|
|
- The vCloud Air username to use during authentication
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
password:
|
|
|
|
password:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The vCloud Air password to use during authentication
|
|
|
|
- The vCloud Air password to use during authentication
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
org:
|
|
|
|
org:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The org to login to for creating vapp, mostly set when the service_type is vdc.
|
|
|
|
- The org to login to for creating vapp, mostly set when the service_type is vdc.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
instance_id:
|
|
|
|
instance_id:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The instance id in a vchs environment to be used for creating the vapp
|
|
|
|
- The instance id in a vchs environment to be used for creating the vapp
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
host:
|
|
|
|
host:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The authentication host to be used when service type is vcd.
|
|
|
|
- The authentication host to be used when service type is vcd.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
api_version:
|
|
|
|
api_version:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The api version to be used with the vca
|
|
|
|
- The api version to be used with the vca
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: "5.7"
|
|
|
|
default: "5.7"
|
|
|
|
service_type:
|
|
|
|
service_type:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The type of service we are authenticating against
|
|
|
|
- The type of service we are authenticating against
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: vca
|
|
|
|
default: vca
|
|
|
|
choices: [ "vca", "vchs", "vcd" ]
|
|
|
|
choices: [ "vca", "vchs", "vcd" ]
|
|
|
|
vdc_name:
|
|
|
|
vdc_name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The name of the vdc where the vm should be created.
|
|
|
|
- The name of the vdc where the vm should be created.
|
|
|
|
required: false
|
|
|
|
required: false
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
'''
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
EXAMPLES = '''
|
|
|
|