expressroutecircuitroutestable

package
v0.20241209.1115630 Latest Latest
Warning

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

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

README

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

The expressroutecircuitroutestable SDK allows for interaction with Azure Resource Manager network (API Version 2023-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/2023-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.NewPeeringRouteTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCircuitName", "peeringName", "routeTableName")

// alternatively `client.ExpressRouteCircuitsListRoutesTable(ctx, id)` can be used to do batched pagination
items, err := client.ExpressRouteCircuitsListRoutesTableComplete(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 ValidatePeeringRouteTableID

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

ValidatePeeringRouteTableID checks that 'input' can be parsed as a 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 ExpressRouteCircuitRoutesTableClient

type ExpressRouteCircuitRoutesTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCircuitRoutesTableClientWithBaseURI

func NewExpressRouteCircuitRoutesTableClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCircuitRoutesTableClient, error)

func (ExpressRouteCircuitRoutesTableClient) ExpressRouteCircuitsListRoutesTable

ExpressRouteCircuitsListRoutesTable ...

func (ExpressRouteCircuitRoutesTableClient) ExpressRouteCircuitsListRoutesTableThenPoll

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

ExpressRouteCircuitsListRoutesTableThenPoll performs ExpressRouteCircuitsListRoutesTable then polls until it's completed

type ExpressRouteCircuitRoutesTableOperationPredicate added in v0.20240227.1172434

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

func (ExpressRouteCircuitRoutesTableOperationPredicate) Matches added in v0.20240227.1172434

type ExpressRouteCircuitsListRoutesTableCompleteResult added in v0.20240227.1172434

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

type ExpressRouteCircuitsListRoutesTableCustomPager added in v0.20240628.1153531

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

type ExpressRouteCircuitsListRoutesTableOperationResponse

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

type PeeringRouteTableId

type PeeringRouteTableId struct {
	SubscriptionId          string
	ResourceGroupName       string
	ExpressRouteCircuitName string
	PeeringName             string
	RouteTableName          string
}

PeeringRouteTableId is a struct representing the Resource ID for a Peering Route Table

func NewPeeringRouteTableID

func NewPeeringRouteTableID(subscriptionId string, resourceGroupName string, expressRouteCircuitName string, peeringName string, routeTableName string) PeeringRouteTableId

NewPeeringRouteTableID returns a new PeeringRouteTableId struct

func ParsePeeringRouteTableID

func ParsePeeringRouteTableID(input string) (*PeeringRouteTableId, error)

ParsePeeringRouteTableID parses 'input' into a PeeringRouteTableId

func ParsePeeringRouteTableIDInsensitively

func ParsePeeringRouteTableIDInsensitively(input string) (*PeeringRouteTableId, error)

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

func (*PeeringRouteTableId) FromParseResult

func (id *PeeringRouteTableId) FromParseResult(input resourceids.ParseResult) error

func (PeeringRouteTableId) ID

func (id PeeringRouteTableId) ID() string

ID returns the formatted Peering Route Table ID

func (PeeringRouteTableId) Segments

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

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

func (PeeringRouteTableId) String

func (id PeeringRouteTableId) String() string

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

Jump to

Keyboard shortcuts

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