All URIs are relative to https://penapi.pacnetconnect.com
Method | HTTP request | Description |
---|---|---|
InventoryDatacentersGet | GET /1.0.0/inventory/datacenters | Get list of all the data centers |
List InventoryDatacentersGet ()
Get list of all the data centers
Get list of all the data centers
using System;
using System.Diagnostics;
using IO.TelstraTPN.Api;
using IO.TelstraTPN;
using IO.TelstraTPN.Model;
namespace Example
{
public class InventoryDatacentersGetExample
{
public void main()
{
// Configure OAuth2 access token for authorization: auth
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
var apiInstance = new DatacentresApi();
try
{
// Get list of all the data centers
List<InventoryDatacentersResponse> result = apiInstance.InventoryDatacentersGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling DatacentresApi.InventoryDatacentersGet: " + 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]