Class: Ansible::Ruby::Modules::Linode

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

Overview

Manage Linode Public Cloud instances and optionally wait 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

#additional_disksArray<Hash>, ...

Returns List of dictionaries for creating additional disks that are added to the Linode configuration settings.,Dictionary takes Size, Label, Type. Size is in MB.

Returns:

  • (Array<Hash>, Hash, nil)

    List of dictionaries for creating additional disks that are added to the Linode configuration settings.,Dictionary takes Size, Label, Type. Size is in MB.



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

attribute :additional_disks

#alert_bwin_enabledSymbol?

Returns Set status of bandwidth in alerts.

Returns:

  • (Symbol, nil)

    Set status of bandwidth in alerts.



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

attribute :alert_bwin_enabled

#alert_bwin_thresholdInteger?

Returns Set threshold in MB of bandwidth in alerts.

Returns:

  • (Integer, nil)

    Set threshold in MB of bandwidth in alerts.



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

attribute :alert_bwin_threshold

#alert_bwout_enabledSymbol?

Returns Set status of bandwidth out alerts.

Returns:

  • (Symbol, nil)

    Set status of bandwidth out alerts.



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

attribute :alert_bwout_enabled

#alert_bwout_thresholdInteger?

Returns Set threshold in MB of bandwidth out alerts.

Returns:

  • (Integer, nil)

    Set threshold in MB of bandwidth out alerts.



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

attribute :alert_bwout_threshold

#alert_bwquota_enabledSymbol?

Returns Set status of bandwidth quota alerts as percentage of network transfer quota.

Returns:

  • (Symbol, nil)

    Set status of bandwidth quota alerts as percentage of network transfer quota.



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

attribute :alert_bwquota_enabled

#alert_bwquota_thresholdInteger?

Returns Set threshold in MB of bandwidth quota alerts.

Returns:

  • (Integer, nil)

    Set threshold in MB of bandwidth quota alerts.



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

attribute :alert_bwquota_threshold

#alert_cpu_enabledSymbol?

Returns Set status of receiving CPU usage alerts.

Returns:

  • (Symbol, nil)

    Set status of receiving CPU usage alerts.



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

attribute :alert_cpu_enabled

#alert_cpu_thresholdInteger?

Returns Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total.

Returns:

  • (Integer, nil)

    Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total.



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

attribute :alert_cpu_threshold

#alert_diskio_enabledSymbol?

Returns Set status of receiving disk IO alerts.

Returns:

  • (Symbol, nil)

    Set status of receiving disk IO alerts.



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

attribute :alert_diskio_enabled

#alert_diskio_thresholdInteger?

Returns Set threshold for average IO ops/sec over 2 hour period.

Returns:

  • (Integer, nil)

    Set threshold for average IO ops/sec over 2 hour period.



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

attribute :alert_diskio_threshold

#api_keyString?

Returns Linode API key.

Returns:

  • (String, nil)

    Linode API key



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

attribute :api_key

#backupweeklydayInteger?

Returns Integer value for what day of the week to store weekly backups.

Returns:

  • (Integer, nil)

    Integer value for what day of the week to store weekly backups.



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

attribute :backupweeklyday

#datacenterInteger?

Returns datacenter to create an instance in (Linode Datacenter).

Returns:

  • (Integer, nil)

    datacenter to create an instance in (Linode Datacenter)



108
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 108

attribute :datacenter

#displaygroupString?

Returns Add the instance to a Display Group in Linode Manager.

Returns:

  • (String, nil)

    Add the instance to a Display Group in Linode Manager.



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

attribute :displaygroup

#distributionInteger?

Returns distribution to use for the instance (Linode Distribution).

Returns:

  • (Integer, nil)

    distribution to use for the instance (Linode Distribution)



104
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 104

attribute :distribution

#kernel_idInteger?

Returns kernel to use for the instance (Linode Kernel).

Returns:

  • (Integer, nil)

    kernel to use for the instance (Linode Kernel)



112
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 112

attribute :kernel_id

#linode_idInteger?

Returns Unique ID of a linode server.

Returns:

  • (Integer, nil)

    Unique ID of a linode server



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

attribute :linode_id

#nameString

Returns Name to give the instance (alphanumeric, dashes, underscore).,To keep sanity on the Linode Web Console, name is prepended with C(LinodeID_).

Returns:

  • (String)

    Name to give the instance (alphanumeric, dashes, underscore).,To keep sanity on the Linode Web Console, name is prepended with C(LinodeID_).



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

attribute :name

#passwordString?

Returns root password to apply to a new server (auto generated if missing).

Returns:

  • (String, nil)

    root password to apply to a new server (auto generated if missing)



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

attribute :password

#payment_term1, ...

Returns payment term to use for the instance (payment term in months).

Returns:

  • (1, 12, 24, nil)

    payment term to use for the instance (payment term in months)



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

attribute :payment_term

#planInteger?

Returns plan to use for the instance (Linode plan).

Returns:

  • (Integer, nil)

    plan to use for the instance (Linode plan)



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

attribute :plan

#private_ip:yes, ...

Returns Add private IPv4 address when Linode is created.

Returns:

  • (:yes, :no, nil)

    Add private IPv4 address when Linode is created.



92
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 92

attribute :private_ip

#ssh_pub_keyString?

Returns SSH public key applied to root user.

Returns:

  • (String, nil)

    SSH public key applied to root user



96
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 96

attribute :ssh_pub_key

#state:absent, ...

Returns Indicate desired state of the resource.

Returns:

  • (:absent, :active, :deleted, :present, :restarted, :started, :stopped, nil)

    Indicate desired state of the resource



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

attribute :state

#swapInteger?

Returns swap size in MB.

Returns:

  • (Integer, nil)

    swap size in MB



100
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 100

attribute :swap

#wait:yes, ...

Returns wait for the instance to be in state C(running) before returning.

Returns:

  • (:yes, :no, nil)

    wait for the instance to be in state C(running) before returning



116
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 116

attribute :wait

#wait_timeoutInteger?

Returns how long before wait gives up, in seconds.

Returns:

  • (Integer, nil)

    how long before wait gives up, in seconds



120
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 120

attribute :wait_timeout

#watchdogBoolean?

Returns Set status of Lassie watchdog.

Returns:

  • (Boolean, nil)

    Set status of Lassie watchdog.



124
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 124

attribute :watchdog