import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing ExpressRoute Circuit Peering. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.expressroute.getCircuitPeering({ * peeringType: "example-peering", * expressRouteCircuitName: "example-expressroute", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getCircuitPeering(args: GetCircuitPeeringArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCircuitPeering. */ export interface GetCircuitPeeringArgs { /** * The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created. */ expressRouteCircuitName: string; /** * The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`. */ peeringType: string; /** * 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; } /** * A collection of values returned by getCircuitPeering. */ export interface GetCircuitPeeringResult { /** * The ASN used by Azure for the peering. */ readonly azureAsn: number; readonly expressRouteCircuitName: string; readonly gatewayManagerEtag: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates if IPv4 is enabled. */ readonly ipv4Enabled: boolean; readonly peerAsn: number; /** * The type of the ExpressRoute Circuit Peering. */ readonly peeringType: string; /** * The primary port used by Azure for this peering. */ readonly primaryAzurePort: string; /** * The primary peer address prefix. */ readonly primaryPeerAddressPrefix: string; readonly resourceGroupName: string; readonly routeFilterId: string; /** * The secondary port used by Azure for this peering. */ readonly secondaryAzurePort: string; /** * The secondary peer address prefix. */ readonly secondaryPeerAddressPrefix: string; readonly sharedKey: string; /** * The VLAN ID used for this peering. */ readonly vlanId: number; } /** * Use this data source to access information about an existing ExpressRoute Circuit Peering. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.expressroute.getCircuitPeering({ * peeringType: "example-peering", * expressRouteCircuitName: "example-expressroute", * resourceGroupName: "example-resources", * }); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getCircuitPeeringOutput(args: GetCircuitPeeringOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCircuitPeering. */ export interface GetCircuitPeeringOutputArgs { /** * The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created. */ expressRouteCircuitName: pulumi.Input; /** * The type of the ExpressRoute Circuit Peering. Acceptable values include `AzurePrivatePeering`, `AzurePublicPeering` and `MicrosoftPeering`. */ peeringType: pulumi.Input; /** * 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.Input; }