Class: Ansible::Ruby::Modules::Na_ontap_export_policy

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

Overview

Create or destroy or rename export-policies 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

#from_nameString?

Returns The name of the export-policy to be renamed.

Returns:

  • (String, nil)

    The name of the export-policy to be renamed.



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

attribute :from_name

#nameString

Returns The name of the export-policy to manage.

Returns:

  • (String)

    The name of the export-policy to manage.



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

attribute :name

#state:present, ...

Returns Whether the specified export policy should exist or not.

Returns:

  • (:present, :absent, nil)

    Whether the specified export policy should exist or not.



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

attribute :state

#vserverString?

Returns Name of the vserver to use.

Returns:

  • (String, nil)

    Name of the vserver to use.



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_export_policy.rb', line 24

attribute :vserver