Coder Social home page Coder Social logo

groovy-upcloud's People

Contributors

vmj avatar

Stargazers

 avatar

Watchers

 avatar  avatar

groovy-upcloud's Issues

Add support for monthly billing summary API

There are two new APIs:

  • GET /1.3/account/billing_summary/YYYY-MM
  • GET /1.3/account/billing_summary/YYYY-MM/detailed

See if they require one or two methods in UpCloudApi trait.

Also, check how they parse and if they conflict with any of the resources.

https://developers.upcloud.com/1.3/3-accounts/#get-monthly-billing-summary

https://developers.upcloud.com/1.3/3-accounts/#get-detailed-monthly-billing-summary

This is separate from #3 but the implied (new) Billing resource will be a mess.

Add support for software defined networking (SDN)

Add support for private cloud (the hosts APIs)

  • A new resource Host, which has (among other simple properties) a List<Stat> stats property
  • A new method UpCloudApi::hosts that returns a list of List<Host> hosts resources
  • A new API trait HostApi with the methods:
    • HostApi::load(...args)
    • HostApi::update(Resource, ...args) (only Host::description seems to be allowed here`)

Question: the properties of Host or Stat are not documented?

https://developers.upcloud.com/1.3/14-hosts/

Add missing zone pricing resources

Zones in the prices listing may have the following subresources that are not covered:

  • ServerPlan_1xCPU_2GB
  • ServerPlan_2xCPU_4GB
  • ServerPlan_4xCPU_8GB
  • ServerPlan_6xCPU_16GB
  • ServerPlan_8xCPU_32GB
  • ServerPlan_12xCPU_48GB
  • ServerPlan_16xCPU_64GB
  • ServerPlan_20xCPU_96GB
  • ServerPlan_20xCPU_128GB
  • NetworkPrivateVlan
  • StorageTemplate

They each have the amount and price fields common to the plan resources.

Add support for `host`/`avoidHost` properties in `ServerApi::{,re}start` methods

Starting a server used to be an empty POST call. Now it takes a Server resource with host and/or avoidHost properties.

Both of those properties are optional. Does the API still accept empty POST body?

https://developers.upcloud.com/1.3/8-servers/#start-server

Restarting a server now takes an optional host property.This begs a question: should the method take a RestartServer resource as a parameter? And why not avoidHost, or does it?

https://developers.upcloud.com/1.3/8-servers/#restart-server

Add support for subaccount management APIs

Add support for `mac`, `floating`, and `zone` properties of `IpAddress`

These properties seem to be available in UpCloudApi::ipAddresses response, and IpAddressApi::load response.

https://developers.upcloud.com/1.3/10-ip-addresses/#list-ip-addresses

https://developers.upcloud.com/1.3/10-ip-addresses/#get-ip-address-details

The mac and floating properties can be sent in UpCloudApi::create(IpAddress,...) payload.

https://developers.upcloud.com/1.3/10-ip-addresses/#assign-ip-address

The mac can be sent in IpAddressApi::update(IpAddress,...) payload.

https://developers.upcloud.com/1.3/10-ip-addresses/#modify-ip-address

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.