Class: Ansible::Ruby::Modules::Vca_vapp

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb

Overview

This module will actively managed vCloud Air vApp instances. Instances can be created and deleted as well as both deployed and undeployed.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#api_versionString?

Returns The api version to be used with the vca.

Returns:

  • (String, nil)

    The api version to be used with the vca



62
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 62

attribute :api_version

#hostObject?

Returns The authentication host to be used when service type is vcd.

Returns:

  • (Object, nil)

    The authentication host to be used when service type is vcd.



59
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 59

attribute :host

#instance_idString?

Returns The instance id in a vchs environment to be used for creating the vapp.

Returns:

  • (String, nil)

    The instance id in a vchs environment to be used for creating the vapp



55
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 55

attribute :instance_id

#network_mode:pool, ...

Returns Configures the mode of the network connection.

Returns:

  • (:pool, :dhcp, :static, nil)

    Configures the mode of the network connection.



23
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 23

attribute :network_mode

#network_nameObject?

Returns The name of the network that should be attached to the virtual machine in the vApp. The virtual network specified must already be created in the vCloud Air VDC. If the I(state) is not ‘absent’ then the I(network_name) argument must be provided.

Returns:

  • (Object, nil)

    The name of the network that should be attached to the virtual machine in the vApp. The virtual network specified must already be created in the vCloud Air VDC. If the I(state) is not ‘absent’ then the I(network_name) argument must be provided.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 20

attribute :network_name

#operation:noop, ...

Returns Specifies an operation to be performed on the vApp.

Returns:

  • (:noop, :poweron, :poweroff, :suspend, :shutdown, :reboot, :reset, nil)

    Specifies an operation to be performed on the vApp.



36
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 36

attribute :operation

#orgObject?

Returns The org to login to for creating vapp, mostly set when the service_type is vdc.

Returns:

  • (Object, nil)

    The org to login to for creating vapp, mostly set when the service_type is vdc.



52
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 52

attribute :org

#passwordString?

Returns The vCloud Air password to use during authentication.

Returns:

  • (String, nil)

    The vCloud Air password to use during authentication



48
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 48

attribute :password

#service_type:vca, ...

Returns The type of service we are authenticating against.

Returns:

  • (:vca, :vchs, :vcd, nil)

    The type of service we are authenticating against



66
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 66

attribute :service_type

#state:present, ...

Returns Configures the state of the vApp.

Returns:

  • (:present, :absent, :deployed, :undeployed, nil)

    Configures the state of the vApp.



40
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 40

attribute :state

#template_nameString?

Returns The name of the vApp template to use to create the vApp instance. If the I(state) is not ‘absent` then the I(template_name) value must be provided. The I(template_name) must be previously uploaded to the catalog specified by I(catalog_name).

Returns:

  • (String, nil)

    The name of the vApp template to use to create the vApp instance. If the I(state) is not ‘absent` then the I(template_name) value must be provided. The I(template_name) must be previously uploaded to the catalog specified by I(catalog_name)



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 16

attribute :template_name

#usernameString?

Returns The vCloud Air username to use during authentication.

Returns:

  • (String, nil)

    The vCloud Air username to use during authentication



44
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 44

attribute :username

#vapp_nameString

Returns The name of the vCloud Air vApp instance.

Returns:

  • (String)

    The name of the vCloud Air vApp instance



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 12

attribute :vapp_name

#vdc_nameString?

Returns The name of the virtual data center (VDC) where the vm should be created or contains the vAPP.

Returns:

  • (String, nil)

    The name of the virtual data center (VDC) where the vm should be created or contains the vAPP.



70
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 70

attribute :vdc_name

#vm_cpusObject?

Returns The number of vCPUs to configure for the VM in the vApp. If the I(vm_name) argument is provided, then this becomes a per VM setting otherwise it is applied to all VMs in the vApp.

Returns:

  • (Object, nil)

    The number of vCPUs to configure for the VM in the vApp. If the I(vm_name) argument is provided, then this becomes a per VM setting otherwise it is applied to all VMs in the vApp.



30
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 30

attribute :vm_cpus

#vm_memoryObject?

Returns The amount of memory in MB to allocate to VMs in the vApp. If the I(vm_name) argument is provided, then this becomes a per VM setting otherise it is applied to all VMs in the vApp.

Returns:

  • (Object, nil)

    The amount of memory in MB to allocate to VMs in the vApp. If the I(vm_name) argument is provided, then this becomes a per VM setting otherise it is applied to all VMs in the vApp.



33
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 33

attribute :vm_memory

#vm_nameObject?

Returns The name of the virtual machine instance in the vApp to manage.

Returns:

  • (Object, nil)

    The name of the virtual machine instance in the vApp to manage.



27
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vca_vapp.rb', line 27

attribute :vm_name