[GH-ISSUE #494] feat: add ConfigContent_Template.Delete and ConfigContent_Template.Exists #130

Closed
opened 2026-02-28 00:40:41 +03:00 by kerem · 0 comments
Owner

Originally created by @NemoDacremont on GitHub (Oct 26, 2025).
Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/494

As discussed in Telmate/terraform-provider-proxmox#1420, it would be better to up stream the logic need in the SDK. More precisely for a CT Template :

  • Having the ability to check if a template exists
  • A method should exists to Delete easily the template from its definition

As discussed, it would be better if it was in the form of :

Template.Delete(), Template.Download(), Template.Exists()

I wonder if the Template.Download shouldn't be added as well. And I also though about something like Template.osTemplate(), Template.Id() or Template.VolId(), since this Id is used from time to time leading to code duplication to create it.

I've started working on a patch I will link to this issue soon

Originally created by @NemoDacremont on GitHub (Oct 26, 2025). Original GitHub issue: https://github.com/Telmate/proxmox-api-go/issues/494 As discussed in Telmate/terraform-provider-proxmox#1420, it would be better to up stream the logic need in the SDK. More precisely for a CT Template : * Having the ability to check if a template exists * A method should exists to Delete easily the template from its definition As discussed, it would be better if it was in the form of : > Template.Delete(), Template.Download(), Template.Exists() I wonder if the `Template.Download` shouldn't be added as well. And I also though about something like `Template.osTemplate()`, `Template.Id()` or `Template.VolId()`, since this Id is used from time to time leading to code duplication to create it. I've started working on a patch I will link to this issue soon
kerem closed this issue 2026-02-28 00:40:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#130
No description provided.