Class: Ansible::Ruby::Modules::Na_cdot_aggregate

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_aggregate.rb

Overview

Create or destroy aggregates on NetApp cDOT.

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

#disk_countInteger?

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).

Returns:

  • (Integer, nil)

    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).



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_aggregate.rb', line 20

attribute :disk_count

#nameString

Returns The name of the aggregate to manage.

Returns:

  • (String)

    The name of the aggregate to manage.



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_aggregate.rb', line 16

attribute :name

#state:present, :absent

Returns Whether the specified aggregate should exist or not.

Returns:

  • (:present, :absent)

    Whether the specified aggregate should exist or not.



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_aggregate.rb', line 12

attribute :state