All URIs are relative to https://virtserver.swaggerhub.com/perimeter81/public-api-yaml/1.0.0
| Method | HTTP request | Description |
|---|---|---|
| StandardGetRouteTable | Get /v3/networks/standard/{networkId}/route-table | Get route table |
[]StandardGetRouteTable200ResponseInner StandardGetRouteTable(ctx, networkId).Execute()
Get route table
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/CheckPointSW/perimeter-81-client-sdk/v3"
)
func main() {
networkId := "networkId_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.StandardRouteTablesAPI.StandardGetRouteTable(context.Background(), networkId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `StandardRouteTablesAPI.StandardGetRouteTable``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `StandardGetRouteTable`: []StandardGetRouteTable200ResponseInner
fmt.Fprintf(os.Stdout, "Response from `StandardRouteTablesAPI.StandardGetRouteTable`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| networkId | string |
Other parameters are passed through a pointer to a apiStandardGetRouteTableRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
[]StandardGetRouteTable200ResponseInner
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]