VirtualBorderRouterArgs

data class VirtualBorderRouterArgs(val associatedPhysicalConnections: Output<String>? = null, val bandwidth: Output<Int>? = null, val circuitCode: Output<String>? = null, val description: Output<String>? = null, val detectMultiplier: Output<Int>? = null, val enableIpv6: Output<Boolean>? = null, val includeCrossAccountVbr: Output<Boolean>? = null, val localGatewayIp: Output<String>? = null, val localIpv6GatewayIp: Output<String>? = null, val minRxInterval: Output<Int>? = null, val minTxInterval: Output<Int>? = null, val peerGatewayIp: Output<String>? = null, val peerIpv6GatewayIp: Output<String>? = null, val peeringIpv6SubnetMask: Output<String>? = null, val peeringSubnetMask: Output<String>? = null, val physicalConnectionId: Output<String>? = null, val status: Output<String>? = null, val vbrOwnerId: Output<String>? = null, val virtualBorderRouterName: Output<String>? = null, val vlanId: Output<Int>? = null) : ConvertibleToJava<VirtualBorderRouterArgs>

Provides a Express Connect Virtual Border Router resource. For information about Express Connect Virtual Border Router and how to use it, see What is Virtual Border Router.

NOTE: Available since v1.134.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
import com.pulumi.random.RandomInteger;
import com.pulumi.random.RandomIntegerArgs;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var examplePhysicalConnections = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
.nameRegex("^preserved-NODELETING")
.build());
var vlanId = new RandomInteger("vlanId", RandomIntegerArgs.builder()
.max(2999)
.min(1)
.build());
var exampleVirtualBorderRouter = new VirtualBorderRouter("exampleVirtualBorderRouter", VirtualBorderRouterArgs.builder()
.localGatewayIp("10.0.0.1")
.peerGatewayIp("10.0.0.2")
.peeringSubnetMask("255.255.255.252")
.physicalConnectionId(examplePhysicalConnections.applyValue(getPhysicalConnectionsResult -> getPhysicalConnectionsResult.connections()[0].id()))
.virtualBorderRouterName(name)
.vlanId(vlanId.id())
.minRxInterval(1000)
.minTxInterval(1000)
.detectMultiplier(10)
.build());
}
}

Import

Express Connect Virtual Border Router can be imported using the id, e.g.

$ pulumi import alicloud:expressconnect/virtualBorderRouter:VirtualBorderRouter example <id>

Constructors

Link copied to clipboard
fun VirtualBorderRouterArgs(associatedPhysicalConnections: Output<String>? = null, bandwidth: Output<Int>? = null, circuitCode: Output<String>? = null, description: Output<String>? = null, detectMultiplier: Output<Int>? = null, enableIpv6: Output<Boolean>? = null, includeCrossAccountVbr: Output<Boolean>? = null, localGatewayIp: Output<String>? = null, localIpv6GatewayIp: Output<String>? = null, minRxInterval: Output<Int>? = null, minTxInterval: Output<Int>? = null, peerGatewayIp: Output<String>? = null, peerIpv6GatewayIp: Output<String>? = null, peeringIpv6SubnetMask: Output<String>? = null, peeringSubnetMask: Output<String>? = null, physicalConnectionId: Output<String>? = null, status: Output<String>? = null, vbrOwnerId: Output<String>? = null, virtualBorderRouterName: Output<String>? = null, vlanId: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard

The associated physical connections.

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

The bandwidth.

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

Operators for physical connection circuit provided coding.

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

The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.

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

Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.

Link copied to clipboard
val enableIpv6: Output<Boolean>? = null

Whether to Enable IPv6. Valid values: false, true.

Link copied to clipboard
val includeCrossAccountVbr: Output<Boolean>? = null

Whether cross account border routers are included. Valid values: false, true. Default: true.

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

Alibaba Cloud-Connected IPv4 address.

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

Alibaba Cloud-Connected IPv6 Address.

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

Configure BFD packet reception interval of values include: 200~1000, unit: ms.

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

Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.

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

The Client-Side Interconnection IPv4 Address.

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

Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.

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

Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.

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

The Client-Side Interconnection IPv6 Address.

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

The ID of the Physical Connection to Which the ID.

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

The instance state. Valid values: active, deleting, recovering, terminated, terminating, unconfirmed.

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

The vbr owner id.

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

The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.

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

The VLAN ID of the VBR. Value range: 0~2999.