mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #94] [MERGED] implement disk "format" and "storage_type" fetch from API #224
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#224
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/94
Author: @yukron
Created: 10/22/2020
Status: ✅ Merged
Merged: 10/26/2020
Merged by: @ggongaware
Base:
master← Head:feature/added_getstoragestatus_api_request📝 Commits (3)
efd5208added GetStorageStatus call to APIea7d048added GetStorageContent API and disk format keyc9aac81probing CheckVmRef for GetStorageStatus and GetStorageContent📊 Changes
2 files changed (+65 additions, -6 deletions)
View changed files
📝
proxmox/client.go(+34 -0)📝
proxmox/config_qemu.go(+31 -6)📄 Description
This is to support
terraform importto populate with actual disk parameters, right now both "format" and "storage_type" are only assigned on Create and Update.PS: Yes, there are 2 additional API calls :) but not sure if it can be simplified.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.