Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skripti päivittämään Upcloudin hinnat #4

Open
thejhh opened this issue Apr 11, 2020 · 0 comments
Open

Skripti päivittämään Upcloudin hinnat #4

thejhh opened this issue Apr 11, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@thejhh
Copy link
Member

thejhh commented Apr 11, 2020

Upcloudilla on API hinnoille: https://developers.upcloud.com/1.2/4-pricing/#list-prices

Tämän voisi toteuttaa niin, että tehdään useampia eri paketteja eri ominaisuuksilla automaattisesti.

Esimerkiksi kuten nyt, Upcloudin virtuaalipalvelin ei normaalisti sisällä suomilisää, joten suomen lipulla (ft_fi) varustettu tuote vertailussa tulee olla normihinta + 1,5 kerroin. Vastaavasti voisi generoida myös varmuuskopioidun version (ft_backup) jossa on lisätty varmuuskopioinnin hinta tavallisella määrällä (esim. kerran yössä, jos Upcloud tukee sellaisen automatisointia -- hinnan pitää olla vaatimatta ylimääräistä ohjelmointityötä asiakkaalta).

@thejhh thejhh added the help wanted Extra attention is needed label Apr 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant