...
Mermaid | ||||||
---|---|---|---|---|---|---|
| ||||||
{"diagramDefinition":"graph TD\r\n\r\nZ(( ))\r\n\r\nstyle Z fill:#g1g,stroke:#100,stroke-width:20px\r\n\r\nZ-->A(Requires a VM in a VDC<br/> that supports hard disks)\r\n\r\nA -->B(Log<font color=0052cc>Log in and get token)\r\n\r\nclick B href \"https://wiki.abiquo.com/api/latest/LoginResource.html#login-and-get-the-current-user\"\r\n\r\nB -->C(Get<font color=0052cc>Get VMs from the cloud)\r\n\r\nclick C href \"https://wiki.abiquo.com/api/latest/AllVirtualMachinesResource.html#list-virtual-machines-of-the-user\"\r\n\r\nC-->D(Get<font color=0052cc>Get the virtual datacenter of the VM)\r\n\r\nclick D href \"https://wiki.abiquo.com/api/latest/VirtualDatacentersResource.html#get-a-virtual-datacenter\"\r\n\r\nD-->E(Create<font color=0052cc>Create a data object<br/>for the hard disk)\r\n\r\nclick E href \"https://wiki.abiquo.com/api/latest/harddisk.html\"\r\n\r\nE-->F(Create<font color=0052cc>Create a hard disk<br/>in a virtual datacenter)\r\n\r\nclick F href \"https://wiki.abiquo.com/api/latest/DisksManResource.html#create-a-hard-disk-in-a-virtual-datacenter\"\r\n\r\nF-->G(If<font color=0052cc>If necessary<br/>power off the VM)\r\n\r\nclick G href \"https://wiki.abiquo.com/api/latest/VirtualMachinesResource.html#change-the-state-of-a-virtual-machine\"\r\n\r\nG-->H(Get<font color=0052cc>Get the VM again<br/>from its edit link)\r\n\r\nclick H href \"https://wiki.abiquo.com/api/latest/VirtualMachinesResource.html#get-a-virtual-machine\"\r\n\r\nH-->I(Change the edit link of the<br/>hard disk to a diskX link<br/>and add to VM object)\r\n\r\nI-->J(Update<font color=0052cc>Update VM to add<br/>the hard disk)\r\n\r\nclick J href \"https://wiki.abiquo.com/api/latest/VirtualMachinesResource.html#update-a-virtual-machine\"\r\n\r\nJ-->Q((<fontcolour=f3efe6> * ))\r\n\tstyle Q fill:#f3efe6,stroke:#030300,stroke-width:7px,color:#f3efe6"} |
...