Class: Ansible::Ruby::Modules::Azure
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb
Overview
Creates or terminates azure instances. When created optionally waits for it to be ‘running’.
Instance Method Summary collapse
-
#auto_updates ⇒ :yes, ...
Enable Auto Updates on Windows Machines.
-
#enable_winrm ⇒ :yes, ...
Enable winrm on Windows Machines.
-
#endpoints ⇒ Integer?
A comma-separated list of TCP ports to expose on the virtual machine (e.g., “22,80”).
-
#hostname ⇒ Object?
Hostname to write /etc/hostname.
-
#image ⇒ String
System image for creating the virtual machine (e.g., b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20131205-en-us-30GB).
-
#location ⇒ String
The azure location to use (e.g. ‘East US’).
-
#management_cert_path ⇒ Object?
Path to an azure management certificate associated with the subscription id.
-
#name ⇒ String
Name of the virtual machine and associated cloud service.
-
#os_type ⇒ :windows, ...
The type of the os that is gettings provisioned.
-
#password ⇒ Object?
The unix password for the new virtual machine.
-
#role_size ⇒ String?
Azure role size for the new virtual machine (e.g., Small, ExtraLarge, A6).
-
#ssh_cert_path ⇒ String?
Path to an X509 certificate containing the public ssh key to install in the virtual machine.
-
#state ⇒ String?
Create or terminate instances.
-
#storage_account ⇒ String
The azure storage account in which to store the data disks.
-
#subscription_id ⇒ Object?
Azure subscription id.
-
#user ⇒ String?
The unix username for the new virtual machine.
-
#virtual_network_name ⇒ Object?
Name of virtual network.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state ‘running’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
-
#wait_timeout_redirects ⇒ Integer?
How long before wait gives up for redirects, in seconds.
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
#auto_updates ⇒ :yes, ...
Returns Enable Auto Updates on Windows Machines.
74 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 74 attribute :auto_updates |
#enable_winrm ⇒ :yes, ...
Returns Enable winrm on Windows Machines.
78 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 78 attribute :enable_winrm |
#endpoints ⇒ Integer?
Returns a comma-separated list of TCP ports to expose on the virtual machine (e.g., “22,80”).
37 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 37 attribute :endpoints |
#hostname ⇒ Object?
Returns hostname to write /etc/hostname. Defaults to <name>.cloudapp.net.
55 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 55 attribute :hostname |
#image ⇒ String
Returns system image for creating the virtual machine (e.g., b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu_DAILY_BUILD-precise-12_04_3-LTS-amd64-server-20131205-en-us-30GB).
29 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 29 attribute :image |
#location ⇒ String
Returns the azure location to use (e.g. ‘East US’).
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 15 attribute :location |
#management_cert_path ⇒ Object?
Returns path to an azure management certificate associated with the subscription id. Overrides the AZURE_CERT_PATH environment variable.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 22 attribute :management_cert_path |
#name ⇒ String
Returns name of the virtual machine and associated cloud service.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 11 attribute :name |
#os_type ⇒ :windows, ...
Returns The type of the os that is gettings provisioned.
82 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 82 attribute :os_type |
#password ⇒ Object?
Returns the unix password for the new virtual machine.
45 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 45 attribute :password |
#role_size ⇒ String?
Returns azure role size for the new virtual machine (e.g., Small, ExtraLarge, A6). You have to pay attention to the fact that instances of type G and DS are not available in all regions (locations). Make sure if you selected the size and type of instance available in your chosen location.
33 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 33 attribute :role_size |
#ssh_cert_path ⇒ String?
Returns path to an X509 certificate containing the public ssh key to install in the virtual machine. See www.windowsazure.com/en-us/manage/linux/tutorials/intro-to-linux/ for more details.,if this option is specified, password-based ssh authentication will be disabled.
48 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 48 attribute :ssh_cert_path |
#state ⇒ String?
Returns create or terminate instances.
70 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 70 attribute :state |
#storage_account ⇒ String
Returns the azure storage account in which to store the data disks.
25 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 25 attribute :storage_account |
#subscription_id ⇒ Object?
Returns azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 19 attribute :subscription_id |
#user ⇒ String?
Returns the unix username for the new virtual machine.
41 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 41 attribute :user |
#virtual_network_name ⇒ Object?
Returns Name of virtual network.
52 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 52 attribute :virtual_network_name |
#wait ⇒ :yes, ...
Returns wait for the instance to be in state ‘running’ before returning.
58 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 58 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
62 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 62 attribute :wait_timeout |
#wait_timeout_redirects ⇒ Integer?
Returns how long before wait gives up for redirects, in seconds.
66 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 66 attribute :wait_timeout_redirects |