retype_volume – Retype an IBM PowerVC volume

Synopsis

Performs retype operation on an existing volume.

Parameters

name (optional, str, None)

Name of the volume.

Mutually exclusive with id.

id (optional, str, None)

ID of the volume.

Mutually exclusive with name.

target_template (optional, str, None)

ID of the storage template (volume type).

migration_policy (optional, str, never)

Migration policy for retype operation.

Examples

- name: Retype volume using ID
  ibm.powervc.retype_volume:
    id: "VOLUME_ID"
    target_template: "STORAGE_TEMPLATE_ID"
    migration_policy: generic

- name: Retype volume using name
  ibm.powervc.retype_volume:
    name: "VOLUME_NAME"
    target_template: "STORAGE_TEMPLATE_ID"

- name: Retype volume using volume name
  ibm.powervc.retype_volume:
    name: "VOLUME_NAME"
    target_template: "STORAGE_TEMPLATE_ID"
    migration_policy: "on-demand"

Status

Authors

  • Karteesh Kumar Vipparapelli (@vkarteesh)