Class: Ansible::Ruby::Modules::Scaleway_compute

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

Overview

This module manages compute instances on Scaleway.

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

#commercial_type:"ARM64-2GB", ...

Returns Commercial name of the compute node.

Returns:

  • (:"ARM64-2GB", :"ARM64-4GB", :"ARM64-8GB", :"ARM64-16GB", :"ARM64-32GB", :"ARM64-64GB", :"ARM64-128GB", :C1, :C2S, :C2M, :C2L, :"START1-XS", :"START1-S", :"START1-M", :"START1-L", :"X64-15GB", :"X64-30GB", :"X64-60GB", :"X64-120GB")

    Commercial name of the compute node



39
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_compute.rb', line 39

attribute :commercial_type

#enable_ipv6Symbol?

Returns Enable public IPv6 connectivity on the instance.

Returns:

  • (Symbol, nil)

    Enable public IPv6 connectivity on the instance



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

attribute :enable_ipv6

#imageString

Returns Image identifier used to start the instance with.

Returns:

  • (String)

    Image identifier used to start the instance with



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

attribute :image

#nameString?

Returns Name of the instance.

Returns:

  • (String, nil)

    Name of the instance



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

attribute :name

#organizationString

Returns Organization identifier.

Returns:

  • (String)

    Organization identifier



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

attribute :organization

#region:ams1, ...

Returns Scaleway compute zone.

Returns:

  • (:ams1, :"EMEA-NL-EVS", :par1, :"EMEA-FR-PAR1")

    Scaleway compute zone



35
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_compute.rb', line 35

attribute :region

#state:present, ...

Returns Indicate desired state of the instance.

Returns:

  • (:present, :absent, :running, :restarted, :stopped, nil)

    Indicate desired state of the instance.



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

attribute :state

#tagsObject?

Returns List of tags to apply to the instance (5 max).

Returns:

  • (Object, nil)

    List of tags to apply to the instance (5 max)



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

attribute :tags

#wait:yes, ...

Returns Wait for the instance to reach its desired state before returning.

Returns:

  • (:yes, :no, nil)

    Wait for the instance to reach its desired state before returning.



43
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_compute.rb', line 43

attribute :wait

#wait_sleep_timeInteger?

Returns Time to wait before every attempt to check the state of the server.

Returns:

  • (Integer, nil)

    Time to wait before every attempt to check the state of the server



51
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_compute.rb', line 51

attribute :wait_sleep_time

#wait_timeoutInteger?

Returns Time to wait for the server to reach the expected state.

Returns:

  • (Integer, nil)

    Time to wait for the server to reach the expected state



47
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_compute.rb', line 47

attribute :wait_timeout