Corsinvest.ProxmoxVE.Api.Shared 9.0.0

dotnet add package Corsinvest.ProxmoxVE.Api.Shared --version 9.0.0
                    
NuGet\Install-Package Corsinvest.ProxmoxVE.Api.Shared -Version 9.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Shared" Version="9.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Corsinvest.ProxmoxVE.Api.Shared" Version="9.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Shared" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Corsinvest.ProxmoxVE.Api.Shared --version 9.0.0
                    
#r "nuget: Corsinvest.ProxmoxVE.Api.Shared, 9.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Corsinvest.ProxmoxVE.Api.Shared@9.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Corsinvest.ProxmoxVE.Api.Shared&version=9.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Corsinvest.ProxmoxVE.Api.Shared&version=9.0.0
                    
Install as a Cake Tool

Corsinvest.ProxmoxVE.Api 🔧

<div align="center">

cv4pve-api-dotnet Banner

🚀 Official .NET Client Library Suite for Proxmox VE API

License .NET GitHub Stars

We appreciate your star, it helps!

</div>


📖 About

<div align="center">

   ______                _                      __
  / ____/___  __________(_)___ _   _____  _____/ /_
 / /   / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
/ /___/ /_/ / /  (__  ) / / / / |/ /  __(__  ) /_
\____/\____/_/  /____/_/_/ /_/|___/\___/____/\__/

Corsinvest for Proxmox VE Api Client (Made in Italy) 🇮🇹

</div>

A comprehensive .NET library suite for interacting with the Proxmox VE API. This collection provides everything you need to build powerful applications that manage Proxmox VE infrastructure programmatically.

🚀 Quick Start

# Install the main API package
dotnet add package Corsinvest.ProxmoxVE.Api

# Install extension package for additional functionality
dotnet add package Corsinvest.ProxmoxVE.Api.Extension
using Corsinvest.ProxmoxVE.Api;

var client = new PveClient("your-proxmox-host.com");
if (await client.Login("root", "your-password"))
{
    // Get cluster status
    var status = await client.Cluster.Status.Status();
    Console.WriteLine($"Cluster: {status.Response.data[0].name}");

    // Manage VMs
    var vm = await client.Nodes["pve1"].Qemu[100].Config.VmConfig();
    Console.WriteLine($"VM: {vm.Response.data.name}");
}

📦 Package Suite

<div align="center">

Package Purpose Documentation
Corsinvest.ProxmoxVE.Api 🔧 Core API Client Main library for Proxmox VE API access
Corsinvest.ProxmoxVE.Api.Extension 🚀 Extended Features Helper methods and utilities
Corsinvest.ProxmoxVE.Api.Shared 📊 Shared Models Common models and utilities
Corsinvest.ProxmoxVE.Api.Shell 💻 Console Tools Console application utilities
Corsinvest.ProxmoxVE.Api.Metadata 📋 API Metadata API documentation extraction

</div>


🌟 Key Features

<table> <tr> <td width="50%">

Developer Experience

  • Async/Await throughout the library
  • Strongly typed models and responses
  • IntelliSense support in all IDEs
  • Auto-generated from official API docs
  • Tree structure matching Proxmox VE API

🔧 Core Functionality

  • Full API coverage for Proxmox VE
  • VM/CT management (create, configure, snapshot)
  • Cluster operations (status, resources, HA)
  • Storage management (local, shared, backup)
  • Network configuration (bridges, VLANs, SDN)

</td> <td width="50%">

🛡️ Enterprise Ready

  • API token authentication (Proxmox VE 6.2+)
  • Two-factor authentication support
  • SSL certificate validation
  • Configurable timeouts and retry logic
  • Microsoft.Extensions.Logging integration

🚀 Advanced Features

  • Extension methods for common operations
  • Task management utilities
  • Bulk operations with pattern matching
  • Response type switching (JSON, PNG)
  • Console application helpers

</td> </tr> </table>


🎯 Choose Your Package

🔧 Core API Client

dotnet add package Corsinvest.ProxmoxVE.Api

Perfect for basic API operations and building custom solutions. 📖 Read Api Documentation →

🚀 Extended Functionality

dotnet add package Corsinvest.ProxmoxVE.Api.Extension

Adds helper methods, VM discovery, and simplified operations. 📖 Read Extension Documentation →

📊 Shared Models

dotnet add package Corsinvest.ProxmoxVE.Api.Shared

Common models and utilities used across the suite. 📖 Read Shared Documentation →

💻 Console Applications

dotnet add package Corsinvest.ProxmoxVE.Api.Shell

Utilities for building command-line tools. 📖 Read Shell Documentation →

📋 API Metadata

dotnet add package Corsinvest.ProxmoxVE.Api.Metadata

Tools for API documentation extraction and analysis. 📖 Read Metadata Documentation →


🛠️ Architecture Overview

graph TB
    A[Your Application] --> B[Corsinvest.ProxmoxVE.Api]
    A --> C[Corsinvest.ProxmoxVE.Api.Extension]
    A --> D[Corsinvest.ProxmoxVE.Api.Shell]

    C --> B
    D --> B
    B --> E[Corsinvest.ProxmoxVE.Api.Shared]
    C --> E
    D --> E

    F[Corsinvest.ProxmoxVE.Api.Metadata] --> E

    B --> G[Proxmox VE API]

    style A fill:#e1f5fe
    style B fill:#f3e5f5
    style C fill:#e8f5e8
    style G fill:#fff3e0

📚 Documentation

🎓 Getting Started

📖 API Reference

🔧 Package Documentation

Each package has detailed documentation with examples and API reference:


💡 Examples

🖥️ VM Management

// Create and configure a VM
var client = new PveClient("pve.example.com");
await client.Login("admin@pve", "password");

var result = await client.Nodes["pve1"].Qemu.CreateVm(
    vmid: 100,
    name: "web-server",
    memory: 4096,
    cores: 2
);

if (result.IsSuccessStatusCode)
{
    Console.WriteLine("✅ VM created successfully!");
}

📊 Cluster Monitoring

using Corsinvest.ProxmoxVE.Api.Extension;

// Get cluster overview with extension methods
var nodes = await client.GetNodesAsync();
foreach (var node in nodes)
{
    Console.WriteLine($"Node {node.Node}: CPU {node.CpuUsage:P2}, Memory {node.MemoryUsage:P2}");
}

🔍 VM Discovery

// Find VMs using patterns (like cv4pve-autosnap)
var productionVms = await client.GetVmsAsync("@tag-production");
var webVms = await client.GetVmsAsync("web%");
var allExceptTest = await client.GetVmsAsync("@all,-@tag-test");

🤝 Community & Support

🏢 Commercial Support

Professional support and consulting available through Corsinvest.

🌐 Community Resources

🔄 Contributing

We welcome contributions! Please see our Contributing Guide for details.


📄 License

Copyright © Corsinvest Srl

This software is part of the cv4pve-tools suite. For licensing details, please visit LICENSE.


<div align="center"> <sub>Part of <a href="https://www.cv4pve-tools.com">cv4pve-tools</a> suite | Made with ❤️ in Italy by <a href="https://www.corsinvest.it">Corsinvest</a></sub> </div>

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Corsinvest.ProxmoxVE.Api.Shared:

Package Downloads
Corsinvest.ProxmoxVE.Api.Extension

Corsinvest for Proxmox VE Api Client Extension

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.0 127 10/24/2025
8.4.1 1,853 7/7/2025
8.4.0 568 4/9/2025
8.3.3 446 3/21/2025
8.3.2 338 1/29/2025
8.3.1 324 1/3/2025
8.3.0 813 12/19/2024
8.2.5 933 9/19/2024
8.2.4 1,237 8/13/2024
8.2.3 471 7/15/2024
8.2.2 9,709 6/14/2024
8.2.1 2,567 5/8/2024
8.2.0 529 4/26/2024
8.1.7 369 4/19/2024
8.1.6 476 4/2/2024
8.1.5 338 3/28/2024
8.1.4 303 3/22/2024
8.1.3 6,328 2/29/2024
8.1.2 303 2/13/2024
8.1.1 273 2/12/2024
8.1.0 6,912 12/11/2023
8.0.3 1,111 9/22/2023
8.0.2 654 9/18/2023
8.0.1 433 8/11/2023
8.0.0 480 6/23/2023
7.4.6 2,013 6/16/2023
7.4.5 424 6/8/2023
7.4.4 1,176 5/29/2023
7.4.3 518 5/10/2023
7.4.2 386 5/5/2023
7.4.1 751 4/14/2023
7.4.0 547 3/23/2023
7.3.8 1,000 11/3/2022
7.3.7 1,587 9/7/2022
7.3.6 1,877 6/16/2022
7.3.5 1,087 6/14/2022
7.3.4 3,643 5/27/2022
7.3.3 546 5/19/2022
7.3.2 1,443 5/3/2022
7.3.1 1,231 4/26/2022
7.3.0 1,179 4/5/2022