Class: Ansible::Ruby::Modules::Sl_vm

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

Overview

Creates or cancels SoftLayer instances. When created, optionally waits for it to be ‘running’.

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

#cpusObject

Returns Count of cpus to be assigned to new virtual instance.

Returns:

  • (Object)

    Count of cpus to be assigned to new virtual instance.



44
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 44

attribute :cpus

#datacenterObject?

Returns Datacenter for the virtual instance to be deployed.

Returns:

  • (Object, nil)

    Datacenter for the virtual instance to be deployed.



22
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 22

attribute :datacenter

#dedicated:yes, ...

Returns Flag to determine if the instance should be deployed in dedicated space.

Returns:

  • (:yes, :no, nil)

    Flag to determine if the instance should be deployed in dedicated space.



36
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 36

attribute :dedicated

#disksInteger

Returns List of disk sizes to be assigned to new virtual instance.

Returns:

  • (Integer)

    List of disk sizes to be assigned to new virtual instance.



52
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 52

attribute :disks

#domainObject?

Returns Domain name to be provided to a virtual instance.

Returns:

  • (Object, nil)

    Domain name to be provided to a virtual instance.



19
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 19

attribute :domain

#hostnameObject?

Returns Hostname to be provided to a virtual instance.

Returns:

  • (Object, nil)

    Hostname to be provided to a virtual instance.



16
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 16

attribute :hostname

#hourly:yes, ...

Returns Flag to determine if the instance should be hourly billed.

Returns:

  • (:yes, :no, nil)

    Flag to determine if the instance should be hourly billed.



28
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 28

attribute :hourly

#image_idObject?

Returns Image Template to be used for new virtual instance.

Returns:

  • (Object, nil)

    Image Template to be used for new virtual instance.



59
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 59

attribute :image_id

#instance_idObject?

Returns Instance Id of the virtual instance to perform action option.

Returns:

  • (Object, nil)

    Instance Id of the virtual instance to perform action option.



13
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 13

attribute :instance_id

#local_disk:yes, ...

Returns Flag to determine if local disk should be used for the new instance.

Returns:

  • (:yes, :no, nil)

    Flag to determine if local disk should be used for the new instance.



40
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 40

attribute :local_disk

#memoryObject

Returns Amount of memory to be assigned to new virtual instance.

Returns:

  • (Object)

    Amount of memory to be assigned to new virtual instance.



48
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 48

attribute :memory

#nic_speedInteger?

Returns NIC Speed to be assigned to new virtual instance.

Returns:

  • (Integer, nil)

    NIC Speed to be assigned to new virtual instance.



62
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 62

attribute :nic_speed

#os_codeObject?

Returns OS Code to be used for new virtual instance.

Returns:

  • (Object, nil)

    OS Code to be used for new virtual instance.



56
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 56

attribute :os_code

#post_uriObject?

Returns URL of a post provisioning script to be loaded and executed on virtual instance.

Returns:

  • (Object, nil)

    URL of a post provisioning script to be loaded and executed on virtual instance.



75
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 75

attribute :post_uri

#private:yes, ...

Returns Flag to determine if the instance should be private only.

Returns:

  • (:yes, :no, nil)

    Flag to determine if the instance should be private only.



32
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 32

attribute :private

#private_vlanObject?

Returns VLAN by its Id to be assigned to the private NIC.

Returns:

  • (Object, nil)

    VLAN by its Id to be assigned to the private NIC.



69
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 69

attribute :private_vlan

#public_vlanObject?

Returns VLAN by its Id to be assigned to the public NIC.

Returns:

  • (Object, nil)

    VLAN by its Id to be assigned to the public NIC.



66
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 66

attribute :public_vlan

#ssh_keysObject?

Returns List of ssh keys by their Id to be assigned to a virtual instance.

Returns:

  • (Object, nil)

    List of ssh keys by their Id to be assigned to a virtual instance.



72
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 72

attribute :ssh_keys

#state:absent, ...

Returns Create, or cancel a virtual instance.,Specify C(present) for create, C(absent) to cancel.

Returns:

  • (:absent, :present, nil)

    Create, or cancel a virtual instance.,Specify C(present) for create, C(absent) to cancel.



78
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 78

attribute :state

#tagsObject?

Returns Tag or list of tags to be provided to a virtual instance.

Returns:

  • (Object, nil)

    Tag or list of tags to be provided to a virtual instance.



25
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 25

attribute :tags

#wait:yes, ...

Returns Flag used to wait for active status before returning.

Returns:

  • (:yes, :no, nil)

    Flag used to wait for active status before returning.



82
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 82

attribute :wait

#wait_timeInteger?

Returns Time in seconds before wait returns.

Returns:

  • (Integer, nil)

    Time in seconds before wait returns.



86
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 86

attribute :wait_time