Skip to content

VirtualBorderRouterProps

Properties for defining a VirtualBorderRouter.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-virtualborderrouter

Initializer

import com.aliyun.ros.cdk.vpc.VirtualBorderRouterProps;
VirtualBorderRouterProps.builder()
    .localGatewayIp(java.lang.String)
    .localGatewayIp(IResolvable)
    .peerGatewayIp(java.lang.String)
    .peerGatewayIp(IResolvable)
    .peeringSubnetMask(java.lang.String)
    .peeringSubnetMask(IResolvable)
    .physicalConnectionId(java.lang.String)
    .physicalConnectionId(IResolvable)
    .vlanId(java.lang.Number)
    .vlanId(IResolvable)
//  .bandwidth(java.lang.Number)
//  .bandwidth(IResolvable)
//  .circuitCode(java.lang.String)
//  .circuitCode(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .name(java.lang.String)
//  .name(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
    .build();

Properties

Name Type Description
localGatewayIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property localGatewayIp: The IP address of the VBR.
peerGatewayIp java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property peerGatewayIp: The IP address of the peer router interface of the VBR.
peeringSubnetMask java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property peeringSubnetMask: The subnet mask for the IP addresses of the VBR on the Alibaba Cloud side and on the user side.
physicalConnectionId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property physicalConnectionId: The ID of the physical connection.
vlanId java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property vlanId: The VLAN ID of the VBR.
bandwidth java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property bandwidth: The bandwidth of the VBR instance, in Mbps.
circuitCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property circuitCode: The circuit code provided by the Internet service provider (ISP) for the physical connection.
description java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property description: The description of the VBR.
name java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property name: The name of the VBR.
resourceGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceGroupId: The ID of the resource group.

localGatewayIpRequired

public java.lang.Object getLocalGatewayIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property localGatewayIp: The IP address of the VBR.

Only the owner of the VBR can set or modify this parameter. When you create a VBR for the owner of the Express Connect circuit, this parameter is required.


peerGatewayIpRequired

public java.lang.Object getPeerGatewayIp();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property peerGatewayIp: The IP address of the peer router interface of the VBR.

Only the owner of the VBR can set or modify the value. This parameter is required when you create a VBR for the owner of the physical connection. You can ignore this parameter when you create a VBR for another Alibaba Cloud account.


peeringSubnetMaskRequired

public java.lang.Object getPeeringSubnetMask();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property peeringSubnetMask: The subnet mask for the IP addresses of the VBR on the Alibaba Cloud side and on the user side.

The two IP addresses must fall within the same subnet.


physicalConnectionIdRequired

public java.lang.Object getPhysicalConnectionId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property physicalConnectionId: The ID of the physical connection.


vlanIdRequired

public java.lang.Object getVlanId();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property vlanId: The VLAN ID of the VBR.

Valid values: 0 to 2999. Note Only the owner of the physical connection can set this parameter. The VLAN IDs of two VBRs of the same physical connection must be different.


bandwidthOptional

public java.lang.Object getBandwidth();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property bandwidth: The bandwidth of the VBR instance, in Mbps.

  • When creating a VBR instance for a dedicated leased line, the values are 50, 100, 200, 300, 400, 500, 1000, 2048, 5120, 8192, 10240, 20480, 40960, 50120, 61440 and 102400.
  • When creating a VBR instance for a shared leased line, no configuration is required, and the bandwidth of the VBR is the shared leased line bandwidth set when creating the shared physical connection.

circuitCodeOptional

public java.lang.Object getCircuitCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property circuitCode: The circuit code provided by the Internet service provider (ISP) for the physical connection.

Note Only the owner of the physical connection can set this parameter.


descriptionOptional

public java.lang.Object getDescription();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property description: The description of the VBR.

The description must be 2 to 256 characters in length. It must start with a letter but cannot start with http:// or https://.


nameOptional

public java.lang.Object getName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property name: The name of the VBR.

The name must be 2 to 128 characters in length, and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.


resourceGroupIdOptional

public java.lang.Object getResourceGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceGroupId: The ID of the resource group.