Class: Ansible::Ruby::Modules::Scaleway_volume

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

Overview

This module manages volumes on Scaleway account U(developer.scaleway.com)

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

#nameString

Returns Name used to identify the volume.

Returns:

  • (String)

    Name used to identify the volume.



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

attribute :name

#organizationString?

Returns ScaleWay organization ID to which volume belongs.

Returns:

  • (String, nil)

    ScaleWay organization ID to which volume belongs.



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

attribute :organization

#region:ams1, ...

Returns Scaleway region to use (for example par1).

Returns:

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

    Scaleway region to use (for example par1).



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

attribute :region

#sizeInteger?

Returns Size of the volume in bytes.

Returns:

  • (Integer, nil)

    Size of the volume in bytes.



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

attribute :size

#state:present, ...

Returns Indicate desired state of the volume.

Returns:

  • (:present, :absent, nil)

    Indicate desired state of the volume.



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

attribute :state

#volume_typeString?

Returns Type of the volume (for example ‘l_ssd’).

Returns:

  • (String, nil)

    Type of the volume (for example ‘l_ssd’).



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

attribute :volume_type