vmware-archive / vcd-cli

Command Line Interface for VMware vCloud Director
https://vmware.github.io/vcd-cli
Other
163 stars 104 forks source link

Implement vm update compute policies #576

Open odraghi opened 1 year ago

odraghi commented 1 year ago

Update compute policies of a VM.

Options: --placement Placement policy to configure the VM. --sizing Sizing policy to configure the VM. --no-placement Configure the VM without placement policy.

Exemple: vcd vm update-compute-policies vapp1 vm1 --sizing 'System Default' --placement 'ESXi in Rack1'

The command show an error if required compute policy is not found in the vdc.