Class: Ansible::Ruby::Modules::Azure

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

Overview

Creates or terminates azure 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

#auto_updates:yes, ...

Returns Enable Auto Updates on Windows Machines.

Returns:

  • (:yes, :no, nil)

    Enable Auto Updates on Windows Machines



80
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 80

attribute :auto_updates

#enable_winrm:yes, ...

Returns Enable winrm on Windows Machines.

Returns:

  • (:yes, :no, nil)

    Enable winrm on Windows Machines



84
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 84

attribute :enable_winrm

#endpointsInteger?

Returns a comma-separated list of TCP ports to expose on the virtual machine (e.g., “22,80”).

Returns:

  • (Integer, nil)

    a comma-separated list of TCP ports to expose on the virtual machine (e.g., “22,80”)



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

attribute :endpoints

#hostnameString?

Returns hostname to write /etc/hostname. Defaults to <name>.cloudapp.net.

Returns:

  • (String, nil)

    hostname to write /etc/hostname. Defaults to <name>.cloudapp.net.



60
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 60

attribute :hostname

#imageString

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).

Returns:

  • (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)



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

attribute :image

#locationString

Returns the azure location to use (e.g. ‘East US’).

Returns:

  • (String)

    the azure location to use (e.g. ‘East US’)



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

attribute :location

#management_cert_pathString?

Returns path to an azure management certificate associated with the subscription id. Overrides the AZURE_CERT_PATH environment variable.

Returns:

  • (String, nil)

    path to an azure management certificate associated with the subscription id. Overrides the AZURE_CERT_PATH environment variable.



24
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 24

attribute :management_cert_path

#nameString

Returns name of the virtual machine and associated cloud service.

Returns:

  • (String)

    name of the virtual machine and associated cloud service.



12
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 12

attribute :name

#os_type:windows, ...

Returns The type of the os that is gettings provisioned.

Returns:

  • (:windows, :linux, nil)

    The type of the os that is gettings provisioned



88
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 88

attribute :os_type

#passwordString?

Returns the unix password for the new virtual machine.

Returns:

  • (String, nil)

    the unix password for the new virtual machine.



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

attribute :password

#role_sizeString?

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.

Returns:

  • (String, nil)

    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.



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

attribute :role_size

#ssh_cert_pathString?

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.

Returns:



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

attribute :ssh_cert_path

#state:absent, ...

Returns create or terminate instances.

Returns:

  • (:absent, :present, nil)

    create or terminate instances



76
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 76

attribute :state

#storage_accountString

Returns the azure storage account in which to store the data disks.

Returns:

  • (String)

    the azure storage account in which to store the data disks.



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

attribute :storage_account

#subscription_idString?

Returns azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable.

Returns:

  • (String, nil)

    azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable.



20
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 20

attribute :subscription_id

#userString?

Returns the unix username for the new virtual machine.

Returns:

  • (String, nil)

    the unix username for the new virtual machine.



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

attribute :user

#virtual_network_nameString?

Returns Name of virtual network.

Returns:

  • (String, nil)

    Name of virtual network.



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

attribute :virtual_network_name

#wait:yes, ...

Returns wait for the instance to be in state ‘running’ before returning.

Returns:

  • (:yes, :no, nil)

    wait for the instance to be in state ‘running’ before returning



64
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 64

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



68
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure.rb', line 68

attribute :wait_timeout

#wait_timeout_redirectsInteger?

Returns how long before wait gives up for redirects, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up for redirects, in seconds



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

attribute :wait_timeout_redirects