Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 2.16 KB

File metadata and controls

79 lines (49 loc) · 2.16 KB

\StandardRouteTablesAPI

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

StandardGetRouteTable

[]StandardGetRouteTable200ResponseInner StandardGetRouteTable(ctx, networkId).Execute()

Get route table

Example

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)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
networkId string

Other Parameters

Other parameters are passed through a pointer to a apiStandardGetRouteTableRequest struct via the builder pattern

Name Type Description Notes

Return type

[]StandardGetRouteTable200ResponseInner

Authorization

bearer

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]