Class: Ansible::Ruby::Modules::Na_cdot_user

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

Overview

Create or destroy users.

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

#application:console, ...

Returns Applications to grant access to.

Returns:

  • (:console, :http, :ontapi, :rsh, :snmp, :sp, :ssh, :telnet)

    Applications to grant access to.



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

attribute :application

#authentication_method:community, ...

Returns Authentication method for the application.,Not all authentication methods are valid for an application.,Valid authentication methods for each application are as denoted in I(authentication_choices_description).,password for console application,password, domain, nsswitch, cert for http application.,password, domain, nsswitch, cert for ontapi application.,community for snmp application (when creating SNMPv1 and SNMPv2 users).,usm and community for snmp application (when creating SNMPv3 users).,password for sp application.,password for rsh application.,password for telnet application.,password, publickey, domain, nsswitch for ssh application.

Returns:

  • (:community, :password, :publickey, :domain, :nsswitch, :usm)

    Authentication method for the application.,Not all authentication methods are valid for an application.,Valid authentication methods for each application are as denoted in I(authentication_choices_description).,password for console application,password, domain, nsswitch, cert for http application.,password, domain, nsswitch, cert for ontapi application.,community for snmp application (when creating SNMPv1 and SNMPv2 users).,usm and community for snmp application (when creating SNMPv3 users).,password for sp application.,password for rsh application.,password for telnet application.,password, publickey, domain, nsswitch for ssh application.



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

attribute :authentication_method

#nameString

Returns The name of the user to manage.

Returns:

  • (String)

    The name of the user to manage.



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

attribute :name

#role_nameString?

Returns The name of the role. Required when C(state=present).

Returns:

  • (String, nil)

    The name of the role. Required when C(state=present)



32
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_user.rb', line 32

attribute :role_name

#set_passwordString?

Returns Password for the user account.,It is ignored for creating snmp users, but is required for creating non-snmp users.,For an existing user, this value will be used as the new password.

Returns:

  • (String, nil)

    Password for the user account.,It is ignored for creating snmp users, but is required for creating non-snmp users.,For an existing user, this value will be used as the new password.



28
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_user.rb', line 28

attribute :set_password

#state:present, :absent

Returns Whether the specified user should exist or not.

Returns:

  • (:present, :absent)

    Whether the specified user should exist or not.



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

attribute :state

#vserverString

Returns The name of the vserver to use.

Returns:

  • (String)

    The name of the vserver to use.



36
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_cdot_user.rb', line 36

attribute :vserver