getCircuitPeering

Manages an ExpressRoute Circuit Peering.

Example Usage

Creating A Microsoft Peering)

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.expressroute.ExpressrouteFunctions;
import com.pulumi.azure.expressroute.inputs.GetCircuitPeeringArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ExpressrouteFunctions.getCircuitPeering(GetCircuitPeeringArgs.builder()
.name("example-peering")
.expressRouteCircuitName("example-expressroute")
.resourceGroupName("example-resources")
.build());
}
}
variables:
example:
fn::invoke:
Function: azure:expressroute:getCircuitPeering
Arguments:
name: example-peering
expressRouteCircuitName: example-expressroute
resourceGroupName: example-resources

Return

A collection of values returned by getCircuitPeering.

Parameters

argument

A collection of arguments for invoking getCircuitPeering.


suspend fun getCircuitPeering(expressRouteCircuitName: String, peeringType: String, resourceGroupName: String): GetCircuitPeeringResult

Return

A collection of values returned by getCircuitPeering.

Parameters

expressRouteCircuitName

The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.

peeringType

The type of the ExpressRoute Circuit Peering. Acceptable values include AzurePrivatePeering, AzurePublicPeering and MicrosoftPeering.

resourceGroupName

The name of the resource group in which to create the Express Route Circuit Peering. Changing this forces a new resource to be created.

See also


Return

A collection of values returned by getCircuitPeering.

Parameters

argument

Builder for com.pulumi.azure.expressroute.kotlin.inputs.GetCircuitPeeringPlainArgs.

See also