Telstra Programmable Network is a self-provisioning platform that allows its users to create on-demand connectivity services between multiple end-points and add various network functions to those services. Programmable Network enables to connectivity to a global ecosystem of networking services as well as public and private cloud services. Once you are connected to the platform on one or more POPs (points of presence), you can start creating those services based on the use case that you want to accomplish. The Programmable Network API is available to all customers who have registered to use the Programmable Network. To register, please contact your account representative.
- API version: 2.1.3
- SDK version: 1.0.0
- Build date: 2018-01-17T21:50:14.739+11:00
- .NET 2.0
- Mono compiler
- Newtonsoft.Json.7.0.1
- RestSharp.Net2.1.1.11
Note: NuGet is downloaded by the mono compilation script and packages are installed with it. No dependency DLLs are bundled with this generator
Run the following command to generate the DLL
- [Mac/Linux]
/bin/sh compile-mono.sh
- [Windows] TODO
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using IO.TelstraTPN.Api;
using IO.TelstraTPN;
using IO.TelstraTPN.Model;
using System;
using System.Diagnostics;
using IO.TelstraTPN.Api;
using IO.TelstraTPN;
using IO.TelstraTPN.Model;
namespace Example
{
public class Example
{
public void main()
{
var apiInstance = new AuthenticationApi();
var grantType = grantType_example; // string |
var username = username_example; // string |
var password = password_example; // string |
try
{
// Create an authentication token
AuthGeneratetokenResponse result = apiInstance.AuthGeneratetokenPost(grantType, username, password);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling AuthenticationApi.AuthGeneratetokenPost: " + e.Message );
}
}
}
}
All URIs are relative to https://penapi.pacnetconnect.com
Class | Method | HTTP request | Description |
---|---|---|---|
AuthenticationApi | AuthGeneratetokenPost | POST /1.0.0/auth/generatetoken | Create an authentication token |
AuthenticationApi | AuthValidatetokenGet | GET /1.0.0/auth/validatetoken | Validate authentication token |
ContractsApi | InventoryLinksContractByLinkidAndContractidGet | GET /1.0.0/inventory/links/{linkid}/contract/{contractid} | Get active Contract by ContractID |
ContractsApi | InventoryLinksContractByLinkidAndContractidPut | PUT /1.0.0/inventory/links/{linkid}/contract/{contractid} | Update active Contract by ContractID |
ContractsApi | InventoryLinksContractByLinkidPost | POST /1.0.0/inventory/links/{linkid}/contract | Create new Contract on specified link |
CustomersApi | AccountByCustomeruuidGet | GET /1.0.0/account/{customeruuid} | Get account information details |
CustomersApi | AccountUserByCustomeruuidGet | GET /1.0.0/account/{customeruuid}/user | List users |
DatacentresApi | InventoryDatacentersGet | GET /1.0.0/inventory/datacenters | Get list of all the data centers |
EndpointsApi | Eis100EndpointsAssignTopologyTagByEndpointuuidPost | POST /eis/1.0.0/endpoints/{endpointuuid}/assign_topology_tag | Assign a Topology Tag to an Endpoint |
EndpointsApi | InventoryEndpointByEndpointuuidGet | GET /1.0.0/inventory/endpoint/{endpointuuid} | Get information about the specified endpoint |
EndpointsApi | InventoryEndpointsCustomeruuidByCustomeruuidGet | GET /1.0.0/inventory/endpoints/customeruuid/{customeruuid} | Get list of endpoints for a customer |
EndpointsApi | InventoryRegularendpointPost | POST /1.0.0/inventory/regularendpoint | Create Physical (Port) Endpoint |
EndpointsApi | InventoryVnfendpointPost | POST /1.0.0/inventory/vnfendpoint | Create VNF Endpoint |
LinksApi | InventoryLinkPost | POST /1.0.0/inventory/link | Create Link and initial Contract |
LinksApi | InventoryLinksByLinkidGet | GET /1.0.0/inventory/links/{linkid} | Get details of specified link |
LinksApi | InventoryLinksCustomerByCustomeruuidGet | GET /1.0.0/inventory/links/customer/{customeruuid} | Get active Links |
LinksApi | InventoryLinksHistoryByLinkidGet | GET /1.0.0/inventory/links/history/{linkid} | Get Link history |
TopologiesApi | Ttms100TopologyTagByTopotaguuidDelete | DELETE /ttms/1.0.0/topology_tag/{topotaguuid}/ | Delete a topology tag |
TopologiesApi | Ttms100TopologyTagByTopotaguuidGet | GET /ttms/1.0.0/topology_tag/{topotaguuid}/ | Get information about the specified topology tag |
TopologiesApi | Ttms100TopologyTagByTopotaguuidPut | PUT /ttms/1.0.0/topology_tag/{topotaguuid}/ | Update a topology tag's name and/or description |
TopologiesApi | Ttms100TopologyTagGet | GET /ttms/1.0.0/topology_tag | List all topology tags |
TopologiesApi | Ttms100TopologyTagObjectsByTopotaguuidGet | GET /ttms/1.0.0/topology_tag/{topotaguuid}/objects/ | List objects for Topology |
TopologiesApi | Ttms100TopologyTagPost | POST /ttms/1.0.0/topology_tag | Create a named topology tag |
VnfsApi | MarketplaceImageGet | GET /1.0.0/marketplace/image | List images in the Marketplace |
VportsApi | InventoryRegularvportPost | POST /1.0.0/inventory/regularvport | Create VPort for physical endpoint |
VportsApi | InventoryVnfVportPost | POST /1.0.0/inventory/vnf/vport | Create VNF VPort |
VportsApi | InventoryVportByVportuuidGet | GET /1.0.0/inventory/vport/{vportuuid} | Get information about the specified VPort |
- IO.TelstraTPN.Model.AccountResponse
- IO.TelstraTPN.Model.AuthGeneratetokenResponse
- IO.TelstraTPN.Model.AuthValidatetokenResponse
- IO.TelstraTPN.Model.Billing
- IO.TelstraTPN.Model.Classification
- IO.TelstraTPN.Model.Contract
- IO.TelstraTPN.Model.Datacenter
- IO.TelstraTPN.Model.Eis100EndpointsAssignTopologyTagRequest
- IO.TelstraTPN.Model.Endpoint
- IO.TelstraTPN.Model.EndpointPort
- IO.TelstraTPN.Model.Endpointlist
- IO.TelstraTPN.Model.Error
- IO.TelstraTPN.Model.Error74
- IO.TelstraTPN.Model.Flavor
- IO.TelstraTPN.Model.GlanceImage
- IO.TelstraTPN.Model.InventoryDatacenters401Error
- IO.TelstraTPN.Model.InventoryDatacentersResponse
- IO.TelstraTPN.Model.InventoryEndpointResponse
- IO.TelstraTPN.Model.InventoryEndpointsCustomeruuidResponse
- IO.TelstraTPN.Model.InventoryLinkRequest
- IO.TelstraTPN.Model.InventoryLinkResponse
- IO.TelstraTPN.Model.InventoryLinksContractRequest
- IO.TelstraTPN.Model.InventoryLinksContractRequest37
- IO.TelstraTPN.Model.InventoryLinksContractResponse
- IO.TelstraTPN.Model.InventoryLinksContractResponse33
- IO.TelstraTPN.Model.InventoryLinksContractResponse38
- IO.TelstraTPN.Model.InventoryLinksHistoryResponse
- IO.TelstraTPN.Model.InventoryLinksResponse
- IO.TelstraTPN.Model.InventoryRegularendpointRequest
- IO.TelstraTPN.Model.InventoryRegularendpointResponse
- IO.TelstraTPN.Model.InventoryRegularvportRequest
- IO.TelstraTPN.Model.InventoryRegularvportResponse
- IO.TelstraTPN.Model.InventoryVnfVportRequest
- IO.TelstraTPN.Model.InventoryVnfVportResponse
- IO.TelstraTPN.Model.InventoryVnfendpointRequest
- IO.TelstraTPN.Model.InventoryVnfendpointResponse
- IO.TelstraTPN.Model.Link
- IO.TelstraTPN.Model.Link66
- IO.TelstraTPN.Model.MarketplaceImageResponse
- IO.TelstraTPN.Model.Meta
- IO.TelstraTPN.Model.ModelParams
- IO.TelstraTPN.Model.Object52
- IO.TelstraTPN.Model.Params31
- IO.TelstraTPN.Model.Params34
- IO.TelstraTPN.Model.Params39
- IO.TelstraTPN.Model.Product
- IO.TelstraTPN.Model.Role
- IO.TelstraTPN.Model.SuccessFragment
- IO.TelstraTPN.Model.Topology
- IO.TelstraTPN.Model.Ttms100TopologyTagObjectsResponse
- IO.TelstraTPN.Model.Ttms100TopologyTagRequest
- IO.TelstraTPN.Model.User
- IO.TelstraTPN.Model.Vlan
- IO.TelstraTPN.Model.VnfTag
- IO.TelstraTPN.Model.Vport
- IO.TelstraTPN.Model.Vportvalue
- Type: OAuth
- Flow: password
- Authorization URL:
- Scopes:
- Oauth2: Oauth2