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

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    Enable winrm on Windows Machines



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

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



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

attribute :endpoints

#hostnameObject?

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

Returns:

  • (Object, nil)

    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

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



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

attribute :image

#locationString

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

Returns:

  • (String)

    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_pathObject?

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

Returns:

  • (Object, nil)

    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

#nameString

Returns name of the virtual machine and associated cloud service.

Returns:

  • (String)

    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.

Returns:

  • (:windows, :linux, nil)

    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

#passwordObject?

Returns the unix password for the new virtual machine.

Returns:

  • (Object, nil)

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



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

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:



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

attribute :ssh_cert_path

#stateString?

Returns create or terminate instances.

Returns:

  • (String, nil)

    create or terminate instances



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

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.



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

attribute :storage_account

#subscription_idObject?

Returns azure subscription id. Overrides the AZURE_SUBSCRIPTION_ID environment variable.

Returns:

  • (Object, nil)

    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

#userString?

Returns the unix username for the new virtual machine.

Returns:

  • (String, nil)

    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_nameObject?

Returns Name of virtual network.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    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_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



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

attribute :wait_timeout_redirects