Class: Ansible::Ruby::Modules::Aos_logical_device_map

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb

Overview

Apstra AOS Logical Device Map module let you manage your Logical Device Map easily. You can create create and delete Logical Device Map by Name, ID or by using a JSON File. This module is idempotent and support the I(check) mode. It’s using the AOS REST API.

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

#contentString?

Returns Datastructure of the Logical Device Map to manage. The data can be in YAML / JSON or directly a variable. It’s the same datastructure that is returned on success in I(value). Only one of I(name), I(id) or I(content) can be set.

Returns:

  • (String, nil)

    Datastructure of the Logical Device Map to manage. The data can be in YAML / JSON or directly a variable. It’s the same datastructure that is returned on success in I(value). Only one of I(name), I(id) or I(content) can be set.



24
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb', line 24

attribute :content

#idString?

Returns AOS Id of the Logical Device Map to manage (can’t be used to create a new Logical Device Map), Only one of I(name), I(id) or I(content) can be set.

Returns:

  • (String, nil)

    AOS Id of the Logical Device Map to manage (can’t be used to create a new Logical Device Map), Only one of I(name), I(id) or I(content) can be set.



20
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb', line 20

attribute :id

#nameString?

Returns Name of the Logical Device Map to manage. Only one of I(name), I(id) or I(content) can be set.

Returns:

  • (String, nil)

    Name of the Logical Device Map to manage. Only one of I(name), I(id) or I(content) can be set.



16
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb', line 16

attribute :name

#sessionString

Returns An existing AOS session as obtained by M(aos_login) module.

Returns:

  • (String)

    An existing AOS session as obtained by M(aos_login) module.



12
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb', line 12

attribute :session

#state:present, ...

Returns Indicate what is the expected state of the Logical Device Map (present or not).

Returns:

  • (:present, :absent, nil)

    Indicate what is the expected state of the Logical Device Map (present or not).



28
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_logical_device_map.rb', line 28

attribute :state