Class: Ansible::Ruby::Modules::Aos_device

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

Overview

Apstra AOS Device module let you manage your devices in AOS easily. You can approve devices and define in which state the device should be. Currently only the state I(normal) is supported but the goal is to extend this module with additional state. 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

#approve:yes, ...



27
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_device.rb', line 27

attribute :approve

#idObject?



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

attribute :id

#locationArray<String>, ...



31
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_device.rb', line 31

attribute :location

#nameString?



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

attribute :name

#sessionString



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

attribute :session

#state:normal?



23
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_device.rb', line 23

attribute :state