get Circuit Peering
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());
}
}Content copied to clipboard
variables:
example:
fn::invoke:
Function: azure:expressroute:getCircuitPeering
Arguments:
name: example-peering
expressRouteCircuitName: example-expressroute
resourceGroupName: example-resourcesContent copied to clipboard
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
express Route Circuit Name
The name of the ExpressRoute Circuit in which to create the Peering. Changing this forces a new resource to be created.
peering Type
The type of the ExpressRoute Circuit Peering. Acceptable values include AzurePrivatePeering, AzurePublicPeering and MicrosoftPeering.
resource Group Name
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
suspend fun getCircuitPeering(argument: suspend GetCircuitPeeringPlainArgsBuilder.() -> Unit): GetCircuitPeeringResult
Return
A collection of values returned by getCircuitPeering.
Parameters
argument
Builder for com.pulumi.azure.expressroute.kotlin.inputs.GetCircuitPeeringPlainArgs.