Class: Ansible::Ruby::Modules::Oneview_ethernet_network

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/remote_management/oneview/oneview_ethernet_network.rb

Overview

Provides an interface to manage Ethernet Network resources. Can create, update, or delete.

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

#dataHash

Returns List with Ethernet Network properties.

Returns:

  • (Hash)

    List with Ethernet Network properties.



16
# File 'lib/ansible/ruby/modules/generated/remote_management/oneview/oneview_ethernet_network.rb', line 16

attribute :data

#state:present, ...

Returns Indicates the desired state for the Ethernet Network resource. - C(present) will ensure data properties are compliant with OneView. - C(absent) will remove the resource from OneView, if it exists. - C(default_bandwidth_reset) will reset the network connection template to the default.

Returns:

  • (:present, :absent, :default_bandwidth_reset, nil)

    Indicates the desired state for the Ethernet Network resource. - C(present) will ensure data properties are compliant with OneView. - C(absent) will remove the resource from OneView, if it exists. - C(default_bandwidth_reset) will reset the network connection template to the default.



12
# File 'lib/ansible/ruby/modules/generated/remote_management/oneview/oneview_ethernet_network.rb', line 12

attribute :state