Class: Ansible::Ruby::Modules::Nios_mx_record

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb

Overview

Adds and/or removes instances of MX record objects from Infoblox NIOS servers. This module manages NIOS C(record:mx) objects using the Infoblox WAPI interface over REST.

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

#commentString?

Returns Configures a text string comment to be associated with the instance of this object. The provided text string will be configured on the object instance.

Returns:

  • (String, nil)

    Configures a text string comment to be associated with the instance of this object. The provided text string will be configured on the object instance.



34
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 34

attribute :comment

#extattrsObject?

Returns Allows for the configuration of Extensible Attributes on the instance of the object. This argument accepts a set of key / value pairs for configuration.

Returns:

  • (Object, nil)

    Allows for the configuration of Extensible Attributes on the instance of the object. This argument accepts a set of key / value pairs for configuration.



31
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 31

attribute :extattrs

#mail_exchangerObject

Returns Configures the mail exchanger FQDN for this MX record.

Returns:

  • (Object)

    Configures the mail exchanger FQDN for this MX record.



20
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 20

attribute :mail_exchanger

#nameString

Returns Specifies the fully qualified hostname to add or remove from the system.

Returns:

  • (String)

    Specifies the fully qualified hostname to add or remove from the system



12
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 12

attribute :name

#preferenceInteger

Returns Configures the preference (0-65535) for this MX record.

Returns:

  • (Integer)

    Configures the preference (0-65535) for this MX record.



24
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 24

attribute :preference

#state:present, ...

Returns Configures the intended state of the instance of the object on the NIOS server. When this value is set to C(present), the object is configured on the device and when this value is set to C(absent) the value is removed (if necessary) from the device.

Returns:

  • (:present, :absent, nil)

    Configures the intended state of the instance of the object on the NIOS server. When this value is set to C(present), the object is configured on the device and when this value is set to C(absent) the value is removed (if necessary) from the device.



38
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 38

attribute :state

#ttlObject?

Returns Configures the TTL to be associated with this host record.

Returns:

  • (Object, nil)

    Configures the TTL to be associated with this host record



28
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 28

attribute :ttl

#viewString

Returns Sets the DNS view to associate this a record with. The DNS view must already be configured on the system.

Returns:

  • (String)

    Sets the DNS view to associate this a record with. The DNS view must already be configured on the system



16
# File 'lib/ansible/ruby/modules/generated/net_tools/nios/nios_mx_record.rb', line 16

attribute :view