expressroutecrossconnectionarptable

package
v0.20240627.1145836 Latest Latest
Warning

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

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

README

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

The expressroutecrossconnectionarptable SDK allows for interaction with the Azure Resource Manager Service 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/expressroutecrossconnectionarptable"

Client Initialization

client := expressroutecrossconnectionarptable.NewExpressRouteCrossConnectionArpTableClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ExpressRouteCrossConnectionArpTableClient.ExpressRouteCrossConnectionsListArpTable

ctx := context.TODO()
id := expressroutecrossconnectionarptable.NewPeeringArpTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "expressRouteCrossConnectionValue", "peeringValue", "arpTableValue")

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

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

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

Types

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 ExpressRouteCircuitArpTableOperationPredicate added in v0.20240227.1172434

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

func (ExpressRouteCircuitArpTableOperationPredicate) Matches added in v0.20240227.1172434

type ExpressRouteCrossConnectionArpTableClient

type ExpressRouteCrossConnectionArpTableClient struct {
	Client *resourcemanager.Client
}

func NewExpressRouteCrossConnectionArpTableClientWithBaseURI

func NewExpressRouteCrossConnectionArpTableClientWithBaseURI(sdkApi sdkEnv.Api) (*ExpressRouteCrossConnectionArpTableClient, error)

func (ExpressRouteCrossConnectionArpTableClient) ExpressRouteCrossConnectionsListArpTable

ExpressRouteCrossConnectionsListArpTable ...

func (ExpressRouteCrossConnectionArpTableClient) ExpressRouteCrossConnectionsListArpTableThenPoll

func (c ExpressRouteCrossConnectionArpTableClient) ExpressRouteCrossConnectionsListArpTableThenPoll(ctx context.Context, id PeeringArpTableId) error

ExpressRouteCrossConnectionsListArpTableThenPoll performs ExpressRouteCrossConnectionsListArpTable then polls until it's completed

type ExpressRouteCrossConnectionsListArpTableCompleteResult added in v0.20240227.1172434

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

type ExpressRouteCrossConnectionsListArpTableOperationResponse

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

type PeeringArpTableId

type PeeringArpTableId struct {
	SubscriptionId                  string
	ResourceGroupName               string
	ExpressRouteCrossConnectionName string
	PeeringName                     string
	ArpTableName                    string
}

PeeringArpTableId is a struct representing the Resource ID for a Peering Arp Table

func NewPeeringArpTableID

func NewPeeringArpTableID(subscriptionId string, resourceGroupName string, expressRouteCrossConnectionName string, peeringName string, arpTableName string) PeeringArpTableId

NewPeeringArpTableID returns a new PeeringArpTableId struct

func ParsePeeringArpTableID

func ParsePeeringArpTableID(input string) (*PeeringArpTableId, error)

ParsePeeringArpTableID parses 'input' into a PeeringArpTableId

func ParsePeeringArpTableIDInsensitively

func ParsePeeringArpTableIDInsensitively(input string) (*PeeringArpTableId, error)

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

func (*PeeringArpTableId) FromParseResult

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

func (PeeringArpTableId) ID

func (id PeeringArpTableId) ID() string

ID returns the formatted Peering Arp Table ID

func (PeeringArpTableId) Segments

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

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

func (PeeringArpTableId) String

func (id PeeringArpTableId) String() string

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

Jump to

Keyboard shortcuts

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