Provides a Express Connect Router Interface resource.
For information about Express Connect Router Interface and how to use it, see What is Router Interface.
NOTE: Available since v1.199.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tfexample";
const _default = alicloud.resourcemanager.getResourceGroups({});
const _this = alicloud.getAccount({});
const defaultGetRegions = alicloud.getRegions({
current: true,
});
const nameRegex = alicloud.expressconnect.getPhysicalConnections({
nameRegex: "^preserved-NODELETING-JG",
});
const defaultGetZones = alicloud.alb.getZones({});
const defaultNetwork = new alicloud.vpc.Network("default", {
vpcName: name,
cidrBlock: "172.16.0.0/16",
enableIpv6: true,
});
const zoneA = new alicloud.vpc.Switch("zone_a", {
vswitchName: name,
vpcId: defaultNetwork.id,
cidrBlock: "172.16.0.0/24",
zoneId: defaultGetZones.then(defaultGetZones => defaultGetZones.zones?.[0]?.id),
ipv6CidrBlockMask: 6,
});
const defaultVirtualBorderRouter = new alicloud.expressconnect.VirtualBorderRouter("default", {
physicalConnectionId: nameRegex.then(nameRegex => nameRegex.connections?.[0]?.id),
vlanId: 1001,
peerGatewayIp: "192.168.254.2",
peeringSubnetMask: "255.255.255.0",
localGatewayIp: "192.168.254.1",
});
const defaultRouterInterface = new alicloud.expressconnect.RouterInterface("default", {
autoRenew: true,
spec: "Mini.2",
oppositeRouterType: "VRouter",
routerId: defaultVirtualBorderRouter.id,
description: "terraform-example",
accessPointId: "ap-cn-hangzhou-jg-B",
resourceGroupId: _default.then(_default => _default.ids?.[0]),
period: 1,
oppositeRouterId: defaultNetwork.routerId,
role: "InitiatingSide",
paymentType: "PayAsYouGo",
autoPay: true,
oppositeInterfaceOwnerId: _this.then(_this => _this.id),
routerInterfaceName: name,
fastLinkMode: true,
oppositeRegionId: "cn-hangzhou",
routerType: "VBR",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tfexample"
default = alicloud.resourcemanager.get_resource_groups()
this = alicloud.get_account()
default_get_regions = alicloud.get_regions(current=True)
name_regex = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING-JG")
default_get_zones = alicloud.alb.get_zones()
default_network = alicloud.vpc.Network("default",
vpc_name=name,
cidr_block="172.16.0.0/16",
enable_ipv6=True)
zone_a = alicloud.vpc.Switch("zone_a",
vswitch_name=name,
vpc_id=default_network.id,
cidr_block="172.16.0.0/24",
zone_id=default_get_zones.zones[0].id,
ipv6_cidr_block_mask=6)
default_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("default",
physical_connection_id=name_regex.connections[0].id,
vlan_id=1001,
peer_gateway_ip="192.168.254.2",
peering_subnet_mask="255.255.255.0",
local_gateway_ip="192.168.254.1")
default_router_interface = alicloud.expressconnect.RouterInterface("default",
auto_renew=True,
spec="Mini.2",
opposite_router_type="VRouter",
router_id=default_virtual_border_router.id,
description="terraform-example",
access_point_id="ap-cn-hangzhou-jg-B",
resource_group_id=default.ids[0],
period=1,
opposite_router_id=default_network.router_id,
role="InitiatingSide",
payment_type="PayAsYouGo",
auto_pay=True,
opposite_interface_owner_id=this.id,
router_interface_name=name,
fast_link_mode=True,
opposite_region_id="cn-hangzhou",
router_type="VBR")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/alb"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tfexample"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
if err != nil {
return err
}
this, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
_, err = alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
nameRegex, err := expressconnect.GetPhysicalConnections(ctx, &expressconnect.GetPhysicalConnectionsArgs{
NameRegex: pulumi.StringRef("^preserved-NODELETING-JG"),
}, nil)
if err != nil {
return err
}
defaultGetZones, err := alb.GetZones(ctx, &alb.GetZonesArgs{}, nil)
if err != nil {
return err
}
defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
VpcName: pulumi.String(name),
CidrBlock: pulumi.String("172.16.0.0/16"),
EnableIpv6: pulumi.Bool(true),
})
if err != nil {
return err
}
_, err = vpc.NewSwitch(ctx, "zone_a", &vpc.SwitchArgs{
VswitchName: pulumi.String(name),
VpcId: defaultNetwork.ID(),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(defaultGetZones.Zones[0].Id),
Ipv6CidrBlockMask: pulumi.Int(6),
})
if err != nil {
return err
}
defaultVirtualBorderRouter, err := expressconnect.NewVirtualBorderRouter(ctx, "default", &expressconnect.VirtualBorderRouterArgs{
PhysicalConnectionId: pulumi.String(nameRegex.Connections[0].Id),
VlanId: pulumi.Int(1001),
PeerGatewayIp: pulumi.String("192.168.254.2"),
PeeringSubnetMask: pulumi.String("255.255.255.0"),
LocalGatewayIp: pulumi.String("192.168.254.1"),
})
if err != nil {
return err
}
_, err = expressconnect.NewRouterInterface(ctx, "default", &expressconnect.RouterInterfaceArgs{
AutoRenew: pulumi.Bool(true),
Spec: pulumi.String("Mini.2"),
OppositeRouterType: pulumi.String("VRouter"),
RouterId: defaultVirtualBorderRouter.ID(),
Description: pulumi.String("terraform-example"),
AccessPointId: pulumi.String("ap-cn-hangzhou-jg-B"),
ResourceGroupId: pulumi.String(_default.Ids[0]),
Period: pulumi.Int(1),
OppositeRouterId: defaultNetwork.RouterId,
Role: pulumi.String("InitiatingSide"),
PaymentType: pulumi.String("PayAsYouGo"),
AutoPay: pulumi.Bool(true),
OppositeInterfaceOwnerId: pulumi.String(this.Id),
RouterInterfaceName: pulumi.String(name),
FastLinkMode: pulumi.Bool(true),
OppositeRegionId: pulumi.String("cn-hangzhou"),
RouterType: pulumi.String("VBR"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tfexample";
var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
var @this = AliCloud.GetAccount.Invoke();
var defaultGetRegions = AliCloud.GetRegions.Invoke(new()
{
Current = true,
});
var nameRegex = AliCloud.ExpressConnect.GetPhysicalConnections.Invoke(new()
{
NameRegex = "^preserved-NODELETING-JG",
});
var defaultGetZones = AliCloud.Alb.GetZones.Invoke();
var defaultNetwork = new AliCloud.Vpc.Network("default", new()
{
VpcName = name,
CidrBlock = "172.16.0.0/16",
EnableIpv6 = true,
});
var zoneA = new AliCloud.Vpc.Switch("zone_a", new()
{
VswitchName = name,
VpcId = defaultNetwork.Id,
CidrBlock = "172.16.0.0/24",
ZoneId = defaultGetZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
Ipv6CidrBlockMask = 6,
});
var defaultVirtualBorderRouter = new AliCloud.ExpressConnect.VirtualBorderRouter("default", new()
{
PhysicalConnectionId = nameRegex.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections[0]?.Id),
VlanId = 1001,
PeerGatewayIp = "192.168.254.2",
PeeringSubnetMask = "255.255.255.0",
LocalGatewayIp = "192.168.254.1",
});
var defaultRouterInterface = new AliCloud.ExpressConnect.RouterInterface("default", new()
{
AutoRenew = true,
Spec = "Mini.2",
OppositeRouterType = "VRouter",
RouterId = defaultVirtualBorderRouter.Id,
Description = "terraform-example",
AccessPointId = "ap-cn-hangzhou-jg-B",
ResourceGroupId = @default.Apply(@default => @default.Apply(getResourceGroupsResult => getResourceGroupsResult.Ids[0])),
Period = 1,
OppositeRouterId = defaultNetwork.RouterId,
Role = "InitiatingSide",
PaymentType = "PayAsYouGo",
AutoPay = true,
OppositeInterfaceOwnerId = @this.Apply(@this => @this.Apply(getAccountResult => getAccountResult.Id)),
RouterInterfaceName = name,
FastLinkMode = true,
OppositeRegionId = "cn-hangzhou",
RouterType = "VBR",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
import com.pulumi.alicloud.alb.AlbFunctions;
import com.pulumi.alicloud.alb.inputs.GetZonesArgs;
import com.pulumi.alicloud.vpc.Network;
import com.pulumi.alicloud.vpc.NetworkArgs;
import com.pulumi.alicloud.vpc.Switch;
import com.pulumi.alicloud.vpc.SwitchArgs;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
import com.pulumi.alicloud.expressconnect.RouterInterface;
import com.pulumi.alicloud.expressconnect.RouterInterfaceArgs;
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("tfexample");
final var default = ResourcemanagerFunctions.getResourceGroups(GetResourceGroupsArgs.builder()
.build());
final var this = AlicloudFunctions.getAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
final var defaultGetRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
final var nameRegex = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
.nameRegex("^preserved-NODELETING-JG")
.build());
final var defaultGetZones = AlbFunctions.getZones(GetZonesArgs.builder()
.build());
var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
.vpcName(name)
.cidrBlock("172.16.0.0/16")
.enableIpv6(true)
.build());
var zoneA = new Switch("zoneA", SwitchArgs.builder()
.vswitchName(name)
.vpcId(defaultNetwork.id())
.cidrBlock("172.16.0.0/24")
.zoneId(defaultGetZones.zones()[0].id())
.ipv6CidrBlockMask(6)
.build());
var defaultVirtualBorderRouter = new VirtualBorderRouter("defaultVirtualBorderRouter", VirtualBorderRouterArgs.builder()
.physicalConnectionId(nameRegex.connections()[0].id())
.vlanId(1001)
.peerGatewayIp("192.168.254.2")
.peeringSubnetMask("255.255.255.0")
.localGatewayIp("192.168.254.1")
.build());
var defaultRouterInterface = new RouterInterface("defaultRouterInterface", RouterInterfaceArgs.builder()
.autoRenew(true)
.spec("Mini.2")
.oppositeRouterType("VRouter")
.routerId(defaultVirtualBorderRouter.id())
.description("terraform-example")
.accessPointId("ap-cn-hangzhou-jg-B")
.resourceGroupId(default_.ids()[0])
.period(1)
.oppositeRouterId(defaultNetwork.routerId())
.role("InitiatingSide")
.paymentType("PayAsYouGo")
.autoPay(true)
.oppositeInterfaceOwnerId(this_.id())
.routerInterfaceName(name)
.fastLinkMode(true)
.oppositeRegionId("cn-hangzhou")
.routerType("VBR")
.build());
}
}
configuration:
name:
type: string
default: tfexample
resources:
defaultNetwork:
type: alicloud:vpc:Network
name: default
properties:
vpcName: ${name}
cidrBlock: 172.16.0.0/16
enableIpv6: 'true'
zoneA:
type: alicloud:vpc:Switch
name: zone_a
properties:
vswitchName: ${name}
vpcId: ${defaultNetwork.id}
cidrBlock: 172.16.0.0/24
zoneId: ${defaultGetZones.zones[0].id}
ipv6CidrBlockMask: '6'
defaultVirtualBorderRouter:
type: alicloud:expressconnect:VirtualBorderRouter
name: default
properties:
physicalConnectionId: ${nameRegex.connections[0].id}
vlanId: '1001'
peerGatewayIp: 192.168.254.2
peeringSubnetMask: 255.255.255.0
localGatewayIp: 192.168.254.1
defaultRouterInterface:
type: alicloud:expressconnect:RouterInterface
name: default
properties:
autoRenew: 'true'
spec: Mini.2
oppositeRouterType: VRouter
routerId: ${defaultVirtualBorderRouter.id}
description: terraform-example
accessPointId: ap-cn-hangzhou-jg-B
resourceGroupId: ${default.ids[0]}
period: '1'
oppositeRouterId: ${defaultNetwork.routerId}
role: InitiatingSide
paymentType: PayAsYouGo
autoPay: 'true'
oppositeInterfaceOwnerId: ${this.id}
routerInterfaceName: ${name}
fastLinkMode: 'true'
oppositeRegionId: cn-hangzhou
routerType: VBR
variables:
default:
fn::invoke:
function: alicloud:resourcemanager:getResourceGroups
arguments: {}
this:
fn::invoke:
function: alicloud:getAccount
arguments: {}
defaultGetRegions:
fn::invoke:
function: alicloud:getRegions
arguments:
current: true
nameRegex:
fn::invoke:
function: alicloud:expressconnect:getPhysicalConnections
arguments:
nameRegex: ^preserved-NODELETING-JG
defaultGetZones:
fn::invoke:
function: alicloud:alb:getZones
arguments: {}
Create RouterInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RouterInterface(name: string, args: RouterInterfaceArgs, opts?: CustomResourceOptions);@overload
def RouterInterface(resource_name: str,
args: RouterInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RouterInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
opposite_region_id: Optional[str] = None,
spec: Optional[str] = None,
router_type: Optional[str] = None,
router_id: Optional[str] = None,
role: Optional[str] = None,
opposite_interface_owner_id: Optional[str] = None,
payment_type: Optional[str] = None,
hc_threshold: Optional[str] = None,
health_check_source_ip: Optional[str] = None,
health_check_target_ip: Optional[str] = None,
opposite_access_point_id: Optional[str] = None,
opposite_interface_id: Optional[str] = None,
access_point_id: Optional[str] = None,
fast_link_mode: Optional[bool] = None,
opposite_router_id: Optional[str] = None,
opposite_router_type: Optional[str] = None,
hc_rate: Optional[int] = None,
period: Optional[int] = None,
pricing_cycle: Optional[str] = None,
resource_group_id: Optional[str] = None,
description: Optional[str] = None,
delete_health_check_ip: Optional[bool] = None,
router_interface_name: Optional[str] = None,
auto_renew: Optional[bool] = None,
auto_pay: Optional[bool] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewRouterInterface(ctx *Context, name string, args RouterInterfaceArgs, opts ...ResourceOption) (*RouterInterface, error)public RouterInterface(string name, RouterInterfaceArgs args, CustomResourceOptions? opts = null)
public RouterInterface(String name, RouterInterfaceArgs args)
public RouterInterface(String name, RouterInterfaceArgs args, CustomResourceOptions options)
type: alicloud:expressconnect:RouterInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var routerInterfaceResource = new AliCloud.ExpressConnect.RouterInterface("routerInterfaceResource", new()
{
OppositeRegionId = "string",
Spec = "string",
RouterType = "string",
RouterId = "string",
Role = "string",
OppositeInterfaceOwnerId = "string",
PaymentType = "string",
HcThreshold = "string",
HealthCheckSourceIp = "string",
HealthCheckTargetIp = "string",
OppositeAccessPointId = "string",
AccessPointId = "string",
FastLinkMode = false,
OppositeRouterId = "string",
OppositeRouterType = "string",
HcRate = 0,
Period = 0,
PricingCycle = "string",
ResourceGroupId = "string",
Description = "string",
DeleteHealthCheckIp = false,
RouterInterfaceName = "string",
AutoRenew = false,
Status = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := expressconnect.NewRouterInterface(ctx, "routerInterfaceResource", &expressconnect.RouterInterfaceArgs{
OppositeRegionId: pulumi.String("string"),
Spec: pulumi.String("string"),
RouterType: pulumi.String("string"),
RouterId: pulumi.String("string"),
Role: pulumi.String("string"),
OppositeInterfaceOwnerId: pulumi.String("string"),
PaymentType: pulumi.String("string"),
HcThreshold: pulumi.String("string"),
HealthCheckSourceIp: pulumi.String("string"),
HealthCheckTargetIp: pulumi.String("string"),
OppositeAccessPointId: pulumi.String("string"),
AccessPointId: pulumi.String("string"),
FastLinkMode: pulumi.Bool(false),
OppositeRouterId: pulumi.String("string"),
OppositeRouterType: pulumi.String("string"),
HcRate: pulumi.Int(0),
Period: pulumi.Int(0),
PricingCycle: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Description: pulumi.String("string"),
DeleteHealthCheckIp: pulumi.Bool(false),
RouterInterfaceName: pulumi.String("string"),
AutoRenew: pulumi.Bool(false),
Status: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var routerInterfaceResource = new com.pulumi.alicloud.expressconnect.RouterInterface("routerInterfaceResource", com.pulumi.alicloud.expressconnect.RouterInterfaceArgs.builder()
.oppositeRegionId("string")
.spec("string")
.routerType("string")
.routerId("string")
.role("string")
.oppositeInterfaceOwnerId("string")
.paymentType("string")
.hcThreshold("string")
.healthCheckSourceIp("string")
.healthCheckTargetIp("string")
.oppositeAccessPointId("string")
.accessPointId("string")
.fastLinkMode(false)
.oppositeRouterId("string")
.oppositeRouterType("string")
.hcRate(0)
.period(0)
.pricingCycle("string")
.resourceGroupId("string")
.description("string")
.deleteHealthCheckIp(false)
.routerInterfaceName("string")
.autoRenew(false)
.status("string")
.tags(Map.of("string", "string"))
.build());
router_interface_resource = alicloud.expressconnect.RouterInterface("routerInterfaceResource",
opposite_region_id="string",
spec="string",
router_type="string",
router_id="string",
role="string",
opposite_interface_owner_id="string",
payment_type="string",
hc_threshold="string",
health_check_source_ip="string",
health_check_target_ip="string",
opposite_access_point_id="string",
access_point_id="string",
fast_link_mode=False,
opposite_router_id="string",
opposite_router_type="string",
hc_rate=0,
period=0,
pricing_cycle="string",
resource_group_id="string",
description="string",
delete_health_check_ip=False,
router_interface_name="string",
auto_renew=False,
status="string",
tags={
"string": "string",
})
const routerInterfaceResource = new alicloud.expressconnect.RouterInterface("routerInterfaceResource", {
oppositeRegionId: "string",
spec: "string",
routerType: "string",
routerId: "string",
role: "string",
oppositeInterfaceOwnerId: "string",
paymentType: "string",
hcThreshold: "string",
healthCheckSourceIp: "string",
healthCheckTargetIp: "string",
oppositeAccessPointId: "string",
accessPointId: "string",
fastLinkMode: false,
oppositeRouterId: "string",
oppositeRouterType: "string",
hcRate: 0,
period: 0,
pricingCycle: "string",
resourceGroupId: "string",
description: "string",
deleteHealthCheckIp: false,
routerInterfaceName: "string",
autoRenew: false,
status: "string",
tags: {
string: "string",
},
});
type: alicloud:expressconnect:RouterInterface
properties:
accessPointId: string
autoRenew: false
deleteHealthCheckIp: false
description: string
fastLinkMode: false
hcRate: 0
hcThreshold: string
healthCheckSourceIp: string
healthCheckTargetIp: string
oppositeAccessPointId: string
oppositeInterfaceOwnerId: string
oppositeRegionId: string
oppositeRouterId: string
oppositeRouterType: string
paymentType: string
period: 0
pricingCycle: string
resourceGroupId: string
role: string
routerId: string
routerInterfaceName: string
routerType: string
spec: string
status: string
tags:
string: string
RouterInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RouterInterface resource accepts the following input properties:
- Opposite
Region stringId - Region of the connection peer
- Role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- Router
Id string - The ID of the router where the route entry is located.
- Router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- Spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- Access
Point stringId - Access point ID
- Auto
Pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- Auto
Renew bool - Whether to enable automatic renewal. Value:
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- Description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Fast
Link boolMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- Hc
Rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- Hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- Health
Check stringSource Ip - Health check source IP address
- Health
Check stringTarget Ip - Health check destination IP address
- Opposite
Access stringPoint Id - Peer access point ID
- Opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- Opposite
Interface stringOwner Id - Account ID of the peer router interface
- Opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- Opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- Payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- Period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Resource
Group stringId - The ID of the resource group
- Router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Dictionary<string, string>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- Opposite
Region stringId - Region of the connection peer
- Role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- Router
Id string - The ID of the router where the route entry is located.
- Router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- Spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- Access
Point stringId - Access point ID
- Auto
Pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- Auto
Renew bool - Whether to enable automatic renewal. Value:
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- Description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Fast
Link boolMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- Hc
Rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- Hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- Health
Check stringSource Ip - Health check source IP address
- Health
Check stringTarget Ip - Health check destination IP address
- Opposite
Access stringPoint Id - Peer access point ID
- Opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- Opposite
Interface stringOwner Id - Account ID of the peer router interface
- Opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- Opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- Payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- Period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Resource
Group stringId - The ID of the resource group
- Router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- map[string]string
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- opposite
Region StringId - Region of the connection peer
- role String
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id String - The ID of the router where the route entry is located.
- router
Type String - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec String
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- access
Point StringId - Access point ID
- auto
Pay Boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew Boolean - Whether to enable automatic renewal. Value:
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description String
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- fast
Link BooleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- hc
Rate Integer - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold String - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check StringSource Ip - Health check source IP address
- health
Check StringTarget Ip - Health check destination IP address
- opposite
Access StringPoint Id - Peer access point ID
- opposite
Interface StringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface StringOwner Id - Account ID of the peer router interface
- opposite
Router StringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router StringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- payment
Type String - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period Integer
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle String The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- resource
Group StringId - The ID of the resource group
- router
Interface StringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- status String
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Map<String,String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- opposite
Region stringId - Region of the connection peer
- role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id string - The ID of the router where the route entry is located.
- router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- access
Point stringId - Access point ID
- auto
Pay boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew boolean - Whether to enable automatic renewal. Value:
- delete
Health booleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- fast
Link booleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- hc
Rate number - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check stringSource Ip - Health check source IP address
- health
Check stringTarget Ip - Health check destination IP address
- opposite
Access stringPoint Id - Peer access point ID
- opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface stringOwner Id - Account ID of the peer router interface
- opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period number
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- resource
Group stringId - The ID of the resource group
- router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- {[key: string]: string}
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- opposite_
region_ strid - Region of the connection peer
- role str
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router_
id str - The ID of the router where the route entry is located.
- router_
type str - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec str
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- access_
point_ strid - Access point ID
- auto_
pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- auto_
renew bool - Whether to enable automatic renewal. Value:
- delete_
health_ boolcheck_ ip - Whether to delete the health check IP address configured on the router interface. Value:
- description str
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- fast_
link_ boolmode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- hc_
rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc_
threshold str - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health_
check_ strsource_ ip - Health check source IP address
- health_
check_ strtarget_ ip - Health check destination IP address
- opposite_
access_ strpoint_ id - Peer access point ID
- opposite_
interface_ strid - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite_
interface_ strowner_ id - Account ID of the peer router interface
- opposite_
router_ strid - The ID of the router to which the opposite router interface belongs.
- opposite_
router_ strtype - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- payment_
type str - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing_
cycle str The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- resource_
group_ strid - The ID of the resource group
- router_
interface_ strname - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- status str
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Mapping[str, str]
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- opposite
Region StringId - Region of the connection peer
- role String
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id String - The ID of the router where the route entry is located.
- router
Type String - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec String
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- access
Point StringId - Access point ID
- auto
Pay Boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew Boolean - Whether to enable automatic renewal. Value:
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description String
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- fast
Link BooleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- hc
Rate Number - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold String - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check StringSource Ip - Health check source IP address
- health
Check StringTarget Ip - Health check destination IP address
- opposite
Access StringPoint Id - Peer access point ID
- opposite
Interface StringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface StringOwner Id - Account ID of the peer router interface
- opposite
Router StringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router StringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- payment
Type String - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period Number
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle String The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- resource
Group StringId - The ID of the resource group
- router
Interface StringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- status String
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Map<String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
Outputs
All input properties are implicitly available as output properties. Additionally, the RouterInterface resource produces the following output properties:
- Bandwidth int
- The bandwidth of the router interface
- Business
Status string - The service status of the router interface.
- Connected
Time string - Time the connection was established
- Create
Time string - The creation time of the resource
- Cross
Border bool - CrossBorder
- End
Time string - End Time of Prepaid
- Has
Reservation stringData - Whether there is renewal data
- Id string
- The provider-assigned unique ID for this managed resource.
- Opposite
Bandwidth int - opposite bandwidth
- Opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- Opposite
Interface stringSpec - Specifications of the interface of the peer router.
- Opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- Opposite
Vpc stringInstance Id - The peer VPC ID
- Reservation
Active stringTime - ReservationActiveTime
- Reservation
Bandwidth string - Renew Bandwidth
- Reservation
Internet stringCharge Type - Payment Type for Renewal
- Reservation
Order stringType - Renewal Order Type
- Router
Interface stringId - The first ID of the resource
- Vpc
Instance stringId - ID of the local VPC in the peering connection
- Bandwidth int
- The bandwidth of the router interface
- Business
Status string - The service status of the router interface.
- Connected
Time string - Time the connection was established
- Create
Time string - The creation time of the resource
- Cross
Border bool - CrossBorder
- End
Time string - End Time of Prepaid
- Has
Reservation stringData - Whether there is renewal data
- Id string
- The provider-assigned unique ID for this managed resource.
- Opposite
Bandwidth int - opposite bandwidth
- Opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- Opposite
Interface stringSpec - Specifications of the interface of the peer router.
- Opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- Opposite
Vpc stringInstance Id - The peer VPC ID
- Reservation
Active stringTime - ReservationActiveTime
- Reservation
Bandwidth string - Renew Bandwidth
- Reservation
Internet stringCharge Type - Payment Type for Renewal
- Reservation
Order stringType - Renewal Order Type
- Router
Interface stringId - The first ID of the resource
- Vpc
Instance stringId - ID of the local VPC in the peering connection
- bandwidth Integer
- The bandwidth of the router interface
- business
Status String - The service status of the router interface.
- connected
Time String - Time the connection was established
- create
Time String - The creation time of the resource
- cross
Border Boolean - CrossBorder
- end
Time String - End Time of Prepaid
- has
Reservation StringData - Whether there is renewal data
- id String
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth Integer - opposite bandwidth
- opposite
Interface StringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface StringSpec - Specifications of the interface of the peer router.
- opposite
Interface StringStatus - The status of the router interface on the peer of the connection.
- opposite
Vpc StringInstance Id - The peer VPC ID
- reservation
Active StringTime - ReservationActiveTime
- reservation
Bandwidth String - Renew Bandwidth
- reservation
Internet StringCharge Type - Payment Type for Renewal
- reservation
Order StringType - Renewal Order Type
- router
Interface StringId - The first ID of the resource
- vpc
Instance StringId - ID of the local VPC in the peering connection
- bandwidth number
- The bandwidth of the router interface
- business
Status string - The service status of the router interface.
- connected
Time string - Time the connection was established
- create
Time string - The creation time of the resource
- cross
Border boolean - CrossBorder
- end
Time string - End Time of Prepaid
- has
Reservation stringData - Whether there is renewal data
- id string
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth number - opposite bandwidth
- opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface stringSpec - Specifications of the interface of the peer router.
- opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- opposite
Vpc stringInstance Id - The peer VPC ID
- reservation
Active stringTime - ReservationActiveTime
- reservation
Bandwidth string - Renew Bandwidth
- reservation
Internet stringCharge Type - Payment Type for Renewal
- reservation
Order stringType - Renewal Order Type
- router
Interface stringId - The first ID of the resource
- vpc
Instance stringId - ID of the local VPC in the peering connection
- bandwidth int
- The bandwidth of the router interface
- business_
status str - The service status of the router interface.
- connected_
time str - Time the connection was established
- create_
time str - The creation time of the resource
- cross_
border bool - CrossBorder
- end_
time str - End Time of Prepaid
- has_
reservation_ strdata - Whether there is renewal data
- id str
- The provider-assigned unique ID for this managed resource.
- opposite_
bandwidth int - opposite bandwidth
- opposite_
interface_ strbusiness_ status - The service status of the router interface on the opposite end of the connection.
- opposite_
interface_ strspec - Specifications of the interface of the peer router.
- opposite_
interface_ strstatus - The status of the router interface on the peer of the connection.
- opposite_
vpc_ strinstance_ id - The peer VPC ID
- reservation_
active_ strtime - ReservationActiveTime
- reservation_
bandwidth str - Renew Bandwidth
- reservation_
internet_ strcharge_ type - Payment Type for Renewal
- reservation_
order_ strtype - Renewal Order Type
- router_
interface_ strid - The first ID of the resource
- vpc_
instance_ strid - ID of the local VPC in the peering connection
- bandwidth Number
- The bandwidth of the router interface
- business
Status String - The service status of the router interface.
- connected
Time String - Time the connection was established
- create
Time String - The creation time of the resource
- cross
Border Boolean - CrossBorder
- end
Time String - End Time of Prepaid
- has
Reservation StringData - Whether there is renewal data
- id String
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth Number - opposite bandwidth
- opposite
Interface StringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface StringSpec - Specifications of the interface of the peer router.
- opposite
Interface StringStatus - The status of the router interface on the peer of the connection.
- opposite
Vpc StringInstance Id - The peer VPC ID
- reservation
Active StringTime - ReservationActiveTime
- reservation
Bandwidth String - Renew Bandwidth
- reservation
Internet StringCharge Type - Payment Type for Renewal
- reservation
Order StringType - Renewal Order Type
- router
Interface StringId - The first ID of the resource
- vpc
Instance StringId - ID of the local VPC in the peering connection
Look up Existing RouterInterface Resource
Get an existing RouterInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RouterInterfaceState, opts?: CustomResourceOptions): RouterInterface@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_point_id: Optional[str] = None,
auto_pay: Optional[bool] = None,
auto_renew: Optional[bool] = None,
bandwidth: Optional[int] = None,
business_status: Optional[str] = None,
connected_time: Optional[str] = None,
create_time: Optional[str] = None,
cross_border: Optional[bool] = None,
delete_health_check_ip: Optional[bool] = None,
description: Optional[str] = None,
end_time: Optional[str] = None,
fast_link_mode: Optional[bool] = None,
has_reservation_data: Optional[str] = None,
hc_rate: Optional[int] = None,
hc_threshold: Optional[str] = None,
health_check_source_ip: Optional[str] = None,
health_check_target_ip: Optional[str] = None,
opposite_access_point_id: Optional[str] = None,
opposite_bandwidth: Optional[int] = None,
opposite_interface_business_status: Optional[str] = None,
opposite_interface_id: Optional[str] = None,
opposite_interface_owner_id: Optional[str] = None,
opposite_interface_spec: Optional[str] = None,
opposite_interface_status: Optional[str] = None,
opposite_region_id: Optional[str] = None,
opposite_router_id: Optional[str] = None,
opposite_router_type: Optional[str] = None,
opposite_vpc_instance_id: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
pricing_cycle: Optional[str] = None,
reservation_active_time: Optional[str] = None,
reservation_bandwidth: Optional[str] = None,
reservation_internet_charge_type: Optional[str] = None,
reservation_order_type: Optional[str] = None,
resource_group_id: Optional[str] = None,
role: Optional[str] = None,
router_id: Optional[str] = None,
router_interface_id: Optional[str] = None,
router_interface_name: Optional[str] = None,
router_type: Optional[str] = None,
spec: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
vpc_instance_id: Optional[str] = None) -> RouterInterfacefunc GetRouterInterface(ctx *Context, name string, id IDInput, state *RouterInterfaceState, opts ...ResourceOption) (*RouterInterface, error)public static RouterInterface Get(string name, Input<string> id, RouterInterfaceState? state, CustomResourceOptions? opts = null)public static RouterInterface get(String name, Output<String> id, RouterInterfaceState state, CustomResourceOptions options)resources: _: type: alicloud:expressconnect:RouterInterface get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Point stringId - Access point ID
- Auto
Pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- Auto
Renew bool - Whether to enable automatic renewal. Value:
- Bandwidth int
- The bandwidth of the router interface
- Business
Status string - The service status of the router interface.
- Connected
Time string - Time the connection was established
- Create
Time string - The creation time of the resource
- Cross
Border bool - CrossBorder
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- Description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- End
Time string - End Time of Prepaid
- Fast
Link boolMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- Has
Reservation stringData - Whether there is renewal data
- Hc
Rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- Hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- Health
Check stringSource Ip - Health check source IP address
- Health
Check stringTarget Ip - Health check destination IP address
- Opposite
Access stringPoint Id - Peer access point ID
- Opposite
Bandwidth int - opposite bandwidth
- Opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- Opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- Opposite
Interface stringOwner Id - Account ID of the peer router interface
- Opposite
Interface stringSpec - Specifications of the interface of the peer router.
- Opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- Opposite
Region stringId - Region of the connection peer
- Opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- Opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- Opposite
Vpc stringInstance Id - The peer VPC ID
- Payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- Period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Reservation
Active stringTime - ReservationActiveTime
- Reservation
Bandwidth string - Renew Bandwidth
- Reservation
Internet stringCharge Type - Payment Type for Renewal
- Reservation
Order stringType - Renewal Order Type
- Resource
Group stringId - The ID of the resource group
- Role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- Router
Id string - The ID of the router where the route entry is located.
- Router
Interface stringId - The first ID of the resource
- Router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- Spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- Status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Dictionary<string, string>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- Vpc
Instance stringId - ID of the local VPC in the peering connection
- Access
Point stringId - Access point ID
- Auto
Pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- Auto
Renew bool - Whether to enable automatic renewal. Value:
- Bandwidth int
- The bandwidth of the router interface
- Business
Status string - The service status of the router interface.
- Connected
Time string - Time the connection was established
- Create
Time string - The creation time of the resource
- Cross
Border bool - CrossBorder
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- Description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- End
Time string - End Time of Prepaid
- Fast
Link boolMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- Has
Reservation stringData - Whether there is renewal data
- Hc
Rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- Hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- Health
Check stringSource Ip - Health check source IP address
- Health
Check stringTarget Ip - Health check destination IP address
- Opposite
Access stringPoint Id - Peer access point ID
- Opposite
Bandwidth int - opposite bandwidth
- Opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- Opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- Opposite
Interface stringOwner Id - Account ID of the peer router interface
- Opposite
Interface stringSpec - Specifications of the interface of the peer router.
- Opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- Opposite
Region stringId - Region of the connection peer
- Opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- Opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- Opposite
Vpc stringInstance Id - The peer VPC ID
- Payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- Period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- Reservation
Active stringTime - ReservationActiveTime
- Reservation
Bandwidth string - Renew Bandwidth
- Reservation
Internet stringCharge Type - Payment Type for Renewal
- Reservation
Order stringType - Renewal Order Type
- Resource
Group stringId - The ID of the resource group
- Role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- Router
Id string - The ID of the router where the route entry is located.
- Router
Interface stringId - The first ID of the resource
- Router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- Router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- Spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- Status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- map[string]string
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- Vpc
Instance stringId - ID of the local VPC in the peering connection
- access
Point StringId - Access point ID
- auto
Pay Boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew Boolean - Whether to enable automatic renewal. Value:
- bandwidth Integer
- The bandwidth of the router interface
- business
Status String - The service status of the router interface.
- connected
Time String - Time the connection was established
- create
Time String - The creation time of the resource
- cross
Border Boolean - CrossBorder
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description String
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- end
Time String - End Time of Prepaid
- fast
Link BooleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- has
Reservation StringData - Whether there is renewal data
- hc
Rate Integer - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold String - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check StringSource Ip - Health check source IP address
- health
Check StringTarget Ip - Health check destination IP address
- opposite
Access StringPoint Id - Peer access point ID
- opposite
Bandwidth Integer - opposite bandwidth
- opposite
Interface StringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface StringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface StringOwner Id - Account ID of the peer router interface
- opposite
Interface StringSpec - Specifications of the interface of the peer router.
- opposite
Interface StringStatus - The status of the router interface on the peer of the connection.
- opposite
Region StringId - Region of the connection peer
- opposite
Router StringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router StringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- opposite
Vpc StringInstance Id - The peer VPC ID
- payment
Type String - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period Integer
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle String The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- reservation
Active StringTime - ReservationActiveTime
- reservation
Bandwidth String - Renew Bandwidth
- reservation
Internet StringCharge Type - Payment Type for Renewal
- reservation
Order StringType - Renewal Order Type
- resource
Group StringId - The ID of the resource group
- role String
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id String - The ID of the router where the route entry is located.
- router
Interface StringId - The first ID of the resource
- router
Interface StringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- router
Type String - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec String
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- status String
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Map<String,String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- vpc
Instance StringId - ID of the local VPC in the peering connection
- access
Point stringId - Access point ID
- auto
Pay boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew boolean - Whether to enable automatic renewal. Value:
- bandwidth number
- The bandwidth of the router interface
- business
Status string - The service status of the router interface.
- connected
Time string - Time the connection was established
- create
Time string - The creation time of the resource
- cross
Border boolean - CrossBorder
- delete
Health booleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description string
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- end
Time string - End Time of Prepaid
- fast
Link booleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- has
Reservation stringData - Whether there is renewal data
- hc
Rate number - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold string - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check stringSource Ip - Health check source IP address
- health
Check stringTarget Ip - Health check destination IP address
- opposite
Access stringPoint Id - Peer access point ID
- opposite
Bandwidth number - opposite bandwidth
- opposite
Interface stringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface stringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface stringOwner Id - Account ID of the peer router interface
- opposite
Interface stringSpec - Specifications of the interface of the peer router.
- opposite
Interface stringStatus - The status of the router interface on the peer of the connection.
- opposite
Region stringId - Region of the connection peer
- opposite
Router stringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router stringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- opposite
Vpc stringInstance Id - The peer VPC ID
- payment
Type string - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period number
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle string The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- reservation
Active stringTime - ReservationActiveTime
- reservation
Bandwidth string - Renew Bandwidth
- reservation
Internet stringCharge Type - Payment Type for Renewal
- reservation
Order stringType - Renewal Order Type
- resource
Group stringId - The ID of the resource group
- role string
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id string - The ID of the router where the route entry is located.
- router
Interface stringId - The first ID of the resource
- router
Interface stringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- router
Type string - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec string
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- status string
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- {[key: string]: string}
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- vpc
Instance stringId - ID of the local VPC in the peering connection
- access_
point_ strid - Access point ID
- auto_
pay bool - . Field 'name' has been deprecated from provider version 1.263.0.
- auto_
renew bool - Whether to enable automatic renewal. Value:
- bandwidth int
- The bandwidth of the router interface
- business_
status str - The service status of the router interface.
- connected_
time str - Time the connection was established
- create_
time str - The creation time of the resource
- cross_
border bool - CrossBorder
- delete_
health_ boolcheck_ ip - Whether to delete the health check IP address configured on the router interface. Value:
- description str
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- end_
time str - End Time of Prepaid
- fast_
link_ boolmode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- has_
reservation_ strdata - Whether there is renewal data
- hc_
rate int - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc_
threshold str - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health_
check_ strsource_ ip - Health check source IP address
- health_
check_ strtarget_ ip - Health check destination IP address
- opposite_
access_ strpoint_ id - Peer access point ID
- opposite_
bandwidth int - opposite bandwidth
- opposite_
interface_ strbusiness_ status - The service status of the router interface on the opposite end of the connection.
- opposite_
interface_ strid - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite_
interface_ strowner_ id - Account ID of the peer router interface
- opposite_
interface_ strspec - Specifications of the interface of the peer router.
- opposite_
interface_ strstatus - The status of the router interface on the peer of the connection.
- opposite_
region_ strid - Region of the connection peer
- opposite_
router_ strid - The ID of the router to which the opposite router interface belongs.
- opposite_
router_ strtype - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- opposite_
vpc_ strinstance_ id - The peer VPC ID
- payment_
type str - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period int
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing_
cycle str The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- reservation_
active_ strtime - ReservationActiveTime
- reservation_
bandwidth str - Renew Bandwidth
- reservation_
internet_ strcharge_ type - Payment Type for Renewal
- reservation_
order_ strtype - Renewal Order Type
- resource_
group_ strid - The ID of the resource group
- role str
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router_
id str - The ID of the router where the route entry is located.
- router_
interface_ strid - The first ID of the resource
- router_
interface_ strname - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- router_
type str - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec str
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- status str
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Mapping[str, str]
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- vpc_
instance_ strid - ID of the local VPC in the peering connection
- access
Point StringId - Access point ID
- auto
Pay Boolean - . Field 'name' has been deprecated from provider version 1.263.0.
- auto
Renew Boolean - Whether to enable automatic renewal. Value:
- bandwidth Number
- The bandwidth of the router interface
- business
Status String - The service status of the router interface.
- connected
Time String - Time the connection was established
- create
Time String - The creation time of the resource
- cross
Border Boolean - CrossBorder
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:
- description String
- The router interface description. It must be 2 to 256 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- end
Time String - End Time of Prepaid
- fast
Link BooleanMode - Whether the VBR router interface is created by using the fast connection mode. The fast connection mode can automatically complete the connection after the VBR and the router interfaces at both ends of the VPC are created. Value:
- has
Reservation StringData - Whether there is renewal data
- hc
Rate Number - Health check rate. Unit: milliseconds. The recommend value is 2000. Indicates the time interval for sending continuous detection packets during a specified health check.
- hc
Threshold String - Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
- health
Check StringSource Ip - Health check source IP address
- health
Check StringTarget Ip - Health check destination IP address
- opposite
Access StringPoint Id - Peer access point ID
- opposite
Bandwidth Number - opposite bandwidth
- opposite
Interface StringBusiness Status - The service status of the router interface on the opposite end of the connection.
- opposite
Interface StringId - . Field 'router_table_id' has been deprecated from provider version 1.263.0.
- opposite
Interface StringOwner Id - Account ID of the peer router interface
- opposite
Interface StringSpec - Specifications of the interface of the peer router.
- opposite
Interface StringStatus - The status of the router interface on the peer of the connection.
- opposite
Region StringId - Region of the connection peer
- opposite
Router StringId - The ID of the router to which the opposite router interface belongs.
- opposite
Router StringType - The router type associated with the peer router interface. Valid values:
- VRouter: VPC router.
- VBR: Virtual Border Router.
- opposite
Vpc StringInstance Id - The peer VPC ID
- payment
Type String - The payment method of the router interface. Valid values:
- Subscription : PrePaid.
- PayAsYouGo : PostPaid.
- period Number
Purchase duration, value:
- When you choose to pay on a monthly basis, the value range is 1 to 9.
- When you choose to pay per year, the value range is 1 to 3.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- pricing
Cycle String The billing cycle of the prepaid fee. Valid values:
Month(default): monthly payment.Year: Pay per Year.
NOTE:
periodis required when the value of the parameterpayment_typeisSubscription.NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.
- reservation
Active StringTime - ReservationActiveTime
- reservation
Bandwidth String - Renew Bandwidth
- reservation
Internet StringCharge Type - Payment Type for Renewal
- reservation
Order StringType - Renewal Order Type
- resource
Group StringId - The ID of the resource group
- role String
- The role of the router interface. Valid values:
- InitiatingSide : the initiator of the connection.
- AcceptingSide : Connect to the receiving end.
- router
Id String - The ID of the router where the route entry is located.
- router
Interface StringId - The first ID of the resource
- router
Interface StringName - Resource attribute field representing the resource name. It must be 2 to 128 characters in length and must start with a letter or a Chinese character, but cannot start with http:// or https.
- router
Type String - The type of the router where the routing table resides. Valid values:
- VRouter:VPC router
- VBR: Border Router
- spec String
The specification of the router interface. The available specifications and corresponding bandwidth values are as follows:
- Mini.2: 2 Mbps
- Mini.5: 5 Mbps
- Small.1: 10 Mbps
- Small.2: 20 Mbps
- Small.5: 50 Mbps
- Middle.1: 100 Mbps
- Middle.2: 200 Mbps
- Middle.5: 500 Mbps
- Large.1: 1000 Mbps
- Large.2: 2000 Mbps
- Large.5: 5000 Mbps
- Xlarge.1: 10000 Mbps
When the Role is AcceptingSide (connecting to the receiving end), the Spec value is Negative, which means that the specification is not involved in creating the receiving end router interface.
- status String
- Resource attribute fields that represent the status of the resource. Value range:
- Idle : Initialize.
- Connecting : the initiator is in the process of Connecting.
- AcceptingConnecting : the receiving end is being connected.
- Activating : Restoring.
- Active : Normal.
- Modifying : Modifying.
- Deactivating : Freezing.
- Inactive : Frozen.
- Deleting : Deleting.
- Deleted : Deleted.
- Map<String>
The tag of the resource
The following arguments will be discarded. Please use new fields as soon as possible:
- vpc
Instance StringId - ID of the local VPC in the peering connection
Import
Express Connect Router Interface can be imported using the id, e.g.
$ pulumi import alicloud:expressconnect/routerInterface:RouterInterface example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
