volume_type_update – Performs the Volume Type Update Operations
Synopsis
This playbook helps in performing the Volume Update operations on the Volume provided.
Parameters
- name (True, str, None)
Name of the Volume Type
- id (optional, str, None)
ID of the Volume Type
- extra_specs (optional, dict, None)
extra specifications of the volume type
Examples
- name: Volume Type Details Playbook
hosts: localhost
gather_facts: no
vars:
auth:
auth_url: https://<POWERVC>:5000/v3
project_name: PROJECT-NAME
username: USERID
password: PASSWORD
project_domain_name: PROJECT_DOMAIN_NAME
user_domain_name: USER_DOMAIN_NAME
tasks:
- name: Perform Volume Details Operation
ibm.powervc.volume_type_update:
auth: "{{ auth }}"
name: "VOLUME_NAME"
extra_specs:
drivers:flashcopy_rate: "50"
drivers:grainsize: "256"
validate_certs: no
register: result
- debug:
var: result
- name: Volume Type Details Playbook using Volume Name
hosts: localhost
gather_facts: no
tasks:
- name: Perform Volume Details Operation
ibm.powervc.volume_type_update:
cloud: "CLOUD_NAME"
id: "VOLUME_ID"
extra_specs:
drivers:flashcopy_rate: "50"
drivers:grainsize: "256"
validate_certs: no
register: result
- debug:
var: result
- name: Volume Type Details Playbook using the Volume IDs
hosts: localhost
gather_facts: no
tasks:
- name: Perform Volume Details Operation
ibm.powervc.volume_update:
cloud: "CLOUD_NAME"
name: "VOLUME_NAME"
extra_specs:
"drivers:provision_type":"thin"
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.