mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #514] [CLOSED] migrate: cli vminfo #517
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#517
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/514
Author: @NemoDacremont
Created: 11/10/2025
Status: ❌ Closed
Base:
master← Head:migrate/cli-vminfo📝 Commits (4)
0a4f9f5feat: add NewVmRefFromApi to create coherent VmRef from GuestIDccab543migrate: vminfo in the new cli270a9eaRevert "feat: add NewVmRefFromApi to create coherent VmRef from GuestID"1ba95b2fix: use client.CheckVmRef instead of introducing new functions📊 Changes
2 files changed (+25 additions, -0 deletions)
View changed files
➕
cli/command/get/get-vminfo.go(+18 -0)📝
cli/command/get/get.go(+7 -0)📄 Description
Changes
Add
get vminfoto the new cli, I had to addNewVmRefFromApiin order to properly get the guest information from API only with the Id.list of changes :
get vminfoto the new clisdk.NewVmRefFromApito create a new VmRef with all information from API only with the VmIdTest
This changes can be tested by creating a vm and then retrieving the info with
proxmox-api-go get vminfo <id>, here is a snippet that should do the work :It should show :
fixes #513
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.