Class: Ansible::Ruby::Modules::Na_ontap_aggregate
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Na_ontap_aggregate
- Defined in:
- lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb
Overview
Create, delete, or manage aggregates on ONTAP.
Instance Method Summary collapse
-
#disk_count ⇒ Integer?
Number of disks to place into the aggregate, including parity disks.,The disks in this newly-created aggregate come from the spare disk pool.,The smallest disks in this pool join the aggregate first, unless the C(disk-size) argument is provided.,Either C(disk-count) or C(disks) must be supplied.
-
#disk_size ⇒ Object?
Disk size to use in 4K block size.
-
#disk_type ⇒ :ATA, ...
Type of disk to use to build aggregate.
-
#from_name ⇒ Object?
Name of the aggregate to be renamed.
-
#name ⇒ String
The name of the aggregate to manage.
-
#nodes ⇒ Object?
Node(s) for the aggregate to be created on.
-
#raid_size ⇒ Object?
Sets the maximum number of drives per raid group.
-
#raid_type ⇒ Object?
Specifies the type of RAID groups to use in the new aggregate.,The default value is raid4 on most platforms.
-
#service_state ⇒ :online, ...
Whether the specified aggregate should be enabled or disabled.
-
#state ⇒ :present, ...
Whether the specified aggregate should exist or not.
-
#unmount_volumes ⇒ Symbol?
If set to “TRUE”, this option specifies that all of the volumes hosted by the given aggregate are to be unmounted,before the offline operation is executed.,By default, the system will reject any attempt to offline an aggregate that hosts one or more online volumes.
Methods inherited from Base
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
#disk_count ⇒ Integer?
Returns Number of disks to place into the aggregate, including parity disks.,The disks in this newly-created aggregate come from the spare disk pool.,The smallest disks in this pool join the aggregate first, unless the C(disk-size) argument is provided.,Either C(disk-count) or C(disks) must be supplied. Range [0..2^31-1].,Required when C(state=present).
34 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 34 attribute :disk_count |
#disk_size ⇒ Object?
Returns Disk size to use in 4K block size. Disks within 10% of specified size will be used.
38 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 38 attribute :disk_size |
#disk_type ⇒ :ATA, ...
Returns Type of disk to use to build aggregate.
30 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 30 attribute :disk_type |
#from_name ⇒ Object?
Returns Name of the aggregate to be renamed.
24 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 24 attribute :from_name |
#name ⇒ String
Returns The name of the aggregate to manage.
20 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 20 attribute :name |
#nodes ⇒ Object?
Returns Node(s) for the aggregate to be created on. If no node specified, mgmt lif home will be used.,If multiple nodes specified an aggr stripe will be made.
27 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 27 attribute :nodes |
#raid_size ⇒ Object?
Returns Sets the maximum number of drives per raid group.
41 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 41 attribute :raid_size |
#raid_type ⇒ Object?
Returns Specifies the type of RAID groups to use in the new aggregate.,The default value is raid4 on most platforms.
44 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 44 attribute :raid_type |
#service_state ⇒ :online, ...
Returns Whether the specified aggregate should be enabled or disabled. Creates aggregate if doesnt exist.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 16 attribute :service_state |
#state ⇒ :present, ...
Returns Whether the specified aggregate should exist or not.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 12 attribute :state |
#unmount_volumes ⇒ Symbol?
Returns If set to “TRUE”, this option specifies that all of the volumes hosted by the given aggregate are to be unmounted,before the offline operation is executed.,By default, the system will reject any attempt to offline an aggregate that hosts one or more online volumes.
47 |
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 47 attribute :unmount_volumes |