Express Route Port Args
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
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)