Class: Ansible::Ruby::Modules::Os_port_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/openstack/os_port_facts.rb

Overview

Retrieve facts about ports from OpenStack.

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

#availability_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



20
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_port_facts.rb', line 20

attribute :availability_zone

#filtersHash?

Returns A dictionary of meta data to use for further filtering. Elements of this dictionary will be matched against the returned port dictionaries. Matching is currently limited to strings within the port dictionary, or strings within nested dictionaries.

Returns:

  • (Hash, nil)

    A dictionary of meta data to use for further filtering. Elements of this dictionary will be matched against the returned port dictionaries. Matching is currently limited to strings within the port dictionary, or strings within nested dictionaries.



16
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_port_facts.rb', line 16

attribute :filters

#portString?

Returns Unique name or ID of a port.

Returns:

  • (String, nil)

    Unique name or ID of a port.



12
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_port_facts.rb', line 12

attribute :port