Class: Ansible::Ruby::Modules::Scaleway_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Scaleway_volume
- 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
-
#name ⇒ String
Name used to identify the volume.
-
#organization ⇒ String?
ScaleWay organization ID to which volume belongs.
-
#region ⇒ :ams1, ...
Scaleway region to use (for example par1).
-
#size ⇒ Integer?
Size of the volume in bytes.
-
#state ⇒ :present, ...
Indicate desired state of the volume.
-
#volume_type ⇒ String?
Type of the volume (for example ‘l_ssd’).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#name ⇒ String
Returns Name used to identify the volume.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_volume.rb', line 20 attribute :name |
#organization ⇒ String?
Returns 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).
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_volume.rb', line 16 attribute :region |
#size ⇒ Integer?
Returns 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.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/scaleway/scaleway_volume.rb', line 12 attribute :state |
#volume_type ⇒ String?
Returns 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 |