volume_type_info – Fetches the Volume Type/Storage Templates Details

Synopsis

This playbook helps in performing the Volume Type/Storage Templates Fetch operations on the Storage Name provided.

Parameters

name (True, str, None)

Name of the Volume Type or Storage Template

id (optional, str, None)

ID of the Volume Type or Storage Template

Examples

- name: List all the volume type details
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Fetch Volume Type Details
       ibm.powervc.volume_type_info:
          cloud: "CLOUD_NAME"
          validate_certs: no
       register: result
     - debug:
          var: result

- name: List Storage Templates/Volume Type Details Playbook using IDs
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Perform Volume Type Details Operation
       ibm.powervc.volume_type_info:
          cloud: "CLOUD_NAME"
          id: "VOLUME_TYPE_ID"
          validate_certs: no
       register: result
     - debug:
          var: result

- name: List Storage Templates/Volume Type Details Playbook using the Volume Name
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Perform Volume Type Details Operation
       ibm.powervc.volume_type_info:
          cloud: "CLOUD_NAME"
          name: "VOLUME_TYPE_NAME"
          validate_certs: no
       register: result
     - debug:
          var: result

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by PowerVC.

Authors

  • Karteesh Kumar Vipparapelli (@vkarteesh)