use TelstraTPN::Object::DatacentresApi;
All URIs are relative to https://penapi.pacnetconnect.com
Method | HTTP request | Description |
---|---|---|
inventory_datacenters_get | GET /1.0.0/inventory/datacenters | Get list of all the data centers |
ARRAY[InventoryDatacentersResponse] inventory_datacenters_get()
Get list of all the data centers
Get list of all the data centers
use Data::Dumper;
use TelstraTPN::DatacentresApi;
my $api_instance = TelstraTPN::DatacentresApi->new(
# Configure OAuth2 access token for authorization: auth
access_token => 'YOUR_ACCESS_TOKEN',
);
eval {
my $result = $api_instance->inventory_datacenters_get();
print Dumper($result);
};
if ($@) {
warn "Exception when calling DatacentresApi->inventory_datacenters_get: $@\n";
}
This endpoint does not need any parameter.
ARRAY[InventoryDatacentersResponse]
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]