Class: Ansible::Ruby::Modules::Sl_vm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Sl_vm
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb
Overview
Creates or cancels SoftLayer instances. When created, optionally waits for it to be ‘running’.
Instance Method Summary collapse
-
#cpus ⇒ Object
Count of cpus to be assigned to new virtual instance.
-
#datacenter ⇒ Object?
Datacenter for the virtual instance to be deployed.
-
#dedicated ⇒ Boolean?
Falg to determine if the instance should be deployed in dedicated space.
-
#disks ⇒ Integer
List of disk sizes to be assigned to new virtual instance.
-
#domain ⇒ Object?
Domain name to be provided to a virtual instance.
-
#hostname ⇒ Object?
Hostname to be provided to a virtual instance.
-
#hourly ⇒ Boolean?
Flag to determine if the instance should be hourly billed.
-
#image_id ⇒ Object?
Image Template to be used for new virtual instance.
-
#instance_id ⇒ Object?
Instance Id of the virtual instance to perform action option.
-
#local_disk ⇒ Boolean?
Flag to determine if local disk should be used for the new instance.
-
#memory ⇒ Object
Amount of memory to be assigned to new virtual instance.
-
#nic_speed ⇒ Integer?
NIC Speed to be assigned to new virtual instance.
-
#os_code ⇒ Object?
OS Code to be used for new virtual instance.
-
#post_uri ⇒ Object?
URL of a post provisioning script ot be loaded and exectued on virtual instance.
-
#private ⇒ Boolean?
Flag to determine if the instance should be private only.
-
#private_vlan ⇒ Object?
VLAN by its Id to be assigned to the private NIC.
-
#public_vlan ⇒ Object?
VLAN by its Id to be assigned to the public NIC.
-
#ssh_keys ⇒ Object?
List of ssh keys by their Id to be assigned to a virtual instance.
-
#state ⇒ String?
Create, or cancel a virtual instance.
-
#tags ⇒ Object?
Tag or list of tags to be provided to a virtual instance.
-
#wait ⇒ Boolean?
Flag used to wait for active status before returning.
-
#wait_timeout ⇒ Integer?
Time in seconds before wait returns.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#cpus ⇒ Object
Returns Count of cpus to be assigned to new virtual instance.
42 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 42 attribute :cpus |
#datacenter ⇒ Object?
Returns Datacenter for the virtual instance to be deployed.
20 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 20 attribute :datacenter |
#dedicated ⇒ Boolean?
Returns Falg to determine if the instance should be deployed in dedicated space.
34 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 34 attribute :dedicated |
#disks ⇒ Integer
Returns List of disk sizes to be assigned to new virtual instance.
50 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 50 attribute :disks |
#domain ⇒ Object?
Returns Domain name to be provided to a virtual instance.
17 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 17 attribute :domain |
#hostname ⇒ Object?
Returns Hostname to be provided to a virtual instance.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 14 attribute :hostname |
#hourly ⇒ Boolean?
Returns Flag to determine if the instance should be hourly billed.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 26 attribute :hourly |
#image_id ⇒ Object?
Returns Image Template to be used for new virtual instance.
57 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 57 attribute :image_id |
#instance_id ⇒ Object?
Returns Instance Id of the virtual instance to perform action option.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 11 attribute :instance_id |
#local_disk ⇒ Boolean?
Returns Flag to determine if local disk should be used for the new instance.
38 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 38 attribute :local_disk |
#memory ⇒ Object
Returns Amount of memory to be assigned to new virtual instance.
46 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 46 attribute :memory |
#nic_speed ⇒ Integer?
Returns NIC Speed to be assigned to new virtual instance.
60 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 60 attribute :nic_speed |
#os_code ⇒ Object?
Returns OS Code to be used for new virtual instance.
54 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 54 attribute :os_code |
#post_uri ⇒ Object?
Returns URL of a post provisioning script ot be loaded and exectued on virtual instance.
73 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 73 attribute :post_uri |
#private ⇒ Boolean?
Returns Flag to determine if the instance should be private only.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 30 attribute :private |
#private_vlan ⇒ Object?
Returns VLAN by its Id to be assigned to the private NIC.
67 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 67 attribute :private_vlan |
#public_vlan ⇒ Object?
Returns VLAN by its Id to be assigned to the public NIC.
64 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 64 attribute :public_vlan |
#ssh_keys ⇒ Object?
Returns List of ssh keys by their Id to be assigned to a virtual instance.
70 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 70 attribute :ssh_keys |
#state ⇒ String?
Returns Create, or cancel a virtual instance. Specify “present” for create, “absent” to cancel.
76 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 76 attribute :state |
#tags ⇒ Object?
Returns Tag or list of tags to be provided to a virtual instance.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 23 attribute :tags |
#wait ⇒ Boolean?
Returns Flag used to wait for active status before returning.
80 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 80 attribute :wait |
#wait_timeout ⇒ Integer?
Returns time in seconds before wait returns.
84 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/softlayer/sl_vm.rb', line 84 attribute :wait_timeout |