Class: Ansible::Ruby::Modules::Na_ontap_aggregate

Inherits:
Base show all
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

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



34
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_aggregate.rb', line 34

attribute :disk_count

#disk_sizeObject?

Returns Disk size to use in 4K block size. Disks within 10% of specified size will be used.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:ATA, :BSAS, :FCAL, :FSAS, :LUN, :MSATA, :SAS, :SSD, :VMDISK, nil)

    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_nameObject?

Returns Name of the aggregate to be renamed.

Returns:

  • (Object, nil)

    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

#nameString

Returns The name of the aggregate to manage.

Returns:

  • (String)

    The name of the aggregate to manage.



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

attribute :name

#nodesObject?

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.

Returns:

  • (Object, nil)

    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_sizeObject?

Returns Sets the maximum number of drives per raid group.

Returns:

  • (Object, nil)

    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_typeObject?

Returns Specifies the type of RAID groups to use in the new aggregate.,The default value is raid4 on most platforms.

Returns:

  • (Object, nil)

    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.

Returns:

  • (:online, :offline, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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_volumesSymbol?

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.

Returns:

  • (Symbol, nil)

    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