hitachivantara.vspone_block.sds_block.hv_sds_block_vps module – Manages Hitachi SDS block storage system Virtual Private Storages (VPS) volume ADR setting.
Note
This module is part of the hitachivantara.vspone_block collection (version 4.3.0).
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.
New in hitachivantara.vspone_block 3.1.0
Synopsis
- This module allows to update Virtual Private Storages volume ADR setting. 
- For examples go to URL https://github.com/hitachi-vantara/vspone-block-ansible/blob/main/playbooks/sds_block_direct/update_vps_volume_adr_setting.yml 
Requirements
The below requirements are needed on the host that executes this module.
- python >= 3.9 
Parameters
| Parameter | Comments | 
|---|---|
| Information required to establish a connection to the storage system. | |
| IP address or hostname of the storage system. | |
| Type of connection to the storage system. Choices: 
 | |
| Password for authentication. This is a required field. | |
| Username for authentication. This is a required field. | |
| Specification for VPS information. | |
| Capacity saving for the VPS volumes. Choices: 
 | |
| ID of the VPS to retrieve information for. | |
| VPS name to retrieve information for. | |
| State of the VPS volume ADR setting. Choices: 
 | 
Attributes
| Attribute | Support | Description | 
|---|---|---|
| Support: none | Determines if the module should run in check mode. | 
Examples
- name: Update VPS Volume ADR setting by VPS Id
  hitachivantara.vspone_block.sds_block.hv_sds_block_vps:
    connection_info:
      address: sdsb.company.com
      username: "admin"
      password: "password"
    spec:
      vps_id: "464e1fd1-9892-4134-866c-6964ce786676"
      capacity_saving: "Disabled"
- name: Update VPS Volume ADR setting by VPS name
  hitachivantara.vspone_block.sds_block.hv_sds_block_vps:
    connection_info:
      address: sdsb.company.com
      username: "admin"
      password: "password"
    spec:
      vps_name: "VPS_01"
      capacity_saving: "Compression"
Return Values
Common return values are documented here, the following are the fields unique to this module:
| Key | Description | 
|---|---|
| Attributes of the VPS. Returned: always | |
| ID of the VPS. Returned: success Sample:  | |
| Name of the VPS. Returned: success Sample:  | |
| Number of HBAs created. Returned: success Sample:  | |
| Number of servers created. Returned: success Sample:  | |
| Number of sessions created. Returned: success Sample:  | |
| Number of user groups created. Returned: success Sample:  | |
| Number of users created. Returned: success Sample:  | |
| Number of volume server connections created. Returned: success Sample:  | |
| Upper limit for the number of HBAs. Returned: success Sample:  | |
| Upper limit for the number of servers. Returned: success Sample:  | |
| Upper limit for the number of sessions. Returned: success Sample:  | |
| Upper limit for the number of user groups. Returned: success Sample:  | |
| Upper limit for the number of users. Returned: success Sample:  | |
| Upper limit for the number of volume server connections. Returned: success Sample:  | |
| Settings for the volumes. Returned: success | |
| Capacity of volumes created. Returned: success Sample:  | |
| Capacity saving mode of the volume. Returned: success Sample:  | |
| Number of volumes created. Returned: success Sample:  | |
| Pool ID associated with the volume. Returned: success Sample:  | |
| Quality of Service parameters for the volume. Returned: success | |
| Upper alert allowable time of the volume. Returned: success Sample:  | |
| Upper limit for IOPS of the volume. Returned: success Sample:  | |
| Upper limit for transfer rate of the volume. Returned: success Sample:  | |
| Saving mode of the volume. Returned: success Sample:  | |
| Upper limit for the capacity of a single volume. Returned: success Sample:  | |
| Upper limit for the capacity of volumes. Returned: success Sample:  | |
| Upper limit for the number of volumes. Returned: success Sample:  | 
