Skip to content

VirtualBorderRouterProps

Properties for defining a VirtualBorderRouter.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.VirtualBorderRouterProps(
  local_gateway_ip: typing.Union[str, IResolvable],
  peer_gateway_ip: typing.Union[str, IResolvable],
  peering_subnet_mask: typing.Union[str, IResolvable],
  physical_connection_id: typing.Union[str, IResolvable],
  vlan_id: typing.Union[typing.Union[int, float], IResolvable],
  circuit_code: typing.Union[str, IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
local_gateway_ip typing.Union[str, ros_cdk_core.IResolvable] Property localGatewayIp: The IP address of the VBR on the Alibaba Cloud side.
peer_gateway_ip typing.Union[str, ros_cdk_core.IResolvable] Property peerGatewayIp: The IP address of the peer router interface of the VBR.
peering_subnet_mask typing.Union[str, 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.
physical_connection_id typing.Union[str, ros_cdk_core.IResolvable] Property physicalConnectionId: The ID of the physical connection.
vlan_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property vlanId: The VLAN ID of the VBR.
circuit_code typing.Union[str, ros_cdk_core.IResolvable] Property circuitCode: The circuit code provided by the Internet service provider (ISP) for the physical connection.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the VBR.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the VBR.

local_gateway_ipRequired

local_gateway_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


peer_gateway_ipRequired

peer_gateway_ip: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


peering_subnet_maskRequired

peering_subnet_mask: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


physical_connection_idRequired

physical_connection_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property physicalConnectionId: The ID of the physical connection.


vlan_idRequired

vlan_id: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], 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.


circuit_codeOptional

circuit_code: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

description: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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

name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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://.