Class: VCloud::InstantiateVAppTemplateParams

Inherits:
Object
  • Object
show all
Includes:
ParsesXml
Defined in:
lib/vcloud/user/instantiate_vapp_template_params.rb

Overview

Represents vApp template instantiation parameters

Instance Method Summary collapse

Methods included from ParsesXml

included, #parse_xml

Constructor Details

#initializeInstantiateVAppTemplateParams

A new instance of InstantiateVAppTemplateParams

Parameters:

  • name (String)

    Name of the vApp

  • deploy (Boolean)

    True if the vApp should be deployed at instantiation. Defaults to true.

  • power_on (Boolean)

    True if the vApp should be powered-on at instantiation. Defaults to true.

  • description (String)

    Description of the vApp

  • all_eulas_accepted (Boolean)

    True confirms acceptance of all EULAs in a vApp template. Instantiation fails if this element is missing, empty, or set to false and one or more EulaSection elements are present.

  • is_source_delete (Boolean)

    Set to true to delete the source object after the operation completes.



27
28
29
30
31
32
33
34
# File 'lib/vcloud/user/instantiate_vapp_template_params.rb', line 27

def initialize
  @name = ''
  @deploy = true
  @power_on = false
  @description = ''
  @all_eulas_accepted = false
  @is_source_delete = false
end