expressroutecrossconnectionroutetable

package
v0.20230505.1083730 Latest Latest
Warning

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

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

README

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

The expressroutecrossconnectionroutetable 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/expressroutecrossconnectionroutetable"

Client Initialization

client := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionRouteTableClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ExpressRouteCrossConnectionRouteTableClient.ExpressRouteCrossConnectionsListRoutesTable

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

if err := client.ExpressRouteCrossConnectionsListRoutesTableThenPoll(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 ExpressRouteCircuitsRoutesTableListResult

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

type ExpressRouteCrossConnectionRouteTableClient

type ExpressRouteCrossConnectionRouteTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCrossConnectionRouteTableClientWithBaseURI

func NewExpressRouteCrossConnectionRouteTableClientWithBaseURI(api environments.Api) (*ExpressRouteCrossConnectionRouteTableClient, error)

func (ExpressRouteCrossConnectionRouteTableClient) ExpressRouteCrossConnectionsListRoutesTable

ExpressRouteCrossConnectionsListRoutesTable ...

func (ExpressRouteCrossConnectionRouteTableClient) ExpressRouteCrossConnectionsListRoutesTableThenPoll

func (c ExpressRouteCrossConnectionRouteTableClient) ExpressRouteCrossConnectionsListRoutesTableThenPoll(ctx context.Context, id RouteTableId) error

ExpressRouteCrossConnectionsListRoutesTableThenPoll performs ExpressRouteCrossConnectionsListRoutesTable then polls until it's completed

type ExpressRouteCrossConnectionsListRoutesTableOperationResponse

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

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