To create vm volumes, we make use of:
POST https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/storage/{storage}/content
because that allows us to manually specify a filename like
.
Now, we need the option to move a disk from one vm to another, for which we use the move_disk endpoint.
Unfortunately, there doesn't seem to be any possibility to rename a disk, neither as part of the move_disk endpoint, nor with
PUT https://pve.proxmox.com/pve-docs/ap...des/{node}/storage/{storage}/content/{volume}
So at that point, our custom naming scheme breaks.
Have I overlooked something, or would it be possible to get the functionality to rename disks, either as part of move_disk, or the storagecontent PUT endpoint?
POST https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/storage/{storage}/content
because that allows us to manually specify a filename like
Code:
vm-<vmId>-<diskuuid>
Now, we need the option to move a disk from one vm to another, for which we use the move_disk endpoint.
Unfortunately, there doesn't seem to be any possibility to rename a disk, neither as part of the move_disk endpoint, nor with
PUT https://pve.proxmox.com/pve-docs/ap...des/{node}/storage/{storage}/content/{volume}
So at that point, our custom naming scheme breaks.
Have I overlooked something, or would it be possible to get the functionality to rename disks, either as part of move_disk, or the storagecontent PUT endpoint?
Last edited: