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
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, #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.
73 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 73 attribute :auto_updates |
#enable_winrm ⇒ :yes, ...
Returns Enable winrm on Windows Machines.
77 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 77 attribute :enable_winrm |
#endpoints ⇒ Integer?
Returns a comma-separated list of TCP ports to expose on the virtual machine (e.g., “22,80”).
36 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 36 attribute :endpoints |
#hostname ⇒ Object?
Returns hostname to write /etc/hostname. Defaults to <name>.cloudapp.net.
54 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 54 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).
28 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 28 attribute :image |
#location ⇒ String
Returns the azure location to use (e.g. ‘East US’).
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 14 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.
21 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 21 attribute :management_cert_path |
#name ⇒ String
Returns name of the virtual machine and associated cloud service.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 10 attribute :name |
#os_type ⇒ :windows, ...
Returns The type of the os that is gettings provisioned.
81 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 81 attribute :os_type |
#password ⇒ Object?
Returns the unix password for the new virtual machine.
44 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 44 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.
32 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 32 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.
47 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 47 attribute :ssh_cert_path |
#state ⇒ String?
Returns create or terminate instances.
69 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 69 attribute :state |
#storage_account ⇒ String
Returns the azure storage account in which to store the data disks.
24 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 24 attribute :storage_account |
#subscription_id ⇒ Object?
Returns azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 18 attribute :subscription_id |
#user ⇒ String?
Returns the unix username for the new virtual machine.
40 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 40 attribute :user |
#virtual_network_name ⇒ Object?
Returns Name of virtual network.
51 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 51 attribute :virtual_network_name |
#wait ⇒ :yes, ...
Returns wait for the instance to be in state ‘running’ before returning.
57 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 57 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
61 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 61 attribute :wait_timeout |
#wait_timeout_redirects ⇒ Integer?
Returns how long before wait gives up for redirects, in seconds.
65 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/azure/azure.rb', line 65 attribute :wait_timeout_redirects |