vCD Independent Disk - vmware-archive/ansible-module-vcloud-director GitHub Wiki
-
- name: create disk vcd_disk: disk_name: "test_disk" description: "Test Disk" size: "100" vdc: "Test_VDC" state: "present"
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- disk_name - (Required) name of the new disk
- description - (Optional) description of the new disk
- size - (Required) size of the disk in bytes
- vdc - (Required) name of the virutal data center
- bus_type - (Optional) bus type of the disk
- bus_sub_type - (Optional) bus subtype of the disk
- storage_profile - (Optional) name of an existing storage profile to be used by the new disk
- iops - (Optional) iops requirement of the disk
- state == "present" (Required) to create org
- name: update disk vcd_disk: disk_name: "test_disk" new_disk_name: "test_disk_1" new_size: "200" vdc: "Test_VDC" state: "update"
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- disk_name - (Required) name of the existing disk
- vdc - (Required) name of the virtual data center
- disk_id - (Optional) id of the existing disk
- new_disk_name - (Optional) new name of the disk
- new_size - (Optional) new size of the disk
- new_description - (Optional) new description of the disk
- new_storage_profile - (Optional) new storage profile that the disk will be moved to
- new_iops - (Optional) new iops requirement of the disk
- state == "update" (Required) to update org
- name: delete disk vcd_disk: disk_name: "test_disk" vdc: "Test_VDC" state: "absent"
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- disk_name - (Required) name of the disk to delete
- disk_id - (Optional) id of the disk to delete
- vdc - (Required) name of the virtual datacenter
- state == "absent" (Required) to create org