expressroutecircuitarptable

package
v0.20240124.1115501 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

README

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

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

if err := client.ExpressRouteCircuitsListArpTableThenPoll(ctx, id); err != nil {
	// handle the error
}

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

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 ExpressRouteCircuitsArpTableListResult

type ExpressRouteCircuitsArpTableListResult struct {
	NextLink *string                        `json:"nextLink,omitempty"`
	Value    *[]ExpressRouteCircuitArpTable `json:"value,omitempty"`
}

type ExpressRouteCircuitsListArpTableOperationResponse

type ExpressRouteCircuitsListArpTableOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ExpressRouteCircuitsArpTableListResult
}

Jump to

Keyboard shortcuts

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