Note
This module is part of the hitachivantara.vspone_block collection (version 3.5.1).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install hitachivantara.vspone_block. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: hitachivantara.vspone_block.sds_block.hv_sds_block_vps_facts.
New in hitachivantara.vspone_block 3.1.0
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
connection_info dictionary / required | Information required to establish a connection to the storage system. |
|
address string / required |
IP address or hostname of the storage system. |
|
connection_type string |
Type of connection to the storage system. Choices:
|
|
password string / required |
Password for authentication. |
|
username string / required |
Username for authentication. |
spec dictionary | Specification for retrieving VPS information. |
|
id string |
ID of the VPS to retrieve information for. |
|
name string |
VPS name to retrieve information for. |
Attribute | Support | Description |
|---|---|---|
check_mode | Support: full | Determines if the module should run in check mode. |
- name: Retrieve information about all VPS
hitachivantara.vspone_block.sds_block.hv_sds_block_vps_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
- name: Retrieve information about a specific VPS by ID
hitachivantara.vspone_block.sds_block.hv_sds_block_vps_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
spec:
id: "464e1fd1-9892-4134-866c-6964ce786676"
- name: Retrieve information about a specific VPS user by name
hitachivantara.vspone_block.sds_block.hv_sds_block_vps_facts:
connection_info:
address: sdsb.company.com
username: "admin"
password: "password"
spec:
name: "VPS_01"
Facts returned by this module are added/updated in the hostvars host facts and can be referenced by name just like any other host fact. They do not need to be registered in order to use them.
Key | Description |
|---|---|
vsp_info list / elements=dictionary | List of VPS with their attributes. Returned: success |
|
id string |
ID of the VPS. Returned: success Sample: |
|
name string |
Name of the VPS. Returned: success Sample: |
|
number_of_hbas_created integer |
Number of HBAs created. Returned: success Sample: |
|
number_of_servers_created integer |
Number of servers created. Returned: success Sample: |
|
number_of_sessions_created integer |
Number of sessions created. Returned: success Sample: |
|
number_of_user_groups_created integer |
Number of user groups created. Returned: success Sample: |
|
number_of_users_created integer |
Number of users created. Returned: success Sample: |
|
number_of_volume_server_connections_created integer |
Number of volume server connections created. Returned: success Sample: |
|
upper_limit_for_number_of_hbas integer |
Upper limit for number of HBAs. Returned: success Sample: |
|
upper_limit_for_number_of_servers integer |
Upper limit for number of servers. Returned: success Sample: |
|
upper_limit_for_number_of_sessions integer |
Upper limit for number of sessions. Returned: success Sample: |
|
upper_limit_for_number_of_user_groups integer |
Upper limit for number of user groups. Returned: success Sample: |
|
upper_limit_for_number_of_users integer |
Upper limit for number of users. Returned: success Sample: |
|
upper_limit_for_number_of_volume_server_connections integer |
Upper limit for number of volume server connections. Returned: success Sample: |
|
volume_settings dictionary |
Volume settings for the VPS. Returned: success |
|
capacity_of_volumes_created integer |
Capacity of volumes created. Returned: success Sample: |
|
capacity_saving_of_volume string |
Capacity saving mode of the volume. Returned: success Sample: |
|
number_of_volumes_created integer |
Number of volumes created. Returned: success Sample: |
|
pool_id string |
Pool ID associated with the volume. Returned: success Sample: |
|
qos_param dictionary |
QoS parameters for the volume. Returned: success |
|
upper_alert_allowable_time_of_volume integer |
Upper alert allowable time of the volume. Returned: success Sample: |
|
upper_limit_for_iops_of_volume integer |
Upper limit for IOPS of the volume. Returned: success Sample: |
|
upper_limit_for_transfer_rate_of_volume integer |
Upper limit for transfer rate of the volume. Returned: success Sample: |
|
saving_mode_of_volume string |
Saving mode of the volume. Returned: success Sample: |
|
upper_limit_for_capacity_of_single_volume integer |
Upper limit for capacity of a single volume. Returned: success Sample: |
|
upper_limit_for_capacity_of_volumes integer |
Upper limit for capacity of volumes. Returned: success Sample: |
|
upper_limit_for_number_of_volumes integer |
Upper limit for number of volumes. Returned: success Sample: |
vsp_summary_info dictionary | Summary information of the VPS. Returned: success |
|
total_count integer |
Total count of VPS. Returned: success Sample: |
|
total_upper_limit_for_capacity_of_volumes integer |
Total upper limit for capacity of volumes. Returned: success Sample: |
|
total_upper_limit_for_number_of_hbas integer |
Total upper limit for number of HBAs. Returned: success Sample: |
|
total_upper_limit_for_number_of_servers integer |
Total upper limit for number of servers. Returned: success Sample: |
|
total_upper_limit_for_number_of_sessions integer |
Total upper limit for number of sessions. Returned: success Sample: |
|
total_upper_limit_for_number_of_user_groups integer |
Total upper limit for number of user groups. Returned: success Sample: |
|
total_upper_limit_for_number_of_users integer |
Total upper limit for number of users. Returned: success Sample: |
|
total_upper_limit_for_number_of_volume_server_connections integer |
Total upper limit for number of volume server connections. Returned: success Sample: |
|
total_upper_limit_for_number_of_volumes integer |
Total upper limit for number of volumes. Returned: success Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/hitachivantara/vspone_block/sds_block.hv_sds_block_vps_facts_module.html