expressroutecrossconnectionroutetable

package
v0.20241126.1110949 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2024-03-01/expressroutecrossconnectionroutetable Documentation

The expressroutecrossconnectionroutetable SDK allows for interaction with Azure Resource Manager network (API Version 2024-03-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/2024-03-01/expressroutecrossconnectionroutetable"

Client Initialization

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

Example Usage: ExpressRouteCrossConnectionRouteTableClient.ExpressRouteCrossConnectionsListRoutesTable

ctx := context.TODO()
id := expressroutecrossconnectionroutetable.NewExpressRouteCrossConnectionPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionName", "peeringName", "routeTableName")

// alternatively `client.ExpressRouteCrossConnectionsListRoutesTable(ctx, id)` can be used to do batched pagination
items, err := client.ExpressRouteCrossConnectionsListRoutesTableComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateExpressRouteCrossConnectionPeeringRouteTableID

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

ValidateExpressRouteCrossConnectionPeeringRouteTableID checks that 'input' can be parsed as a Express Route Cross Connection Peering 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 ExpressRouteCircuitRoutesTableOperationPredicate

type ExpressRouteCircuitRoutesTableOperationPredicate struct {
	LocPrf  *string
	Network *string
	NextHop *string
	Path    *string
	Weight  *int64
}

func (ExpressRouteCircuitRoutesTableOperationPredicate) Matches

type ExpressRouteCrossConnectionPeeringRouteTableId

type ExpressRouteCrossConnectionPeeringRouteTableId struct {
	SubscriptionId                  string
	ResourceGroupName               string
	ExpressRouteCrossConnectionName string
	PeeringName                     string
	RouteTableName                  string
}

ExpressRouteCrossConnectionPeeringRouteTableId is a struct representing the Resource ID for a Express Route Cross Connection Peering Route Table

func NewExpressRouteCrossConnectionPeeringRouteTableID

func NewExpressRouteCrossConnectionPeeringRouteTableID(subscriptionId string, resourceGroupName string, expressRouteCrossConnectionName string, peeringName string, routeTableName string) ExpressRouteCrossConnectionPeeringRouteTableId

NewExpressRouteCrossConnectionPeeringRouteTableID returns a new ExpressRouteCrossConnectionPeeringRouteTableId struct

func ParseExpressRouteCrossConnectionPeeringRouteTableID

func ParseExpressRouteCrossConnectionPeeringRouteTableID(input string) (*ExpressRouteCrossConnectionPeeringRouteTableId, error)

ParseExpressRouteCrossConnectionPeeringRouteTableID parses 'input' into a ExpressRouteCrossConnectionPeeringRouteTableId

func ParseExpressRouteCrossConnectionPeeringRouteTableIDInsensitively

func ParseExpressRouteCrossConnectionPeeringRouteTableIDInsensitively(input string) (*ExpressRouteCrossConnectionPeeringRouteTableId, error)

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

func (*ExpressRouteCrossConnectionPeeringRouteTableId) FromParseResult

func (ExpressRouteCrossConnectionPeeringRouteTableId) ID

ID returns the formatted Express Route Cross Connection Peering Route Table ID

func (ExpressRouteCrossConnectionPeeringRouteTableId) Segments

Segments returns a slice of Resource ID Segments which comprise this Express Route Cross Connection Peering Route Table ID

func (ExpressRouteCrossConnectionPeeringRouteTableId) String

String returns a human-readable description of this Express Route Cross Connection Peering Route Table ID

type ExpressRouteCrossConnectionRouteTableClient

type ExpressRouteCrossConnectionRouteTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCrossConnectionRouteTableClientWithBaseURI

func NewExpressRouteCrossConnectionRouteTableClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCrossConnectionRouteTableClient, error)

func (ExpressRouteCrossConnectionRouteTableClient) ExpressRouteCrossConnectionsListRoutesTable

ExpressRouteCrossConnectionsListRoutesTable ...

func (ExpressRouteCrossConnectionRouteTableClient) ExpressRouteCrossConnectionsListRoutesTableThenPoll

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

ExpressRouteCrossConnectionsListRoutesTableThenPoll performs ExpressRouteCrossConnectionsListRoutesTable then polls until it's completed

type ExpressRouteCrossConnectionsListRoutesTableCompleteResult

type ExpressRouteCrossConnectionsListRoutesTableCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ExpressRouteCircuitRoutesTable
}

type ExpressRouteCrossConnectionsListRoutesTableCustomPager

type ExpressRouteCrossConnectionsListRoutesTableCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ExpressRouteCrossConnectionsListRoutesTableOperationResponse

type ExpressRouteCrossConnectionsListRoutesTableOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ExpressRouteCircuitRoutesTable
}

Jump to

Keyboard shortcuts

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