1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. expressconnect
  5. RouterInterface
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
alicloud logo
Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi

    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:

    OppositeRegionId string
    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.
    RouterId string
    The ID of the router where the route entry is located.
    RouterType 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.

    AccessPointId string
    Access point ID
    AutoPay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    AutoRenew bool
    Whether to enable automatic renewal. Value:
    DeleteHealthCheckIp bool
    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.
    FastLinkMode bool
    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:
    HcRate 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.
    HcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    HealthCheckSourceIp string
    Health check source IP address
    HealthCheckTargetIp string
    Health check destination IP address
    OppositeAccessPointId string
    Peer access point ID
    OppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    OppositeInterfaceOwnerId string
    Account ID of the peer router interface
    OppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    OppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    PaymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    PricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ResourceGroupId string
    The ID of the resource group
    RouterInterfaceName string
    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.
    Tags Dictionary<string, string>

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    OppositeRegionId string
    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.
    RouterId string
    The ID of the router where the route entry is located.
    RouterType 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.

    AccessPointId string
    Access point ID
    AutoPay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    AutoRenew bool
    Whether to enable automatic renewal. Value:
    DeleteHealthCheckIp bool
    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.
    FastLinkMode bool
    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:
    HcRate 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.
    HcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    HealthCheckSourceIp string
    Health check source IP address
    HealthCheckTargetIp string
    Health check destination IP address
    OppositeAccessPointId string
    Peer access point ID
    OppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    OppositeInterfaceOwnerId string
    Account ID of the peer router interface
    OppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    OppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    PaymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    PricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ResourceGroupId string
    The ID of the resource group
    RouterInterfaceName string
    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.
    Tags map[string]string

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    oppositeRegionId String
    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.
    routerId String
    The ID of the router where the route entry is located.
    routerType 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.

    accessPointId String
    Access point ID
    autoPay Boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew Boolean
    Whether to enable automatic renewal. Value:
    deleteHealthCheckIp Boolean
    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.
    fastLinkMode Boolean
    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:
    hcRate 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.
    hcThreshold String
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp String
    Health check source IP address
    healthCheckTargetIp String
    Health check destination IP address
    oppositeAccessPointId String
    Peer access point ID
    oppositeInterfaceId String
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId String
    Account ID of the peer router interface
    oppositeRouterId String
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType String
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle String

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    resourceGroupId String
    The ID of the resource group
    routerInterfaceName String
    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.
    tags Map<String,String>

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    oppositeRegionId string
    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.
    routerId string
    The ID of the router where the route entry is located.
    routerType 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.

    accessPointId string
    Access point ID
    autoPay boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew boolean
    Whether to enable automatic renewal. Value:
    deleteHealthCheckIp boolean
    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.
    fastLinkMode boolean
    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:
    hcRate 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.
    hcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp string
    Health check source IP address
    healthCheckTargetIp string
    Health check destination IP address
    oppositeAccessPointId string
    Peer access point ID
    oppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId string
    Account ID of the peer router interface
    oppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    resourceGroupId string
    The ID of the resource group
    routerInterfaceName string
    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.
    tags {[key: string]: string}

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    opposite_region_id str
    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_id str
    Access point ID
    auto_pay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    auto_renew bool
    Whether to enable automatic renewal. Value:
    delete_health_check_ip bool
    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_mode bool
    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_source_ip str
    Health check source IP address
    health_check_target_ip str
    Health check destination IP address
    opposite_access_point_id str
    Peer access point ID
    opposite_interface_id str
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    opposite_interface_owner_id str
    Account ID of the peer router interface
    opposite_router_id str
    The ID of the router to which the opposite router interface belongs.
    opposite_router_type str
    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: period is required when the value of the parameter payment_type is Subscription.

    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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    resource_group_id str
    The ID of the resource group
    router_interface_name str
    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.
    tags Mapping[str, str]

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    oppositeRegionId String
    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.
    routerId String
    The ID of the router where the route entry is located.
    routerType 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.

    accessPointId String
    Access point ID
    autoPay Boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew Boolean
    Whether to enable automatic renewal. Value:
    deleteHealthCheckIp Boolean
    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.
    fastLinkMode Boolean
    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:
    hcRate 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.
    hcThreshold String
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp String
    Health check source IP address
    healthCheckTargetIp String
    Health check destination IP address
    oppositeAccessPointId String
    Peer access point ID
    oppositeInterfaceId String
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId String
    Account ID of the peer router interface
    oppositeRouterId String
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType String
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle String

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    resourceGroupId String
    The ID of the resource group
    routerInterfaceName String
    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.
    tags 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
    BusinessStatus string
    The service status of the router interface.
    ConnectedTime string
    Time the connection was established
    CreateTime string
    The creation time of the resource
    CrossBorder bool
    CrossBorder
    EndTime string
    End Time of Prepaid
    HasReservationData string
    Whether there is renewal data
    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeBandwidth int
    opposite bandwidth
    OppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    OppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    OppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    OppositeVpcInstanceId string
    The peer VPC ID
    ReservationActiveTime string
    ReservationActiveTime
    ReservationBandwidth string
    Renew Bandwidth
    ReservationInternetChargeType string
    Payment Type for Renewal
    ReservationOrderType string
    Renewal Order Type
    RouterInterfaceId string
    The first ID of the resource
    VpcInstanceId string
    ID of the local VPC in the peering connection
    Bandwidth int
    The bandwidth of the router interface
    BusinessStatus string
    The service status of the router interface.
    ConnectedTime string
    Time the connection was established
    CreateTime string
    The creation time of the resource
    CrossBorder bool
    CrossBorder
    EndTime string
    End Time of Prepaid
    HasReservationData string
    Whether there is renewal data
    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeBandwidth int
    opposite bandwidth
    OppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    OppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    OppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    OppositeVpcInstanceId string
    The peer VPC ID
    ReservationActiveTime string
    ReservationActiveTime
    ReservationBandwidth string
    Renew Bandwidth
    ReservationInternetChargeType string
    Payment Type for Renewal
    ReservationOrderType string
    Renewal Order Type
    RouterInterfaceId string
    The first ID of the resource
    VpcInstanceId string
    ID of the local VPC in the peering connection
    bandwidth Integer
    The bandwidth of the router interface
    businessStatus String
    The service status of the router interface.
    connectedTime String
    Time the connection was established
    createTime String
    The creation time of the resource
    crossBorder Boolean
    CrossBorder
    endTime String
    End Time of Prepaid
    hasReservationData String
    Whether there is renewal data
    id String
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth Integer
    opposite bandwidth
    oppositeInterfaceBusinessStatus String
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceSpec String
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus String
    The status of the router interface on the peer of the connection.
    oppositeVpcInstanceId String
    The peer VPC ID
    reservationActiveTime String
    ReservationActiveTime
    reservationBandwidth String
    Renew Bandwidth
    reservationInternetChargeType String
    Payment Type for Renewal
    reservationOrderType String
    Renewal Order Type
    routerInterfaceId String
    The first ID of the resource
    vpcInstanceId String
    ID of the local VPC in the peering connection
    bandwidth number
    The bandwidth of the router interface
    businessStatus string
    The service status of the router interface.
    connectedTime string
    Time the connection was established
    createTime string
    The creation time of the resource
    crossBorder boolean
    CrossBorder
    endTime string
    End Time of Prepaid
    hasReservationData string
    Whether there is renewal data
    id string
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth number
    opposite bandwidth
    oppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    oppositeVpcInstanceId string
    The peer VPC ID
    reservationActiveTime string
    ReservationActiveTime
    reservationBandwidth string
    Renew Bandwidth
    reservationInternetChargeType string
    Payment Type for Renewal
    reservationOrderType string
    Renewal Order Type
    routerInterfaceId string
    The first ID of the resource
    vpcInstanceId string
    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_data str
    Whether there is renewal data
    id str
    The provider-assigned unique ID for this managed resource.
    opposite_bandwidth int
    opposite bandwidth
    opposite_interface_business_status str
    The service status of the router interface on the opposite end of the connection.
    opposite_interface_spec str
    Specifications of the interface of the peer router.
    opposite_interface_status str
    The status of the router interface on the peer of the connection.
    opposite_vpc_instance_id str
    The peer VPC ID
    reservation_active_time str
    ReservationActiveTime
    reservation_bandwidth str
    Renew Bandwidth
    reservation_internet_charge_type str
    Payment Type for Renewal
    reservation_order_type str
    Renewal Order Type
    router_interface_id str
    The first ID of the resource
    vpc_instance_id str
    ID of the local VPC in the peering connection
    bandwidth Number
    The bandwidth of the router interface
    businessStatus String
    The service status of the router interface.
    connectedTime String
    Time the connection was established
    createTime String
    The creation time of the resource
    crossBorder Boolean
    CrossBorder
    endTime String
    End Time of Prepaid
    hasReservationData String
    Whether there is renewal data
    id String
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth Number
    opposite bandwidth
    oppositeInterfaceBusinessStatus String
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceSpec String
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus String
    The status of the router interface on the peer of the connection.
    oppositeVpcInstanceId String
    The peer VPC ID
    reservationActiveTime String
    ReservationActiveTime
    reservationBandwidth String
    Renew Bandwidth
    reservationInternetChargeType String
    Payment Type for Renewal
    reservationOrderType String
    Renewal Order Type
    routerInterfaceId String
    The first ID of the resource
    vpcInstanceId String
    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) -> RouterInterface
    func 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.
    The following state arguments are supported:
    AccessPointId string
    Access point ID
    AutoPay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    AutoRenew bool
    Whether to enable automatic renewal. Value:
    Bandwidth int
    The bandwidth of the router interface
    BusinessStatus string
    The service status of the router interface.
    ConnectedTime string
    Time the connection was established
    CreateTime string
    The creation time of the resource
    CrossBorder bool
    CrossBorder
    DeleteHealthCheckIp bool
    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.
    EndTime string
    End Time of Prepaid
    FastLinkMode bool
    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:
    HasReservationData string
    Whether there is renewal data
    HcRate 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.
    HcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    HealthCheckSourceIp string
    Health check source IP address
    HealthCheckTargetIp string
    Health check destination IP address
    OppositeAccessPointId string
    Peer access point ID
    OppositeBandwidth int
    opposite bandwidth
    OppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    OppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    OppositeInterfaceOwnerId string
    Account ID of the peer router interface
    OppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    OppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    OppositeRegionId string
    Region of the connection peer
    OppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    OppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    OppositeVpcInstanceId string
    The peer VPC ID
    PaymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    PricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ReservationActiveTime string
    ReservationActiveTime
    ReservationBandwidth string
    Renew Bandwidth
    ReservationInternetChargeType string
    Payment Type for Renewal
    ReservationOrderType string
    Renewal Order Type
    ResourceGroupId string
    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.
    RouterId string
    The ID of the router where the route entry is located.
    RouterInterfaceId string
    The first ID of the resource
    RouterInterfaceName string
    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.
    RouterType 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.
    Tags Dictionary<string, string>

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    VpcInstanceId string
    ID of the local VPC in the peering connection
    AccessPointId string
    Access point ID
    AutoPay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    AutoRenew bool
    Whether to enable automatic renewal. Value:
    Bandwidth int
    The bandwidth of the router interface
    BusinessStatus string
    The service status of the router interface.
    ConnectedTime string
    Time the connection was established
    CreateTime string
    The creation time of the resource
    CrossBorder bool
    CrossBorder
    DeleteHealthCheckIp bool
    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.
    EndTime string
    End Time of Prepaid
    FastLinkMode bool
    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:
    HasReservationData string
    Whether there is renewal data
    HcRate 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.
    HcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    HealthCheckSourceIp string
    Health check source IP address
    HealthCheckTargetIp string
    Health check destination IP address
    OppositeAccessPointId string
    Peer access point ID
    OppositeBandwidth int
    opposite bandwidth
    OppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    OppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    OppositeInterfaceOwnerId string
    Account ID of the peer router interface
    OppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    OppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    OppositeRegionId string
    Region of the connection peer
    OppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    OppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    OppositeVpcInstanceId string
    The peer VPC ID
    PaymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    PricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    ReservationActiveTime string
    ReservationActiveTime
    ReservationBandwidth string
    Renew Bandwidth
    ReservationInternetChargeType string
    Payment Type for Renewal
    ReservationOrderType string
    Renewal Order Type
    ResourceGroupId string
    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.
    RouterId string
    The ID of the router where the route entry is located.
    RouterInterfaceId string
    The first ID of the resource
    RouterInterfaceName string
    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.
    RouterType 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.
    Tags map[string]string

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    VpcInstanceId string
    ID of the local VPC in the peering connection
    accessPointId String
    Access point ID
    autoPay Boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew Boolean
    Whether to enable automatic renewal. Value:
    bandwidth Integer
    The bandwidth of the router interface
    businessStatus String
    The service status of the router interface.
    connectedTime String
    Time the connection was established
    createTime String
    The creation time of the resource
    crossBorder Boolean
    CrossBorder
    deleteHealthCheckIp Boolean
    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.
    endTime String
    End Time of Prepaid
    fastLinkMode Boolean
    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:
    hasReservationData String
    Whether there is renewal data
    hcRate 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.
    hcThreshold String
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp String
    Health check source IP address
    healthCheckTargetIp String
    Health check destination IP address
    oppositeAccessPointId String
    Peer access point ID
    oppositeBandwidth Integer
    opposite bandwidth
    oppositeInterfaceBusinessStatus String
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceId String
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId String
    Account ID of the peer router interface
    oppositeInterfaceSpec String
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus String
    The status of the router interface on the peer of the connection.
    oppositeRegionId String
    Region of the connection peer
    oppositeRouterId String
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType String
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    oppositeVpcInstanceId String
    The peer VPC ID
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle String

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    reservationActiveTime String
    ReservationActiveTime
    reservationBandwidth String
    Renew Bandwidth
    reservationInternetChargeType String
    Payment Type for Renewal
    reservationOrderType String
    Renewal Order Type
    resourceGroupId String
    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.
    routerId String
    The ID of the router where the route entry is located.
    routerInterfaceId String
    The first ID of the resource
    routerInterfaceName String
    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.
    routerType 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.
    tags Map<String,String>

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    vpcInstanceId String
    ID of the local VPC in the peering connection
    accessPointId string
    Access point ID
    autoPay boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew boolean
    Whether to enable automatic renewal. Value:
    bandwidth number
    The bandwidth of the router interface
    businessStatus string
    The service status of the router interface.
    connectedTime string
    Time the connection was established
    createTime string
    The creation time of the resource
    crossBorder boolean
    CrossBorder
    deleteHealthCheckIp boolean
    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.
    endTime string
    End Time of Prepaid
    fastLinkMode boolean
    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:
    hasReservationData string
    Whether there is renewal data
    hcRate 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.
    hcThreshold string
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp string
    Health check source IP address
    healthCheckTargetIp string
    Health check destination IP address
    oppositeAccessPointId string
    Peer access point ID
    oppositeBandwidth number
    opposite bandwidth
    oppositeInterfaceBusinessStatus string
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceId string
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId string
    Account ID of the peer router interface
    oppositeInterfaceSpec string
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus string
    The status of the router interface on the peer of the connection.
    oppositeRegionId string
    Region of the connection peer
    oppositeRouterId string
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType string
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    oppositeVpcInstanceId string
    The peer VPC ID
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle string

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    reservationActiveTime string
    ReservationActiveTime
    reservationBandwidth string
    Renew Bandwidth
    reservationInternetChargeType string
    Payment Type for Renewal
    reservationOrderType string
    Renewal Order Type
    resourceGroupId string
    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.
    routerId string
    The ID of the router where the route entry is located.
    routerInterfaceId string
    The first ID of the resource
    routerInterfaceName string
    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.
    routerType 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.
    tags {[key: string]: string}

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    vpcInstanceId string
    ID of the local VPC in the peering connection
    access_point_id str
    Access point ID
    auto_pay bool
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since 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_check_ip bool
    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_mode bool
    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_data str
    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_source_ip str
    Health check source IP address
    health_check_target_ip str
    Health check destination IP address
    opposite_access_point_id str
    Peer access point ID
    opposite_bandwidth int
    opposite bandwidth
    opposite_interface_business_status str
    The service status of the router interface on the opposite end of the connection.
    opposite_interface_id str
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    opposite_interface_owner_id str
    Account ID of the peer router interface
    opposite_interface_spec str
    Specifications of the interface of the peer router.
    opposite_interface_status str
    The status of the router interface on the peer of the connection.
    opposite_region_id str
    Region of the connection peer
    opposite_router_id str
    The ID of the router to which the opposite router interface belongs.
    opposite_router_type str
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    opposite_vpc_instance_id str
    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: period is required when the value of the parameter payment_type is Subscription.

    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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    reservation_active_time str
    ReservationActiveTime
    reservation_bandwidth str
    Renew Bandwidth
    reservation_internet_charge_type str
    Payment Type for Renewal
    reservation_order_type str
    Renewal Order Type
    resource_group_id str
    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_id str
    The first ID of the resource
    router_interface_name str
    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.
    tags Mapping[str, str]

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    vpc_instance_id str
    ID of the local VPC in the peering connection
    accessPointId String
    Access point ID
    autoPay Boolean
    . Field 'name' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'auto_pay' has been deprecated since provider version 1.263.0.

    autoRenew Boolean
    Whether to enable automatic renewal. Value:
    bandwidth Number
    The bandwidth of the router interface
    businessStatus String
    The service status of the router interface.
    connectedTime String
    Time the connection was established
    createTime String
    The creation time of the resource
    crossBorder Boolean
    CrossBorder
    deleteHealthCheckIp Boolean
    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.
    endTime String
    End Time of Prepaid
    fastLinkMode Boolean
    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:
    hasReservationData String
    Whether there is renewal data
    hcRate 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.
    hcThreshold String
    Health check threshold. Unit: One. The recommend value is 8. Indicates the number of detection packets sent during the specified health check.
    healthCheckSourceIp String
    Health check source IP address
    healthCheckTargetIp String
    Health check destination IP address
    oppositeAccessPointId String
    Peer access point ID
    oppositeBandwidth Number
    opposite bandwidth
    oppositeInterfaceBusinessStatus String
    The service status of the router interface on the opposite end of the connection.
    oppositeInterfaceId String
    . Field 'router_table_id' has been deprecated from provider version 1.263.0.

    Deprecated: Field 'opposite_interface_id' has been deprecated since provider version 1.263.0.

    oppositeInterfaceOwnerId String
    Account ID of the peer router interface
    oppositeInterfaceSpec String
    Specifications of the interface of the peer router.
    oppositeInterfaceStatus String
    The status of the router interface on the peer of the connection.
    oppositeRegionId String
    Region of the connection peer
    oppositeRouterId String
    The ID of the router to which the opposite router interface belongs.
    oppositeRouterType String
    The router type associated with the peer router interface. Valid values:

    • VRouter: VPC router.
    • VBR: Virtual Border Router.
    oppositeVpcInstanceId String
    The peer VPC ID
    paymentType 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: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    pricingCycle String

    The billing cycle of the prepaid fee. Valid values:

    • Month (default): monthly payment.
    • Year: Pay per Year.

    NOTE: period is required when the value of the parameter payment_type is Subscription.

    NOTE: The parameter is immutable after resource creation. It only applies during resource creation and has no effect when modified post-creation.

    reservationActiveTime String
    ReservationActiveTime
    reservationBandwidth String
    Renew Bandwidth
    reservationInternetChargeType String
    Payment Type for Renewal
    reservationOrderType String
    Renewal Order Type
    resourceGroupId String
    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.
    routerId String
    The ID of the router where the route entry is located.
    routerInterfaceId String
    The first ID of the resource
    routerInterfaceName String
    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.
    routerType 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.
    tags Map<String>

    The tag of the resource

    The following arguments will be discarded. Please use new fields as soon as possible:

    vpcInstanceId String
    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 alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.90.0 published on Tuesday, Dec 2, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate