NexoVirt.Sdk
0.1.1
dotnet add package NexoVirt.Sdk --version 0.1.1
NuGet\Install-Package NexoVirt.Sdk -Version 0.1.1
<PackageReference Include="NexoVirt.Sdk" Version="0.1.1" />
<PackageVersion Include="NexoVirt.Sdk" Version="0.1.1" />
<PackageReference Include="NexoVirt.Sdk" />
paket add NexoVirt.Sdk --version 0.1.1
#r "nuget: NexoVirt.Sdk, 0.1.1"
#:package NexoVirt.Sdk@0.1.1
#addin nuget:?package=NexoVirt.Sdk&version=0.1.1
#tool nuget:?package=NexoVirt.Sdk&version=0.1.1
NexoVirt SDK for .NET / C#
Official .NET client for the NexoVirt REST API, a clean, token-authenticated API over Proxmox VE for managing hosts, guests (KVM VMs + LXC containers), plans, IPAM, firewall, snapshots and more.
- Docs: NexoVirt REST API reference
- What is NexoVirt: a self-hosted control panel and REST API for Proxmox VE. See nexovirt.com
Generated from the NexoVirt OpenAPI specification, so it
always matches the live API. Targets net8.0. See Regenerating below.
Install
dotnet add package NexoVirt.Sdk
Quick start
Create an API token in your panel under Settings → API tokens, then point the client at
your panel's /api/v1 base URL:
using NexoVirt.Sdk.Api;
using NexoVirt.Sdk.Client;
var config = new Configuration
{
BasePath = "https://your-panel.example/api/v1",
AccessToken = "YOUR_TOKEN", // Bearer token from Settings -> API tokens
};
var hosts = new HostsNodesApi(config);
var guests = new GuestsApi(config);
var allHosts = hosts.ListHosts(); // every Proxmox host
var list = guests.ListGuests(hostId: 1); // guests on host 1
Console.WriteLine(list.Data);
Every response uses the NexoVirt envelope { success, data, error }; list endpoints add
meta: { page, perPage, total }.
Authentication
All requests send Authorization: Bearer <token>. Tokens can be host-scoped, IP-allowlisted
and rate-limited in the panel. A scoped token gets 403 on any host it may not touch.
Regenerating
This SDK is generated with OpenAPI Generator:
./scripts/regenerate.sh
License
MIT. See LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- JsonSubTypes (>= 2.0.1)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release.