Skip to content

VirtualBorderRouterProps

Properties for defining a VirtualBorderRouter.

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

Initializer

import { VirtualBorderRouterProps } from '@alicloud/ros-cdk-vpc'
const virtualBorderRouterProps: VirtualBorderRouterProps = { ... }

Properties

Name Type Description
localGatewayIp string | @alicloud/ros-cdk-core.IResolvable Property localGatewayIp: The IP address of the VBR on the Alibaba Cloud side.
peerGatewayIp string | @alicloud/ros-cdk-core.IResolvable Property peerGatewayIp: The IP address of the peer router interface of the VBR.
peeringSubnetMask string | @alicloud/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 string | @alicloud/ros-cdk-core.IResolvable Property physicalConnectionId: The ID of the physical connection.
vlanId number | @alicloud/ros-cdk-core.IResolvable Property vlanId: The VLAN ID of the VBR.
circuitCode string | @alicloud/ros-cdk-core.IResolvable Property circuitCode: The circuit code provided by the Internet service provider (ISP) for the physical connection.
description string | @alicloud/ros-cdk-core.IResolvable Property description: The description of the VBR.
name string | @alicloud/ros-cdk-core.IResolvable Property name: The name of the VBR.

localGatewayIpRequired

public readonly localGatewayIp: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property localGatewayIp: The IP address of the VBR on the Alibaba Cloud side.


peerGatewayIpRequired

public readonly peerGatewayIp: string | IResolvable;
  • Type: string | @alicloud/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 readonly peeringSubnetMask: string | IResolvable;
  • Type: string | @alicloud/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 readonly physicalConnectionId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property physicalConnectionId: The ID of the physical connection.


vlanIdRequired

public readonly vlanId: number | IResolvable;
  • Type: number | @alicloud/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 readonly circuitCode: string | IResolvable;
  • Type: string | @alicloud/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 readonly description: string | IResolvable;
  • Type: string | @alicloud/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 readonly name: string | IResolvable;
  • Type: string | @alicloud/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:\/\/.