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)
//  .circuitCode(java.lang.String)
//  .circuitCode(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .name(java.lang.String)
//  .name(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 on the Alibaba Cloud side.
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.
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.

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 on the Alibaba Cloud side.


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.


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, digits, periods (.), underscores (_), and hyphens (-). The name cannot start with http:// or https://.