Class: Ansible::Ruby::Modules::Aos_blueprint_virtnet

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

Overview

Apstra AOS Blueprint Virtual Network module let you manage your Virtual Network easily. You can create access, define and delete Virtual Network by name or by using a JSON / Yaml 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

#blueprintString

Returns Blueprint Name or Id as defined in AOS.

Returns:

  • (String)

    Blueprint Name or Id as defined in AOS.



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

attribute :blueprint

#contentString?

Returns Datastructure of the Virtual Network 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).

Returns:

  • (String, nil)

    Datastructure of the Virtual Network 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).



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

attribute :content

#nameString?

Returns Name of Virtual Network as part of the Blueprint.

Returns:

  • (String, nil)

    Name of Virtual Network as part of the Blueprint.



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

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_blueprint_virtnet.rb', line 12

attribute :session

#state:present, ...

Returns Indicate what is the expected state of the Virtual Network (present or not).

Returns:

  • (:present, :absent, nil)

    Indicate what is the expected state of the Virtual Network (present or not).



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

attribute :state