expressroutecircuitroutestable

package
v0.20230503.1084929 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: MPL-2.0 Imports: 10 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-09-01/expressroutecircuitroutestable Documentation

The expressroutecircuitroutestable SDK allows for interaction with the Azure Resource Manager Service network (API Version 2022-09-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/network/2022-09-01/expressroutecircuitroutestable"

Client Initialization

client := expressroutecircuitroutestable.NewExpressRouteCircuitRoutesTableClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ExpressRouteCircuitRoutesTableClient.ExpressRouteCircuitsListRoutesTable

ctx := context.TODO()
id := expressroutecircuitroutestable.NewRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "routeTableValue")

if err := client.ExpressRouteCircuitsListRoutesTableThenPoll(ctx, id); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRouteTableID

func ValidateRouteTableID(input interface{}, key string) (warnings []string, errors []error)

ValidateRouteTableID checks that 'input' can be parsed as a Route Table ID

Types

type ExpressRouteCircuitRoutesTable

type ExpressRouteCircuitRoutesTable struct {
	LocPrf  *string `json:"locPrf,omitempty"`
	Network *string `json:"network,omitempty"`
	NextHop *string `json:"nextHop,omitempty"`
	Path    *string `json:"path,omitempty"`
	Weight  *int64  `json:"weight,omitempty"`
}

type ExpressRouteCircuitRoutesTableClient

type ExpressRouteCircuitRoutesTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCircuitRoutesTableClientWithBaseURI

func NewExpressRouteCircuitRoutesTableClientWithBaseURI(api environments.Api) (*ExpressRouteCircuitRoutesTableClient, error)

func (ExpressRouteCircuitRoutesTableClient) ExpressRouteCircuitsListRoutesTable

ExpressRouteCircuitsListRoutesTable ...

func (ExpressRouteCircuitRoutesTableClient) ExpressRouteCircuitsListRoutesTableThenPoll

func (c ExpressRouteCircuitRoutesTableClient) ExpressRouteCircuitsListRoutesTableThenPoll(ctx context.Context, id RouteTableId) error

ExpressRouteCircuitsListRoutesTableThenPoll performs ExpressRouteCircuitsListRoutesTable then polls until it's completed

type ExpressRouteCircuitsListRoutesTableOperationResponse

type ExpressRouteCircuitsListRoutesTableOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ExpressRouteCircuitsRoutesTableListResult

type ExpressRouteCircuitsRoutesTableListResult struct {
	NextLink *string                           `json:"nextLink,omitempty"`
	Value    *[]ExpressRouteCircuitRoutesTable `json:"value,omitempty"`
}

type RouteTableId

type RouteTableId struct {
	SubscriptionId    string
	ResourceGroupName string
	RouteTableName    string
}

RouteTableId is a struct representing the Resource ID for a Route Table

func NewRouteTableID

func NewRouteTableID(subscriptionId string, resourceGroupName string, routeTableName string) RouteTableId

NewRouteTableID returns a new RouteTableId struct

func ParseRouteTableID

func ParseRouteTableID(input string) (*RouteTableId, error)

ParseRouteTableID parses 'input' into a RouteTableId

func ParseRouteTableIDInsensitively

func ParseRouteTableIDInsensitively(input string) (*RouteTableId, error)

ParseRouteTableIDInsensitively parses 'input' case-insensitively into a RouteTableId note: this method should only be used for API response data and not user input

func (RouteTableId) ID

func (id RouteTableId) ID() string

ID returns the formatted Route Table ID

func (RouteTableId) Segments

func (id RouteTableId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Route Table ID

func (RouteTableId) String

func (id RouteTableId) String() string

String returns a human-readable description of this Route Table ID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL