HetznerCloudApiDotNet 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HetznerCloudApiDotNet --version 1.1.0                
NuGet\Install-Package HetznerCloudApiDotNet -Version 1.1.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="HetznerCloudApiDotNet" Version="1.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HetznerCloudApiDotNet --version 1.1.0                
#r "nuget: HetznerCloudApiDotNet, 1.1.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.
// Install HetznerCloudApiDotNet as a Cake Addin
#addin nuget:?package=HetznerCloudApiDotNet&version=1.1.0

// Install HetznerCloudApiDotNet as a Cake Tool
#tool nuget:?package=HetznerCloudApiDotNet&version=1.1.0                

Welcome to Hetzner Cloud DotNet

Hetzner Cloud DotNet

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

This library allows you to manage all the services offered by Hetzner Cloud, with this library you can manage and automate the creation of servers until the implementation of applications that allow you to scale horizontally.

Compatibility

This library is developed in .NET Standard 2.1 and is compatible with all .NET and .NET Core implementations (.NET Framework is not supported), it can also be used in Console projects, Web API, Class Library and even with Blazor WASM .

.NET implementation Version support
.NET and .NET Core 3.0, 3.1, 5.0, 6.0, 7.0
.NET Framework N/A

Installation

To install you must go to Nuget package manager and search for "HetznerCloudApiDotNet" and then install.

NuGet Package

PM> Install-Package HetznerCloudApiDotNet

Usage

// Set token
HetznerDotNet.ApiCore.ApiToken = "UltraPrivateSecretKeyHetzner";

// Get SSH
HetznerDotNet.Api.SshKey sshKey = await HetznerDotNet.Api.SshKey.Get(123456789);

// Get location
HetznerDotNet.Api.Location location = await HetznerDotNet.Api.Location.Get(3);

// Get Ubuntu image
HetznerDotNet.Api.Image image = await HetznerDotNet.Api.Image.Get(67794396);

// Create Server
await HetznerDotNet.Api.Server.Create("Server Test", new List<long> { sshKey.Id }, location.Id, image.Id, 15);

Implemented functionality

✔️ - Available on API, implemented
❌ - Available on API, not implemented
➖ - Not available on API

Get one Get all Create Update Delete Actions
Certificates
Datacenters ✔️ ✔️
Firewalls ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Floating IPs
Images ✔️ ✔️
ISOs
Load Balancers ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Locations ✔️ ✔️
Primary IPs
Networks ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Placement Groups ✔️ ✔️ ✔️ ✔️ ✔️ ✔️
Pricing
Servers
Server Types ✔️ ✔️
SSH Keys ✔️ ✔️ ✔️ ✔️ ✔️
Volumes ✔️ ✔️ ✔️ ✔️ ✔️ ✔️

To have the complete list of the functionalities implemented in this library consult the Wiki


Made with ❤️ in LATAM for the 🌎

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 was computed.  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 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.4 444 10/28/2023
1.1.3 432 10/23/2023
1.1.2 656 6/25/2023
1.1.1 559 6/25/2023
1.1.0 654 4/29/2023
1.0.8 908 1/7/2023
1.0.7 767 1/2/2023
1.0.6 782 12/24/2022
1.0.5 779 12/18/2022
1.0.4 786 12/17/2022
1.0.3 776 12/12/2022