expressroute

package
v6.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCircuitPeeringArgs

type GetCircuitPeeringArgs struct {
	// The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
	ExpressRouteCircuitName string `pulumi:"expressRouteCircuitName"`
	// The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
	PeeringType string `pulumi:"peeringType"`
	// The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getCircuitPeering.

type GetCircuitPeeringOutputArgs

type GetCircuitPeeringOutputArgs struct {
	// The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
	ExpressRouteCircuitName pulumi.StringInput `pulumi:"expressRouteCircuitName"`
	// The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`.
	PeeringType pulumi.StringInput `pulumi:"peeringType"`
	// The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getCircuitPeering.

func (GetCircuitPeeringOutputArgs) ElementType

type GetCircuitPeeringResult

type GetCircuitPeeringResult struct {
	// The ASN used by Azure for the peering.
	AzureAsn                int    `pulumi:"azureAsn"`
	ExpressRouteCircuitName string `pulumi:"expressRouteCircuitName"`
	GatewayManagerEtag      string `pulumi:"gatewayManagerEtag"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Indicates if IPv4 is enabled.
	Ipv4Enabled bool `pulumi:"ipv4Enabled"`
	PeerAsn     int  `pulumi:"peerAsn"`
	// The type of the ExpressRoute Circuit Peering.
	PeeringType string `pulumi:"peeringType"`
	// The primary port used by Azure for this peering.
	PrimaryAzurePort string `pulumi:"primaryAzurePort"`
	// The primary peer address prefix.
	PrimaryPeerAddressPrefix string `pulumi:"primaryPeerAddressPrefix"`
	ResourceGroupName        string `pulumi:"resourceGroupName"`
	RouteFilterId            string `pulumi:"routeFilterId"`
	// The secondary port used by Azure for this peering.
	SecondaryAzurePort string `pulumi:"secondaryAzurePort"`
	// The secondary peer address prefix.
	SecondaryPeerAddressPrefix string `pulumi:"secondaryPeerAddressPrefix"`
	SharedKey                  string `pulumi:"sharedKey"`
	// The VLAN ID used for this peering.
	VlanId int `pulumi:"vlanId"`
}

A collection of values returned by getCircuitPeering.

func GetCircuitPeering

func GetCircuitPeering(ctx *pulumi.Context, args *GetCircuitPeeringArgs, opts ...pulumi.InvokeOption) (*GetCircuitPeeringResult, error)

Use this data source to access information about an existing ExpressRoute Circuit Peering.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/expressroute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := expressroute.GetCircuitPeering(ctx, &expressroute.GetCircuitPeeringArgs{
			PeeringType:             "example-peering",
			ExpressRouteCircuitName: "example-expressroute",
			ResourceGroupName:       "example-resources",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetCircuitPeeringResultOutput

type GetCircuitPeeringResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCircuitPeering.

func (GetCircuitPeeringResultOutput) AzureAsn

The ASN used by Azure for the peering.

func (GetCircuitPeeringResultOutput) ElementType

func (GetCircuitPeeringResultOutput) ExpressRouteCircuitName

func (o GetCircuitPeeringResultOutput) ExpressRouteCircuitName() pulumi.StringOutput

func (GetCircuitPeeringResultOutput) GatewayManagerEtag

func (o GetCircuitPeeringResultOutput) GatewayManagerEtag() pulumi.StringOutput

func (GetCircuitPeeringResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCircuitPeeringResultOutput) Ipv4Enabled

Indicates if IPv4 is enabled.

func (GetCircuitPeeringResultOutput) PeerAsn

func (GetCircuitPeeringResultOutput) PeeringType

The type of the ExpressRoute Circuit Peering.

func (GetCircuitPeeringResultOutput) PrimaryAzurePort

func (o GetCircuitPeeringResultOutput) PrimaryAzurePort() pulumi.StringOutput

The primary port used by Azure for this peering.

func (GetCircuitPeeringResultOutput) PrimaryPeerAddressPrefix

func (o GetCircuitPeeringResultOutput) PrimaryPeerAddressPrefix() pulumi.StringOutput

The primary peer address prefix.

func (GetCircuitPeeringResultOutput) ResourceGroupName

func (o GetCircuitPeeringResultOutput) ResourceGroupName() pulumi.StringOutput

func (GetCircuitPeeringResultOutput) RouteFilterId

func (GetCircuitPeeringResultOutput) SecondaryAzurePort

func (o GetCircuitPeeringResultOutput) SecondaryAzurePort() pulumi.StringOutput

The secondary port used by Azure for this peering.

func (GetCircuitPeeringResultOutput) SecondaryPeerAddressPrefix

func (o GetCircuitPeeringResultOutput) SecondaryPeerAddressPrefix() pulumi.StringOutput

The secondary peer address prefix.

func (GetCircuitPeeringResultOutput) SharedKey

func (GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutput

func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutput() GetCircuitPeeringResultOutput

func (GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutputWithContext

func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutputWithContext(ctx context.Context) GetCircuitPeeringResultOutput

func (GetCircuitPeeringResultOutput) VlanId

The VLAN ID used for this peering.

Jump to

Keyboard shortcuts

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