Class: Ansible::Ruby::Modules::Ovirt_nic_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic_facts.rb,
lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nics_facts.rb

Overview

Retrieve facts about one or more oVirt/RHV virtual machine network interfaces.

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

#nameString?

Returns Name of the NIC, can be used as glob expression.

Returns:

  • (String, nil)

    Name of the NIC, can be used as glob expression.



16
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic_facts.rb', line 16

attribute :name

#vmString

Returns Name of the VM where NIC is attached.

Returns:

  • (String)

    Name of the VM where NIC is attached.



12
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_nic_facts.rb', line 12

attribute :vm