ExpressRoutePortArgs

data class ExpressRoutePortArgs(val bandwidthInGbps: Output<Int>? = null, val billingType: Output<String>? = null, val encapsulation: Output<String>? = null, val identity: Output<ExpressRoutePortIdentityArgs>? = null, val link1: Output<ExpressRoutePortLink1Args>? = null, val link2: Output<ExpressRoutePortLink2Args>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val peeringLocation: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ExpressRoutePortArgs>

Manages a Express Route Port.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.network.ExpressRoutePort;
import com.pulumi.azure.network.ExpressRoutePortArgs;
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) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West US")
.build());
var exampleExpressRoutePort = new ExpressRoutePort("exampleExpressRoutePort", ExpressRoutePortArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.peeringLocation("Airtel-Chennai-CLS")
.bandwidthInGbps(10)
.encapsulation("Dot1Q")
.build());
}
}

Import

Express Route Ports can be imported using the resource id, e.g.

$ pulumi import azure:network/expressRoutePort:ExpressRoutePort example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/expressRoutePorts/port1

Constructors

Link copied to clipboard
fun ExpressRoutePortArgs(bandwidthInGbps: Output<Int>? = null, billingType: Output<String>? = null, encapsulation: Output<String>? = null, identity: Output<ExpressRoutePortIdentityArgs>? = null, link1: Output<ExpressRoutePortLink1Args>? = null, link2: Output<ExpressRoutePortLink2Args>? = null, location: Output<String>? = null, name: Output<String>? = null, peeringLocation: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ExpressRoutePortArgs

Properties

Link copied to clipboard
val bandwidthInGbps: Output<Int>? = null

Bandwidth of the Express Route Port in Gbps. Changing this forces a new Express Route Port to be created.

Link copied to clipboard
val billingType: Output<String>? = null

The billing type of the Express Route Port. Possible values are MeteredData and UnlimitedData.

Link copied to clipboard
val encapsulation: Output<String>? = null

The encapsulation method used for the Express Route Port. Changing this forces a new Express Route Port to be created. Possible values are: Dot1Q, QinQ.

Link copied to clipboard

An identity block as defined below.

Link copied to clipboard
val link1: Output<ExpressRoutePortLink1Args>? = null

A list of link blocks as defined below.

Link copied to clipboard
val link2: Output<ExpressRoutePortLink2Args>? = null

A list of link blocks as defined below.

Link copied to clipboard
val location: Output<String>? = null

The Azure Region where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.

Link copied to clipboard
val name: Output<String>? = null

The name which should be used for this Express Route Port. Changing this forces a new Express Route Port to be created.

Link copied to clipboard
val peeringLocation: Output<String>? = null

The name of the peering location that this Express Route Port is physically mapped to. Changing this forces a new Express Route Port to be created.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the Resource Group where the Express Route Port should exist. Changing this forces a new Express Route Port to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags which should be assigned to the Express Route Port.