expressroutecircuitroutestable

package
v0.20230801.1071415 Latest Latest
Warning

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

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

README

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

The expressroutecircuitroutestable SDK allows for interaction with the Azure Resource Manager Service network (API Version 2023-04-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-04-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", "expressRouteCircuitValue", "peeringValue", "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 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 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 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) 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