Class: Ansible::Ruby::Modules::Ovirt_host_storage_facts

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

Overview

Retrieve facts about one or more oVirt/RHV HostStorages (applicable only for block storage).

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

#fcpObject?

Returns Dictionary with values for fibre channel storage type:,C(address) - Address of the fibre channel storage server.,C(port) - Port of the fibre channel storage server.,C(lun_id) - LUN id.

Returns:

  • (Object, nil)

    Dictionary with values for fibre channel storage type:,C(address) - Address of the fibre channel storage server.,C(port) - Port of the fibre channel storage server.,C(lun_id) - LUN id.



20
# File 'lib/ansible/ruby/modules/generated/cloud/ovirt/ovirt_host_storage_facts.rb', line 20

attribute :fcp

#hostString

Returns Host to get device list from.

Returns:

  • (String)

    Host to get device list from.



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

attribute :host

#iscsiHash?

Returns Dictionary with values for iSCSI storage type:,C(address) - Address of the iSCSI storage server.,C(target) - The target IQN for the storage device.,C(username) - A CHAP user name for logging into a target.,C(password) - A CHAP password for logging into a target.

Returns:

  • (Hash, nil)

    Dictionary with values for iSCSI storage type:,C(address) - Address of the iSCSI storage server.,C(target) - The target IQN for the storage device.,C(username) - A CHAP user name for logging into a target.,C(password) - A CHAP password for logging into a target.



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

attribute :iscsi