Class: Ansible::Ruby::Modules::Cs_template

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#accountObject?

Returns Account the template, snapshot or VM is related to.

Returns:

  • (Object, nil)

    Account the template, snapshot or VM is related to.



61
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 61

attribute :account

#bitsString?

Returns 32 or 64 bits support.

Returns:

  • (String, nil)

    32 or 64 bits support.



109
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 109

attribute :bits

#checksumBoolean?

Returns The MD5 checksum value of this template.,If set, we search by checksum instead of name.

Returns:

  • (Boolean, nil)

    The MD5 checksum value of this template.,If set, we search by checksum instead of name.



30
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 30

attribute :checksum

#cross_zonesBoolean?

Returns Whether the template should be syned or removed across zones.,Only used if C(state) is present or absent.

Returns:

  • (Boolean, nil)

    Whether the template should be syned or removed across zones.,Only used if C(state) is present or absent.



50
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 50

attribute :cross_zones

#detailsObject?

Returns Template details in key/value pairs.

Returns:

  • (Object, nil)

    Template details in key/value pairs.



106
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 106

attribute :details

#display_textObject?

Returns Display text of the template.

Returns:

  • (Object, nil)

    Display text of the template.



113
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 113

attribute :display_text

#domainObject?

Returns Domain the template, snapshot or VM is related to.

Returns:

  • (Object, nil)

    Domain the template, snapshot or VM is related to.



58
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 58

attribute :domain

#format:QCOW2, ...

Returns The format for the template.,Relevant when using C(state=present).

Returns:

  • (:QCOW2, :RAW, :VHD, :OVA, nil)

    The format for the template.,Relevant when using C(state=present).



98
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 98

attribute :format

#hypervisor:KVM, ...

Returns Name the hypervisor to be used for creating the new template.,Relevant when using C(state=present).

Returns:

  • (:KVM, :VMware, :BareMetal, :XenServer, :LXC, :HyperV, :UCS, :OVM, nil)

    Name the hypervisor to be used for creating the new template.,Relevant when using C(state=present).



75
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 75

attribute :hypervisor

#is_dynamically_scalableBoolean?

Returns Register the template having XS/VMWare tools installed in order to support dynamic scaling of VM CPU/memory.,Only used if C(state) is present.

Returns:

  • (Boolean, nil)

    Register the template having XS/VMWare tools installed in order to support dynamic scaling of VM CPU/memory.,Only used if C(state) is present.



46
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 46

attribute :is_dynamically_scalable

#is_extractableBoolean?

Returns True if the template or its derivatives are extractable.

Returns:

  • (Boolean, nil)

    True if the template or its derivatives are extractable.



102
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 102

attribute :is_extractable

Returns Register the template to be featured.,Only used if C(state) is present.

Returns:

  • (Boolean, nil)

    Register the template to be featured.,Only used if C(state) is present.



42
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 42

attribute :is_featured

#is_publicBoolean?

Returns Register the template to be publicly available to all users.,Only used if C(state) is present.

Returns:

  • (Boolean, nil)

    Register the template to be publicly available to all users.,Only used if C(state) is present.



38
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 38

attribute :is_public

#is_readyBoolean?

Returns This flag is used for searching existing templates.,If set to C(true), it will only list template ready for deployment e.g. successfully downloaded and installed.,Recommended to set it to C(false).

Returns:

  • (Boolean, nil)

    This flag is used for searching existing templates.,If set to C(true), it will only list template ready for deployment e.g. successfully downloaded and installed.,Recommended to set it to C(false).



34
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 34

attribute :is_ready

#is_routingBoolean?

Returns True if the template type is routing i.e., if template is used to deploy router.,Only considered if C(url) is used.

Returns:

  • (Boolean, nil)

    True if the template type is routing i.e., if template is used to deploy router.,Only considered if C(url) is used.



94
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 94

attribute :is_routing

#mode:http_download, ...

Returns Mode for the template extraction.,Only used if C(state=extracted).

Returns:

  • (:http_download, :ftp_upload, nil)

    Mode for the template extraction.,Only used if C(state=extracted).



54
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 54

attribute :mode

#nameString

Returns Name of the template.

Returns:

  • (String)

    Name of the template.



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 10

attribute :name

#os_typeString?

Returns OS type that best represents the OS of this template.

Returns:

  • (String, nil)

    OS type that best represents the OS of this template.



26
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 26

attribute :os_type

#password_enabledBoolean?

Returns True if the template supports the password reset feature.

Returns:

  • (Boolean, nil)

    True if the template supports the password reset feature.



83
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 83

attribute :password_enabled

#poll_asyncBoolean?

Returns Poll async jobs until job has finished.

Returns:

  • (Boolean, nil)

    Poll async jobs until job has finished.



120
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 120

attribute :poll_async

#projectObject?

Returns Name of the project the template to be registered in.

Returns:

  • (Object, nil)

    Name of the project the template to be registered in.



64
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 64

attribute :project

#requires_hvmBoolean?

Returns true if this template requires HVM.

Returns:

  • (Boolean, nil)

    true if this template requires HVM.



79
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 79

attribute :requires_hvm

#snapshotString?

Returns Name of the snapshot, created from the VM ROOT volume, the template will be created from.,C(vm) is required together with this argument.

Returns:

  • (String, nil)

    Name of the snapshot, created from the VM ROOT volume, the template will be created from.,C(vm) is required together with this argument.



22
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 22

attribute :snapshot

#sshkey_enabledBoolean?

Returns True if the template supports the sshkey upload feature.

Returns:

  • (Boolean, nil)

    True if the template supports the sshkey upload feature.



90
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 90

attribute :sshkey_enabled

#state:present, ...

Returns State of the template.

Returns:

  • (:present, :absent, :extacted, nil)

    State of the template.



116
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 116

attribute :state

#template_filter:featured, ...

Returns Name of the filter used to search for the template.

Returns:

  • (:featured, :self, :selfexecutable, :sharedexecutable, :executable, :community, nil)

    Name of the filter used to search for the template.



71
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 71

attribute :template_filter

#template_tagObject?

Returns the tag for this template.

Returns:

  • (Object, nil)

    the tag for this template.



87
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 87

attribute :template_tag

#urlString?

Returns URL of where the template is hosted on C(state=present).,URL to which the template would be extracted on C(state=extracted).,Mutually exclusive with C(vm).

Returns:

  • (String, nil)

    URL of where the template is hosted on C(state=present).,URL to which the template would be extracted on C(state=extracted).,Mutually exclusive with C(vm).



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 14

attribute :url

#vmString?

Returns VM name the template will be created from its volume or alternatively from a snapshot.,VM must be in stopped state if created from its volume.,Mutually exclusive with C(url).

Returns:

  • (String, nil)

    VM name the template will be created from its volume or alternatively from a snapshot.,VM must be in stopped state if created from its volume.,Mutually exclusive with C(url).



18
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 18

attribute :vm

#zoneString?

Returns Name of the zone you wish the template to be registered or deleted from.,If not specified, first found zone will be used.

Returns:

  • (String, nil)

    Name of the zone you wish the template to be registered or deleted from.,If not specified, first found zone will be used.



67
# File 'lib/ansible/ruby/modules/generated/extras/cloud/cloudstack/cs_template.rb', line 67

attribute :zone