Class: Ansible::Ruby::Modules::Aos_asn_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Aos_asn_pool
- Defined in:
- lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb
Overview
Apstra AOS ASN Pool module let you manage your ASN Pool easily. You can create and delete ASN Pool 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
-
#content ⇒ String?
Datastructure of the ASN Pool to manage.
-
#id ⇒ Object?
AOS Id of the ASN Pool to manage.
-
#name ⇒ String?
Name of the ASN Pool to manage.
-
#ranges ⇒ Array<Array>, ...
List of ASNs ranges to add to the ASN Pool.
-
#session ⇒ String
An existing AOS session as obtained by M(aos_login) module.
-
#state ⇒ :present, ...
Indicate what is the expected state of the ASN Pool (present or not).
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#content ⇒ String?
23 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 23 attribute :content |
#id ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 20 attribute :id |
#name ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 16 attribute :name |
#ranges ⇒ Array<Array>, ...
31 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 31 attribute :ranges |
#session ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 12 attribute :session |
#state ⇒ :present, ...
27 |
# File 'lib/ansible/ruby/modules/generated/network/aos/aos_asn_pool.rb', line 27 attribute :state |