Git Product home page Git Product logo

hetzner-cloud-api-net's People

Contributors

fapo85 avatar garethwright avatar lk-code avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hetzner-cloud-api-net's Issues

Multiple API Token

a Hetzner Cloud Token is only for one group, so you need to set multiple and switch on the fly

Ability to specify multiple API tokens (appsettings):

{
    "HetznerCloud": {
        "ApiTokens": [
            {
                "Key": "StagingLevelGroup",
                "ApiToken": "....."
            },
            {
                "Key": "DevelopmentGroup",
                "ApiToken": "....."
            }
        ]
    }
}
IHetznerCloudService => void LoadApiToken(string key, string apiToken);

modify services to request with api tokens (selected one)

>> Neue Version

Dient als Ziel-Branch für die neue Version. Wird nach Abschluss in den Main gemerged.

We couldn't get the server details from hetzners cloud server using hetzner cloud-api-net.

We couldn't get the server details from hetzners cloud server using hetzner cloud-api-net.

We are trying to get the servers since last week. But couldn't do it. Here I had attached the screenshots for your reference. I had followed by the below steps to get the server details. Finally, my request is terminated in one method without any response. Please give any suggestion or solution for me.

Step 1:

image

Step 2:
Above request is going to the GetAsync method in Server.cs. There is a call for SendRequest method in this method.

string responseContent = await ApiCore.SendRequest(url);

image

Step 3:

Finally, my request is terminated in the following highlighted code.
image

Above method didn't return any values. the request goes for the GetStringAsync method, at this time request was terminated. Please help me. I'm in a critical situation. Please check and find the solution for my issue.

Server GetAll/GetById missing Properties

  • backup_window
  • created
  • datacenter (added)
  • id
  • image
  • included_traffic
  • ingoing_traffic
  • iso
  • labels
  • load_balancers
  • locked
  • name
  • outgoing_traffic
  • placement_group
  • primary_disk_size
  • private_net
  • protection
  • public_net
  • rescue_enabled
  • server_type
  • status
  • volumes

Server.GetAllAsync() not working

Hello..

When trying to perform a Server.GetAsync(serverId) or a GetAllAsync() I receive an error of the type "Message = "Object reference not set to an instance of an object."" It seems to me that something is happening with the token.

This is the code I am using. (I have deleted the token for security, but at the time of testing it was activated)
Captura

And then I get this error.
Sin título

I will appreciate your help. Thanks.

Server Actions

added ServerActionsService and Fluent Extension Methods for Server

Server

implement existing logic and implement empty interface methods for all other Server endpoints

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.