All URIs are relative to https://api.upcloud.com/1.2
Method | HTTP request | Description |
---|---|---|
ListPrices | GET /price | List prices |
PriceListResponse ListPrices ()
List prices
Returns a list resource prices.
using System;
using System.Diagnostics;
using Upcloud.Api;
using Upcloud.Client;
using Upcloud.Model;
namespace Example
{
public class ListPricesExample
{
public void main()
{
// Configure HTTP basic authorization: baseAuth
Configuration.Default.Username = "YOUR_USERNAME";
Configuration.Default.Password = "YOUR_PASSWORD";
var apiInstance = new PricesApi();
try
{
// List prices
PriceListResponse result = apiInstance.ListPrices();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling PricesApi.ListPrices: " + e.Message );
}
}
}
}
This endpoint does not need any parameter.
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]