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/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 ⇒ :yes, ...
Flag 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 ⇒ :yes, ...
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 ⇒ :yes, ...
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 to be loaded and executed on virtual instance.
-
#private ⇒ :yes, ...
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 ⇒ :absent, ...
Create, or cancel a virtual instance.,Specify C(present) for create, C(absent) to cancel.
-
#tags ⇒ Object?
Tag or list of tags to be provided to a virtual instance.
-
#wait ⇒ :yes, ...
Flag used to wait for active status before returning.
-
#wait_time ⇒ 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.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 44 attribute :cpus |
#datacenter ⇒ Object?
Returns 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.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 36 attribute :dedicated |
#disks ⇒ Integer
Returns 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 |
#domain ⇒ Object?
Returns 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 |
#hostname ⇒ Object?
Returns 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.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 28 attribute :hourly |
#image_id ⇒ Object?
Returns 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_id ⇒ Object?
Returns 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.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 40 attribute :local_disk |
#memory ⇒ Object
Returns 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_speed ⇒ Integer?
Returns 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_code ⇒ Object?
Returns 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_uri ⇒ Object?
Returns 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.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 32 attribute :private |
#private_vlan ⇒ Object?
Returns 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_vlan ⇒ Object?
Returns 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_keys ⇒ Object?
Returns 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.
78 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 78 attribute :state |
#tags ⇒ Object?
Returns 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.
82 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 82 attribute :wait |
#wait_time ⇒ Integer?
Returns Time in seconds before wait returns.
86 |
# File 'lib/ansible/ruby/modules/generated/cloud/softlayer/sl_vm.rb', line 86 attribute :wait_time |