1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. expressconnect
  5. RouterInterface
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 by Pulumi

alicloud.expressconnect.RouterInterface

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.53.0 published on Wednesday, Apr 17, 2024 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") || "tf_example";
    const defaultNetwork = new alicloud.vpc.Network("defaultNetwork", {
        vpcName: name,
        cidrBlock: "172.16.0.0/12",
    });
    const defaultRegions = alicloud.getRegions({
        current: true,
    });
    const defaultRouterInterface = new alicloud.expressconnect.RouterInterface("defaultRouterInterface", {
        description: name,
        oppositeRegionId: defaultRegions.then(defaultRegions => defaultRegions.regions?.[0]?.id),
        routerId: defaultNetwork.routerId,
        role: "InitiatingSide",
        routerType: "VRouter",
        paymentType: "PayAsYouGo",
        routerInterfaceName: name,
        spec: "Mini.2",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf_example"
    default_network = alicloud.vpc.Network("defaultNetwork",
        vpc_name=name,
        cidr_block="172.16.0.0/12")
    default_regions = alicloud.get_regions(current=True)
    default_router_interface = alicloud.expressconnect.RouterInterface("defaultRouterInterface",
        description=name,
        opposite_region_id=default_regions.regions[0].id,
        router_id=default_network.router_id,
        role="InitiatingSide",
        router_type="VRouter",
        payment_type="PayAsYouGo",
        router_interface_name=name,
        spec="Mini.2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
    	"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 := "tf_example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "defaultNetwork", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(name),
    			CidrBlock: pulumi.String("172.16.0.0/12"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
    			Current: pulumi.BoolRef(true),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = expressconnect.NewRouterInterface(ctx, "defaultRouterInterface", &expressconnect.RouterInterfaceArgs{
    			Description:         pulumi.String(name),
    			OppositeRegionId:    pulumi.String(defaultRegions.Regions[0].Id),
    			RouterId:            defaultNetwork.RouterId,
    			Role:                pulumi.String("InitiatingSide"),
    			RouterType:          pulumi.String("VRouter"),
    			PaymentType:         pulumi.String("PayAsYouGo"),
    			RouterInterfaceName: pulumi.String(name),
    			Spec:                pulumi.String("Mini.2"),
    		})
    		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") ?? "tf_example";
        var defaultNetwork = new AliCloud.Vpc.Network("defaultNetwork", new()
        {
            VpcName = name,
            CidrBlock = "172.16.0.0/12",
        });
    
        var defaultRegions = AliCloud.GetRegions.Invoke(new()
        {
            Current = true,
        });
    
        var defaultRouterInterface = new AliCloud.ExpressConnect.RouterInterface("defaultRouterInterface", new()
        {
            Description = name,
            OppositeRegionId = defaultRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id),
            RouterId = defaultNetwork.RouterId,
            Role = "InitiatingSide",
            RouterType = "VRouter",
            PaymentType = "PayAsYouGo",
            RouterInterfaceName = name,
            Spec = "Mini.2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetRegionsArgs;
    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("tf_example");
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()        
                .vpcName(name)
                .cidrBlock("172.16.0.0/12")
                .build());
    
            final var defaultRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
                .current(true)
                .build());
    
            var defaultRouterInterface = new RouterInterface("defaultRouterInterface", RouterInterfaceArgs.builder()        
                .description(name)
                .oppositeRegionId(defaultRegions.applyValue(getRegionsResult -> getRegionsResult.regions()[0].id()))
                .routerId(defaultNetwork.routerId())
                .role("InitiatingSide")
                .routerType("VRouter")
                .paymentType("PayAsYouGo")
                .routerInterfaceName(name)
                .spec("Mini.2")
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf_example
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        properties:
          vpcName: ${name}
          cidrBlock: 172.16.0.0/12
      defaultRouterInterface:
        type: alicloud:expressconnect:RouterInterface
        properties:
          description: ${name}
          oppositeRegionId: ${defaultRegions.regions[0].id}
          routerId: ${defaultNetwork.routerId}
          role: InitiatingSide
          routerType: VRouter
          paymentType: PayAsYouGo
          routerInterfaceName: ${name}
          spec: Mini.2
    variables:
      defaultRegions:
        fn::invoke:
          Function: alicloud:getRegions
          Arguments:
            current: true
    

    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,
                        health_check_source_ip: Optional[str] = None,
                        payment_type: Optional[str] = None,
                        health_check_target_ip: Optional[str] = None,
                        opposite_access_point_id: Optional[str] = None,
                        opposite_interface_id: Optional[str] = None,
                        opposite_interface_owner_id: Optional[str] = None,
                        hc_threshold: Optional[str] = None,
                        opposite_router_id: Optional[str] = None,
                        opposite_router_type: Optional[str] = None,
                        access_point_id: Optional[str] = None,
                        period: Optional[int] = None,
                        pricing_cycle: Optional[str] = None,
                        hc_rate: Optional[int] = None,
                        description: Optional[str] = None,
                        router_interface_id: Optional[str] = None,
                        router_interface_name: Optional[str] = None,
                        delete_health_check_ip: Optional[bool] = None,
                        auto_pay: Optional[bool] = None,
                        status: Optional[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.

    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",
        HealthCheckSourceIp = "string",
        PaymentType = "string",
        HealthCheckTargetIp = "string",
        OppositeAccessPointId = "string",
        OppositeInterfaceId = "string",
        OppositeInterfaceOwnerId = "string",
        HcThreshold = "string",
        OppositeRouterId = "string",
        OppositeRouterType = "string",
        AccessPointId = "string",
        Period = 0,
        PricingCycle = "string",
        HcRate = 0,
        Description = "string",
        RouterInterfaceId = "string",
        RouterInterfaceName = "string",
        DeleteHealthCheckIp = false,
        AutoPay = false,
        Status = "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"),
    	HealthCheckSourceIp:      pulumi.String("string"),
    	PaymentType:              pulumi.String("string"),
    	HealthCheckTargetIp:      pulumi.String("string"),
    	OppositeAccessPointId:    pulumi.String("string"),
    	OppositeInterfaceId:      pulumi.String("string"),
    	OppositeInterfaceOwnerId: pulumi.String("string"),
    	HcThreshold:              pulumi.String("string"),
    	OppositeRouterId:         pulumi.String("string"),
    	OppositeRouterType:       pulumi.String("string"),
    	AccessPointId:            pulumi.String("string"),
    	Period:                   pulumi.Int(0),
    	PricingCycle:             pulumi.String("string"),
    	HcRate:                   pulumi.Int(0),
    	Description:              pulumi.String("string"),
    	RouterInterfaceId:        pulumi.String("string"),
    	RouterInterfaceName:      pulumi.String("string"),
    	DeleteHealthCheckIp:      pulumi.Bool(false),
    	AutoPay:                  pulumi.Bool(false),
    	Status:                   pulumi.String("string"),
    })
    
    var routerInterfaceResource = new RouterInterface("routerInterfaceResource", RouterInterfaceArgs.builder()        
        .oppositeRegionId("string")
        .spec("string")
        .routerType("string")
        .routerId("string")
        .role("string")
        .healthCheckSourceIp("string")
        .paymentType("string")
        .healthCheckTargetIp("string")
        .oppositeAccessPointId("string")
        .oppositeInterfaceId("string")
        .oppositeInterfaceOwnerId("string")
        .hcThreshold("string")
        .oppositeRouterId("string")
        .oppositeRouterType("string")
        .accessPointId("string")
        .period(0)
        .pricingCycle("string")
        .hcRate(0)
        .description("string")
        .routerInterfaceId("string")
        .routerInterfaceName("string")
        .deleteHealthCheckIp(false)
        .autoPay(false)
        .status("string")
        .build());
    
    router_interface_resource = alicloud.expressconnect.RouterInterface("routerInterfaceResource",
        opposite_region_id="string",
        spec="string",
        router_type="string",
        router_id="string",
        role="string",
        health_check_source_ip="string",
        payment_type="string",
        health_check_target_ip="string",
        opposite_access_point_id="string",
        opposite_interface_id="string",
        opposite_interface_owner_id="string",
        hc_threshold="string",
        opposite_router_id="string",
        opposite_router_type="string",
        access_point_id="string",
        period=0,
        pricing_cycle="string",
        hc_rate=0,
        description="string",
        router_interface_id="string",
        router_interface_name="string",
        delete_health_check_ip=False,
        auto_pay=False,
        status="string")
    
    const routerInterfaceResource = new alicloud.expressconnect.RouterInterface("routerInterfaceResource", {
        oppositeRegionId: "string",
        spec: "string",
        routerType: "string",
        routerId: "string",
        role: "string",
        healthCheckSourceIp: "string",
        paymentType: "string",
        healthCheckTargetIp: "string",
        oppositeAccessPointId: "string",
        oppositeInterfaceId: "string",
        oppositeInterfaceOwnerId: "string",
        hcThreshold: "string",
        oppositeRouterId: "string",
        oppositeRouterType: "string",
        accessPointId: "string",
        period: 0,
        pricingCycle: "string",
        hcRate: 0,
        description: "string",
        routerInterfaceId: "string",
        routerInterfaceName: "string",
        deleteHealthCheckIp: false,
        autoPay: false,
        status: "string",
    });
    
    type: alicloud:expressconnect:RouterInterface
    properties:
        accessPointId: string
        autoPay: false
        deleteHealthCheckIp: false
        description: string
        hcRate: 0
        hcThreshold: string
        healthCheckSourceIp: string
        healthCheckTargetIp: string
        oppositeAccessPointId: string
        oppositeInterfaceId: string
        oppositeInterfaceOwnerId: string
        oppositeRegionId: string
        oppositeRouterId: string
        oppositeRouterType: string
        paymentType: string
        period: 0
        pricingCycle: string
        role: string
        routerId: string
        routerInterfaceId: string
        routerInterfaceName: string
        routerType: string
        spec: string
        status: 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

    The RouterInterface resource accepts the following input properties:

    OppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    Role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    RouterId string
    The router id associated with the router interface.
    RouterType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    Spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    AccessPointId string
    The access point ID to which the VBR belongs.
    AutoPay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    DeleteHealthCheckIp bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    Description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    HcRate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    HcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    HealthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    HealthCheckTargetIp string
    The IP address for health screening purposes.
    OppositeAccessPointId string
    The Access point ID to which the other end belongs.
    OppositeInterfaceId string
    The Interface ID of the router at the other end.
    OppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    OppositeRouterId string
    The id of the router at the other end.
    OppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    PaymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    PricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    RouterInterfaceId string
    The first ID of the resource.
    RouterInterfaceName string
    The name of the resource.
    Status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    OppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    Role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    RouterId string
    The router id associated with the router interface.
    RouterType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    Spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    AccessPointId string
    The access point ID to which the VBR belongs.
    AutoPay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    DeleteHealthCheckIp bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    Description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    HcRate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    HcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    HealthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    HealthCheckTargetIp string
    The IP address for health screening purposes.
    OppositeAccessPointId string
    The Access point ID to which the other end belongs.
    OppositeInterfaceId string
    The Interface ID of the router at the other end.
    OppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    OppositeRouterId string
    The id of the router at the other end.
    OppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    PaymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    PricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    RouterInterfaceId string
    The first ID of the resource.
    RouterInterfaceName string
    The name of the resource.
    Status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId String
    The geographical ID of the location of the receiving end of the connection.
    role String
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId String
    The router id associated with the router interface.
    routerType String
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec String
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    accessPointId String
    The access point ID to which the VBR belongs.
    autoPay Boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    deleteHealthCheckIp Boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description String
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    hcRate Integer
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold String
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp String
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp String
    The IP address for health screening purposes.
    oppositeAccessPointId String
    The Access point ID to which the other end belongs.
    oppositeInterfaceId String
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId String
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeRouterId String
    The id of the router at the other end.
    oppositeRouterType String
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    paymentType String
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle String
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    routerInterfaceId String
    The first ID of the resource.
    routerInterfaceName String
    The name of the resource.
    status String
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId string
    The router id associated with the router interface.
    routerType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    accessPointId string
    The access point ID to which the VBR belongs.
    autoPay boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    deleteHealthCheckIp boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    hcRate number
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp string
    The IP address for health screening purposes.
    oppositeAccessPointId string
    The Access point ID to which the other end belongs.
    oppositeInterfaceId string
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeRouterId string
    The id of the router at the other end.
    oppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    paymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    routerInterfaceId string
    The first ID of the resource.
    routerInterfaceName string
    The name of the resource.
    status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    opposite_region_id str
    The geographical ID of the location of the receiving end of the connection.
    role str
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    router_id str
    The router id associated with the router interface.
    router_type str
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec str
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    access_point_id str
    The access point ID to which the VBR belongs.
    auto_pay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    delete_health_check_ip bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description str
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    hc_rate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hc_threshold str
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    health_check_source_ip str
    The health check source IP address, must be an unused IP within the local VPC.
    health_check_target_ip str
    The IP address for health screening purposes.
    opposite_access_point_id str
    The Access point ID to which the other end belongs.
    opposite_interface_id str
    The Interface ID of the router at the other end.
    opposite_interface_owner_id str
    The AliCloud account ID of the owner of the router interface on the other end.
    opposite_router_id str
    The id of the router at the other end.
    opposite_router_type str
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    payment_type str
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricing_cycle str
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    router_interface_id str
    The first ID of the resource.
    router_interface_name str
    The name of the resource.
    status str
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId String
    The geographical ID of the location of the receiving end of the connection.
    role String
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId String
    The router id associated with the router interface.
    routerType String
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec String
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    accessPointId String
    The access point ID to which the VBR belongs.
    autoPay Boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    deleteHealthCheckIp Boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description String
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    hcRate Number
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold String
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp String
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp String
    The IP address for health screening purposes.
    oppositeAccessPointId String
    The Access point ID to which the other end belongs.
    oppositeInterfaceId String
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId String
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeRouterId String
    The id of the router at the other end.
    oppositeRouterType String
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    paymentType String
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle String
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    routerInterfaceId String
    The first ID of the resource.
    routerInterfaceName String
    The name of the resource.
    status String
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.

    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 resource.
    BusinessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    ConnectedTime string
    The connected time of the resource.
    CreateTime string
    The creation time of the resource.
    CrossBorder bool
    The cross border of the resource.
    EndTime string
    The end time of the resource.
    HasReservationData string
    The has reservation data of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeBandwidth int
    The opposite bandwidth of the router on the other side.
    OppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    OppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    OppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    OppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    ReservationActiveTime string
    The reservation active time of the resource.
    ReservationBandwidth string
    The reservation bandwidth of the resource.
    ReservationInternetChargeType string
    The reservation internet charge type of the resource.
    ReservationOrderType string
    The reservation order type of the resource.
    VpcInstanceId string
    The vpc instance id of the resource.
    Bandwidth int
    The bandwidth of the resource.
    BusinessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    ConnectedTime string
    The connected time of the resource.
    CreateTime string
    The creation time of the resource.
    CrossBorder bool
    The cross border of the resource.
    EndTime string
    The end time of the resource.
    HasReservationData string
    The has reservation data of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeBandwidth int
    The opposite bandwidth of the router on the other side.
    OppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    OppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    OppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    OppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    ReservationActiveTime string
    The reservation active time of the resource.
    ReservationBandwidth string
    The reservation bandwidth of the resource.
    ReservationInternetChargeType string
    The reservation internet charge type of the resource.
    ReservationOrderType string
    The reservation order type of the resource.
    VpcInstanceId string
    The vpc instance id of the resource.
    bandwidth Integer
    The bandwidth of the resource.
    businessStatus String
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime String
    The connected time of the resource.
    createTime String
    The creation time of the resource.
    crossBorder Boolean
    The cross border of the resource.
    endTime String
    The end time of the resource.
    hasReservationData String
    The has reservation data of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth Integer
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus String
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceSpec String
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus String
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeVpcInstanceId String
    The opposite vpc instance id of the router on the other side.
    reservationActiveTime String
    The reservation active time of the resource.
    reservationBandwidth String
    The reservation bandwidth of the resource.
    reservationInternetChargeType String
    The reservation internet charge type of the resource.
    reservationOrderType String
    The reservation order type of the resource.
    vpcInstanceId String
    The vpc instance id of the resource.
    bandwidth number
    The bandwidth of the resource.
    businessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime string
    The connected time of the resource.
    createTime string
    The creation time of the resource.
    crossBorder boolean
    The cross border of the resource.
    endTime string
    The end time of the resource.
    hasReservationData string
    The has reservation data of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth number
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    reservationActiveTime string
    The reservation active time of the resource.
    reservationBandwidth string
    The reservation bandwidth of the resource.
    reservationInternetChargeType string
    The reservation internet charge type of the resource.
    reservationOrderType string
    The reservation order type of the resource.
    vpcInstanceId string
    The vpc instance id of the resource.
    bandwidth int
    The bandwidth of the resource.
    business_status str
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connected_time str
    The connected time of the resource.
    create_time str
    The creation time of the resource.
    cross_border bool
    The cross border of the resource.
    end_time str
    The end time of the resource.
    has_reservation_data str
    The has reservation data of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    opposite_bandwidth int
    The opposite bandwidth of the router on the other side.
    opposite_interface_business_status str
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    opposite_interface_spec str
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    opposite_interface_status str
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    opposite_vpc_instance_id str
    The opposite vpc instance id of the router on the other side.
    reservation_active_time str
    The reservation active time of the resource.
    reservation_bandwidth str
    The reservation bandwidth of the resource.
    reservation_internet_charge_type str
    The reservation internet charge type of the resource.
    reservation_order_type str
    The reservation order type of the resource.
    vpc_instance_id str
    The vpc instance id of the resource.
    bandwidth Number
    The bandwidth of the resource.
    businessStatus String
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime String
    The connected time of the resource.
    createTime String
    The creation time of the resource.
    crossBorder Boolean
    The cross border of the resource.
    endTime String
    The end time of the resource.
    hasReservationData String
    The has reservation data of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    oppositeBandwidth Number
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus String
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceSpec String
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus String
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeVpcInstanceId String
    The opposite vpc instance id of the router on the other side.
    reservationActiveTime String
    The reservation active time of the resource.
    reservationBandwidth String
    The reservation bandwidth of the resource.
    reservationInternetChargeType String
    The reservation internet charge type of the resource.
    reservationOrderType String
    The reservation order type of the resource.
    vpcInstanceId String
    The vpc instance id of the resource.

    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,
            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,
            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,
            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,
            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)
    Resource lookup is not supported in YAML
    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
    The access point ID to which the VBR belongs.
    AutoPay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    Bandwidth int
    The bandwidth of the resource.
    BusinessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    ConnectedTime string
    The connected time of the resource.
    CreateTime string
    The creation time of the resource.
    CrossBorder bool
    The cross border of the resource.
    DeleteHealthCheckIp bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    Description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    EndTime string
    The end time of the resource.
    HasReservationData string
    The has reservation data of the resource.
    HcRate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    HcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    HealthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    HealthCheckTargetIp string
    The IP address for health screening purposes.
    OppositeAccessPointId string
    The Access point ID to which the other end belongs.
    OppositeBandwidth int
    The opposite bandwidth of the router on the other side.
    OppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    OppositeInterfaceId string
    The Interface ID of the router at the other end.
    OppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    OppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    OppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    OppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    OppositeRouterId string
    The id of the router at the other end.
    OppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    OppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    PaymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    PricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    ReservationActiveTime string
    The reservation active time of the resource.
    ReservationBandwidth string
    The reservation bandwidth of the resource.
    ReservationInternetChargeType string
    The reservation internet charge type of the resource.
    ReservationOrderType string
    The reservation order type of the resource.
    Role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    RouterId string
    The router id associated with the router interface.
    RouterInterfaceId string
    The first ID of the resource.
    RouterInterfaceName string
    The name of the resource.
    RouterType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    Spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    Status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    VpcInstanceId string
    The vpc instance id of the resource.
    AccessPointId string
    The access point ID to which the VBR belongs.
    AutoPay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    Bandwidth int
    The bandwidth of the resource.
    BusinessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    ConnectedTime string
    The connected time of the resource.
    CreateTime string
    The creation time of the resource.
    CrossBorder bool
    The cross border of the resource.
    DeleteHealthCheckIp bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    Description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    EndTime string
    The end time of the resource.
    HasReservationData string
    The has reservation data of the resource.
    HcRate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    HcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    HealthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    HealthCheckTargetIp string
    The IP address for health screening purposes.
    OppositeAccessPointId string
    The Access point ID to which the other end belongs.
    OppositeBandwidth int
    The opposite bandwidth of the router on the other side.
    OppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    OppositeInterfaceId string
    The Interface ID of the router at the other end.
    OppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    OppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    OppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    OppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    OppositeRouterId string
    The id of the router at the other end.
    OppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    OppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    PaymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    PricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    ReservationActiveTime string
    The reservation active time of the resource.
    ReservationBandwidth string
    The reservation bandwidth of the resource.
    ReservationInternetChargeType string
    The reservation internet charge type of the resource.
    ReservationOrderType string
    The reservation order type of the resource.
    Role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    RouterId string
    The router id associated with the router interface.
    RouterInterfaceId string
    The first ID of the resource.
    RouterInterfaceName string
    The name of the resource.
    RouterType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    Spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    Status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    VpcInstanceId string
    The vpc instance id of the resource.
    accessPointId String
    The access point ID to which the VBR belongs.
    autoPay Boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    bandwidth Integer
    The bandwidth of the resource.
    businessStatus String
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime String
    The connected time of the resource.
    createTime String
    The creation time of the resource.
    crossBorder Boolean
    The cross border of the resource.
    deleteHealthCheckIp Boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description String
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    endTime String
    The end time of the resource.
    hasReservationData String
    The has reservation data of the resource.
    hcRate Integer
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold String
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp String
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp String
    The IP address for health screening purposes.
    oppositeAccessPointId String
    The Access point ID to which the other end belongs.
    oppositeBandwidth Integer
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus String
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceId String
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId String
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeInterfaceSpec String
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus String
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId String
    The geographical ID of the location of the receiving end of the connection.
    oppositeRouterId String
    The id of the router at the other end.
    oppositeRouterType String
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    oppositeVpcInstanceId String
    The opposite vpc instance id of the router on the other side.
    paymentType String
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle String
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    reservationActiveTime String
    The reservation active time of the resource.
    reservationBandwidth String
    The reservation bandwidth of the resource.
    reservationInternetChargeType String
    The reservation internet charge type of the resource.
    reservationOrderType String
    The reservation order type of the resource.
    role String
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId String
    The router id associated with the router interface.
    routerInterfaceId String
    The first ID of the resource.
    routerInterfaceName String
    The name of the resource.
    routerType String
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec String
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    status String
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    vpcInstanceId String
    The vpc instance id of the resource.
    accessPointId string
    The access point ID to which the VBR belongs.
    autoPay boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    bandwidth number
    The bandwidth of the resource.
    businessStatus string
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime string
    The connected time of the resource.
    createTime string
    The creation time of the resource.
    crossBorder boolean
    The cross border of the resource.
    deleteHealthCheckIp boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description string
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    endTime string
    The end time of the resource.
    hasReservationData string
    The has reservation data of the resource.
    hcRate number
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold string
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp string
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp string
    The IP address for health screening purposes.
    oppositeAccessPointId string
    The Access point ID to which the other end belongs.
    oppositeBandwidth number
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus string
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceId string
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId string
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeInterfaceSpec string
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus string
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId string
    The geographical ID of the location of the receiving end of the connection.
    oppositeRouterId string
    The id of the router at the other end.
    oppositeRouterType string
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    oppositeVpcInstanceId string
    The opposite vpc instance id of the router on the other side.
    paymentType string
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle string
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    reservationActiveTime string
    The reservation active time of the resource.
    reservationBandwidth string
    The reservation bandwidth of the resource.
    reservationInternetChargeType string
    The reservation internet charge type of the resource.
    reservationOrderType string
    The reservation order type of the resource.
    role string
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId string
    The router id associated with the router interface.
    routerInterfaceId string
    The first ID of the resource.
    routerInterfaceName string
    The name of the resource.
    routerType string
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec string
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    status string
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    vpcInstanceId string
    The vpc instance id of the resource.
    access_point_id str
    The access point ID to which the VBR belongs.
    auto_pay bool
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    bandwidth int
    The bandwidth of the resource.
    business_status str
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connected_time str
    The connected time of the resource.
    create_time str
    The creation time of the resource.
    cross_border bool
    The cross border of the resource.
    delete_health_check_ip bool
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description str
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    end_time str
    The end time of the resource.
    has_reservation_data str
    The has reservation data of the resource.
    hc_rate int
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hc_threshold str
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    health_check_source_ip str
    The health check source IP address, must be an unused IP within the local VPC.
    health_check_target_ip str
    The IP address for health screening purposes.
    opposite_access_point_id str
    The Access point ID to which the other end belongs.
    opposite_bandwidth int
    The opposite bandwidth of the router on the other side.
    opposite_interface_business_status str
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    opposite_interface_id str
    The Interface ID of the router at the other end.
    opposite_interface_owner_id str
    The AliCloud account ID of the owner of the router interface on the other end.
    opposite_interface_spec str
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    opposite_interface_status str
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    opposite_region_id str
    The geographical ID of the location of the receiving end of the connection.
    opposite_router_id str
    The id of the router at the other end.
    opposite_router_type str
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    opposite_vpc_instance_id str
    The opposite vpc instance id of the router on the other side.
    payment_type str
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricing_cycle str
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    reservation_active_time str
    The reservation active time of the resource.
    reservation_bandwidth str
    The reservation bandwidth of the resource.
    reservation_internet_charge_type str
    The reservation internet charge type of the resource.
    reservation_order_type str
    The reservation order type of the resource.
    role str
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    router_id str
    The router id associated with the router interface.
    router_interface_id str
    The first ID of the resource.
    router_interface_name str
    The name of the resource.
    router_type str
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec str
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    status str
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    vpc_instance_id str
    The vpc instance id of the resource.
    accessPointId String
    The access point ID to which the VBR belongs.
    autoPay Boolean
    Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    bandwidth Number
    The bandwidth of the resource.
    businessStatus String
    The businessStatus of the resource. Valid Values: Normal, FinancialLocked, SecurityLocked.
    connectedTime String
    The connected time of the resource.
    createTime String
    The creation time of the resource.
    crossBorder Boolean
    The cross border of the resource.
    deleteHealthCheckIp Boolean
    Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
    description String
    The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
    endTime String
    The end time of the resource.
    hasReservationData String
    The has reservation data of the resource.
    hcRate Number
    The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
    hcThreshold String
    The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
    healthCheckSourceIp String
    The health check source IP address, must be an unused IP within the local VPC.
    healthCheckTargetIp String
    The IP address for health screening purposes.
    oppositeAccessPointId String
    The Access point ID to which the other end belongs.
    oppositeBandwidth Number
    The opposite bandwidth of the router on the other side.
    oppositeInterfaceBusinessStatus String
    The opposite interface business status of the router on the other side. Valid Values: Normal, FinancialLocked, SecurityLocked.
    oppositeInterfaceId String
    The Interface ID of the router at the other end.
    oppositeInterfaceOwnerId String
    The AliCloud account ID of the owner of the router interface on the other end.
    oppositeInterfaceSpec String
    The opposite interface spec of the router on the other side. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    oppositeInterfaceStatus String
    The opposite interface status of the router on the other side. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    oppositeRegionId String
    The geographical ID of the location of the receiving end of the connection.
    oppositeRouterId String
    The id of the router at the other end.
    oppositeRouterType String
    The opposite router type of the router on the other side. Valid Values: VRouter, VBR.
    oppositeVpcInstanceId String
    The opposite vpc instance id of the router on the other side.
    paymentType String
    The payment methods for router interfaces. Valid Values: PayAsYouGo, Subscription.
    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 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    pricingCycle String
    The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
    reservationActiveTime String
    The reservation active time of the resource.
    reservationBandwidth String
    The reservation bandwidth of the resource.
    reservationInternetChargeType String
    The reservation internet charge type of the resource.
    reservationOrderType String
    The reservation order type of the resource.
    role String
    The role of the router interface. Valid Values: InitiatingSide, AcceptingSide.
    routerId String
    The router id associated with the router interface.
    routerInterfaceId String
    The first ID of the resource.
    routerInterfaceName String
    The name of the resource.
    routerType String
    The type of router associated with the router interface. Valid Values: VRouter, VBR.
    spec String
    The specification of the router interface. Valid Values: Mini.2, Mini.5, Mini.5, Small.2, Small.5, Middle.1, Middle.2, Middle.5, Large.1, Large.2, Large.5, XLarge.1, Negative.
    status String
    The status of the resource. Valid Values: Idle, AcceptingConnecting, Connecting, Activating, Active, Modifying, Deactivating, Inactive, Deleting.
    vpcInstanceId String
    The vpc instance id of the resource.

    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.53.0 published on Wednesday, Apr 17, 2024 by Pulumi