expressroutecircuitarptable

package
v0.20241004.1180715 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-11-01/expressroutecircuitarptable Documentation

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

Client Initialization

client := expressroutecircuitarptable.NewExpressRouteCircuitArpTableClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ExpressRouteCircuitArpTableClient.ExpressRouteCircuitsListArpTable

ctx := context.TODO()
id := expressroutecircuitarptable.NewArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "circuitName", "peeringName", "devicePath")

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

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

ValidateArpTableID checks that 'input' can be parsed as a Arp Table ID

Types

type ArpTableId

type ArpTableId struct {
	SubscriptionId          string
	ResourceGroupName       string
	ExpressRouteCircuitName string
	PeeringName             string
	ArpTableName            string
}

ArpTableId is a struct representing the Resource ID for a Arp Table

func NewArpTableID

func NewArpTableID(subscriptionId string, resourceGroupName string, expressRouteCircuitName string, peeringName string, arpTableName string) ArpTableId

NewArpTableID returns a new ArpTableId struct

func ParseArpTableID

func ParseArpTableID(input string) (*ArpTableId, error)

ParseArpTableID parses 'input' into a ArpTableId

func ParseArpTableIDInsensitively

func ParseArpTableIDInsensitively(input string) (*ArpTableId, error)

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

func (*ArpTableId) FromParseResult

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

func (ArpTableId) ID

func (id ArpTableId) ID() string

ID returns the formatted Arp Table ID

func (ArpTableId) Segments

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

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

func (ArpTableId) String

func (id ArpTableId) String() string

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

type ExpressRouteCircuitArpTable

type ExpressRouteCircuitArpTable struct {
	Age        *int64  `json:"age,omitempty"`
	IPAddress  *string `json:"ipAddress,omitempty"`
	Interface  *string `json:"interface,omitempty"`
	MacAddress *string `json:"macAddress,omitempty"`
}

type ExpressRouteCircuitArpTableClient

type ExpressRouteCircuitArpTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCircuitArpTableClientWithBaseURI

func NewExpressRouteCircuitArpTableClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCircuitArpTableClient, error)

func (ExpressRouteCircuitArpTableClient) ExpressRouteCircuitsListArpTable

ExpressRouteCircuitsListArpTable ...

func (ExpressRouteCircuitArpTableClient) ExpressRouteCircuitsListArpTableThenPoll

func (c ExpressRouteCircuitArpTableClient) ExpressRouteCircuitsListArpTableThenPoll(ctx context.Context, id ArpTableId) error

ExpressRouteCircuitsListArpTableThenPoll performs ExpressRouteCircuitsListArpTable then polls until it's completed

type ExpressRouteCircuitArpTableOperationPredicate

type ExpressRouteCircuitArpTableOperationPredicate struct {
	Age        *int64
	IPAddress  *string
	Interface  *string
	MacAddress *string
}

func (ExpressRouteCircuitArpTableOperationPredicate) Matches

type ExpressRouteCircuitsListArpTableCompleteResult

type ExpressRouteCircuitsListArpTableCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ExpressRouteCircuitArpTable
}

type ExpressRouteCircuitsListArpTableCustomPager added in v0.20240628.1153531

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

type ExpressRouteCircuitsListArpTableOperationResponse

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

Jump to

Keyboard shortcuts

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