Documentation ¶
Index ¶
- type GetCircuitPeeringArgs
- type GetCircuitPeeringOutputArgs
- type GetCircuitPeeringResult
- type GetCircuitPeeringResultOutput
- func (o GetCircuitPeeringResultOutput) AzureAsn() pulumi.IntOutput
- func (GetCircuitPeeringResultOutput) ElementType() reflect.Type
- func (o GetCircuitPeeringResultOutput) ExpressRouteCircuitName() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) GatewayManagerEtag() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) Id() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) Ipv4Enabled() pulumi.BoolOutput
- func (o GetCircuitPeeringResultOutput) PeerAsn() pulumi.IntOutput
- func (o GetCircuitPeeringResultOutput) PeeringType() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) PrimaryAzurePort() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) PrimaryPeerAddressPrefix() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) RouteFilterId() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) SecondaryAzurePort() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) SecondaryPeerAddressPrefix() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) SharedKey() pulumi.StringOutput
- func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutput() GetCircuitPeeringResultOutput
- func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutputWithContext(ctx context.Context) GetCircuitPeeringResultOutput
- func (o GetCircuitPeeringResultOutput) VlanId() pulumi.IntOutput
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 ¶
func (GetCircuitPeeringOutputArgs) ElementType() reflect.Type
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"` // 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 GetCircuitPeeringOutput ¶
func GetCircuitPeeringOutput(ctx *pulumi.Context, args GetCircuitPeeringOutputArgs, opts ...pulumi.InvokeOption) GetCircuitPeeringResultOutput
func (GetCircuitPeeringResultOutput) AzureAsn ¶
func (o GetCircuitPeeringResultOutput) AzureAsn() pulumi.IntOutput
The ASN used by Azure for the peering.
func (GetCircuitPeeringResultOutput) ElementType ¶
func (GetCircuitPeeringResultOutput) ElementType() reflect.Type
func (GetCircuitPeeringResultOutput) ExpressRouteCircuitName ¶
func (o GetCircuitPeeringResultOutput) ExpressRouteCircuitName() pulumi.StringOutput
func (GetCircuitPeeringResultOutput) GatewayManagerEtag ¶
func (o GetCircuitPeeringResultOutput) GatewayManagerEtag() pulumi.StringOutput
func (GetCircuitPeeringResultOutput) Id ¶
func (o GetCircuitPeeringResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetCircuitPeeringResultOutput) Ipv4Enabled ¶
func (o GetCircuitPeeringResultOutput) Ipv4Enabled() pulumi.BoolOutput
Indicates if IPv4 is enabled.
func (GetCircuitPeeringResultOutput) PeerAsn ¶
func (o GetCircuitPeeringResultOutput) PeerAsn() pulumi.IntOutput
func (GetCircuitPeeringResultOutput) PeeringType ¶
func (o GetCircuitPeeringResultOutput) PeeringType() pulumi.StringOutput
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 (o GetCircuitPeeringResultOutput) RouteFilterId() pulumi.StringOutput
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 (o GetCircuitPeeringResultOutput) SharedKey() pulumi.StringOutput
func (GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutput ¶
func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutput() GetCircuitPeeringResultOutput
func (GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutputWithContext ¶
func (o GetCircuitPeeringResultOutput) ToGetCircuitPeeringResultOutputWithContext(ctx context.Context) GetCircuitPeeringResultOutput
func (GetCircuitPeeringResultOutput) VlanId ¶
func (o GetCircuitPeeringResultOutput) VlanId() pulumi.IntOutput
The VLAN ID used for this peering.