1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. vpc
  5. RouterInterface
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.vpc.RouterInterface

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a VPC router interface resource aim to build a connection between two VPCs.

    DEPRECATED: This resource has been deprecated from version 1.199.0. Please use new resource alicloud_express_connect_router_interface.

    NOTE: Only one pair of connected router interfaces can exist between two routers. Up to 5 router interfaces can be created for each router and each account.

    NOTE: The router interface is not connected when it is created. It can be connected by means of resource alicloud_router_interface_connection.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const foo = new alicloud.vpc.Network("foo", {
        vpcName: "tf_test_foo12345",
        cidrBlock: "172.16.0.0/12",
    });
    const _interface = new alicloud.vpc.RouterInterface("interface", {
        oppositeRegion: "cn-beijing",
        routerType: "VRouter",
        routerId: foo.routerId,
        role: "InitiatingSide",
        specification: "Large.2",
        name: "test1",
        description: "test1",
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    foo = alicloud.vpc.Network("foo",
        vpc_name="tf_test_foo12345",
        cidr_block="172.16.0.0/12")
    interface = alicloud.vpc.RouterInterface("interface",
        opposite_region="cn-beijing",
        router_type="VRouter",
        router_id=foo.router_id,
        role="InitiatingSide",
        specification="Large.2",
        name="test1",
        description="test1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		foo, err := vpc.NewNetwork(ctx, "foo", &vpc.NetworkArgs{
    			VpcName:   pulumi.String("tf_test_foo12345"),
    			CidrBlock: pulumi.String("172.16.0.0/12"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = vpc.NewRouterInterface(ctx, "interface", &vpc.RouterInterfaceArgs{
    			OppositeRegion: pulumi.String("cn-beijing"),
    			RouterType:     pulumi.String("VRouter"),
    			RouterId:       foo.RouterId,
    			Role:           pulumi.String("InitiatingSide"),
    			Specification:  pulumi.String("Large.2"),
    			Name:           pulumi.String("test1"),
    			Description:    pulumi.String("test1"),
    		})
    		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 foo = new AliCloud.Vpc.Network("foo", new()
        {
            VpcName = "tf_test_foo12345",
            CidrBlock = "172.16.0.0/12",
        });
    
        var @interface = new AliCloud.Vpc.RouterInterface("interface", new()
        {
            OppositeRegion = "cn-beijing",
            RouterType = "VRouter",
            RouterId = foo.RouterId,
            Role = "InitiatingSide",
            Specification = "Large.2",
            Name = "test1",
            Description = "test1",
        });
    
    });
    
    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.vpc.RouterInterface;
    import com.pulumi.alicloud.vpc.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) {
            var foo = new Network("foo", NetworkArgs.builder()
                .vpcName("tf_test_foo12345")
                .cidrBlock("172.16.0.0/12")
                .build());
    
            var interface_ = new RouterInterface("interface", RouterInterfaceArgs.builder()
                .oppositeRegion("cn-beijing")
                .routerType("VRouter")
                .routerId(foo.routerId())
                .role("InitiatingSide")
                .specification("Large.2")
                .name("test1")
                .description("test1")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: alicloud:vpc:Network
        properties:
          vpcName: tf_test_foo12345
          cidrBlock: 172.16.0.0/12
      interface:
        type: alicloud:vpc:RouterInterface
        properties:
          oppositeRegion: cn-beijing
          routerType: VRouter
          routerId: ${foo.routerId}
          role: InitiatingSide
          specification: Large.2
          name: test1
          description: test1
    

    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: Optional[str] = None,
                        role: Optional[str] = None,
                        router_id: Optional[str] = None,
                        router_type: Optional[str] = None,
                        description: Optional[str] = None,
                        health_check_source_ip: Optional[str] = None,
                        health_check_target_ip: Optional[str] = None,
                        instance_charge_type: Optional[str] = None,
                        name: Optional[str] = None,
                        opposite_access_point_id: Optional[str] = None,
                        period: Optional[int] = None,
                        specification: 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:vpc: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 alicloudRouterInterfaceResource = new AliCloud.Vpc.RouterInterface("alicloudRouterInterfaceResource", new()
    {
        OppositeRegion = "string",
        Role = "string",
        RouterId = "string",
        RouterType = "string",
        Description = "string",
        HealthCheckSourceIp = "string",
        HealthCheckTargetIp = "string",
        InstanceChargeType = "string",
        Name = "string",
        Period = 0,
        Specification = "string",
    });
    
    example, err := vpc.NewRouterInterface(ctx, "alicloudRouterInterfaceResource", &vpc.RouterInterfaceArgs{
    	OppositeRegion:      pulumi.String("string"),
    	Role:                pulumi.String("string"),
    	RouterId:            pulumi.String("string"),
    	RouterType:          pulumi.String("string"),
    	Description:         pulumi.String("string"),
    	HealthCheckSourceIp: pulumi.String("string"),
    	HealthCheckTargetIp: pulumi.String("string"),
    	InstanceChargeType:  pulumi.String("string"),
    	Name:                pulumi.String("string"),
    	Period:              pulumi.Int(0),
    	Specification:       pulumi.String("string"),
    })
    
    var alicloudRouterInterfaceResource = new RouterInterface("alicloudRouterInterfaceResource", RouterInterfaceArgs.builder()
        .oppositeRegion("string")
        .role("string")
        .routerId("string")
        .routerType("string")
        .description("string")
        .healthCheckSourceIp("string")
        .healthCheckTargetIp("string")
        .instanceChargeType("string")
        .name("string")
        .period(0)
        .specification("string")
        .build());
    
    alicloud_router_interface_resource = alicloud.vpc.RouterInterface("alicloudRouterInterfaceResource",
        opposite_region="string",
        role="string",
        router_id="string",
        router_type="string",
        description="string",
        health_check_source_ip="string",
        health_check_target_ip="string",
        instance_charge_type="string",
        name="string",
        period=0,
        specification="string")
    
    const alicloudRouterInterfaceResource = new alicloud.vpc.RouterInterface("alicloudRouterInterfaceResource", {
        oppositeRegion: "string",
        role: "string",
        routerId: "string",
        routerType: "string",
        description: "string",
        healthCheckSourceIp: "string",
        healthCheckTargetIp: "string",
        instanceChargeType: "string",
        name: "string",
        period: 0,
        specification: "string",
    });
    
    type: alicloud:vpc:RouterInterface
    properties:
        description: string
        healthCheckSourceIp: string
        healthCheckTargetIp: string
        instanceChargeType: string
        name: string
        oppositeRegion: string
        period: 0
        role: string
        routerId: string
        routerType: string
        specification: 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:

    OppositeRegion string
    The Region of peer side.
    Role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    RouterId string
    The Router ID.
    RouterType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    Description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    HealthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    HealthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    InstanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    Name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    OppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    Specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    OppositeRegion string
    The Region of peer side.
    Role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    RouterId string
    The Router ID.
    RouterType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    Description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    HealthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    HealthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    InstanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    Name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    OppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    Specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    oppositeRegion String
    The Region of peer side.
    role String
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId String
    The Router ID.
    routerType String
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    description String
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp String
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp String
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType String
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name String
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    period Integer

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    specification String
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    oppositeRegion string
    The Region of peer side.
    role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId string
    The Router ID.
    routerType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    period number

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    opposite_region str
    The Region of peer side.
    role str
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    router_id str
    The Router ID.
    router_type str
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    description str
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    health_check_source_ip str
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    health_check_target_ip str
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instance_charge_type str
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name str
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    opposite_access_point_id str
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    specification str
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    oppositeRegion String
    The Region of peer side.
    role String
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId String
    The Router ID.
    routerType String
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    description String
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp String
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp String
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType String
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name String
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    period Number

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    specification String
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RouterInterface resource produces the following output properties:

    AccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    OppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    OppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    OppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    AccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Id string
    The provider-assigned unique ID for this managed resource.
    OppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    OppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    OppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    OppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    accessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    id String
    The provider-assigned unique ID for this managed resource.
    oppositeInterfaceId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRouterId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType String
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    accessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    id string
    The provider-assigned unique ID for this managed resource.
    oppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    access_point_id str
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    id str
    The provider-assigned unique ID for this managed resource.
    opposite_interface_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    opposite_interface_owner_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    opposite_router_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    opposite_router_type str
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    accessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    id String
    The provider-assigned unique ID for this managed resource.
    oppositeInterfaceId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRouterId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType String
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    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,
            description: Optional[str] = None,
            health_check_source_ip: Optional[str] = None,
            health_check_target_ip: Optional[str] = None,
            instance_charge_type: Optional[str] = None,
            name: Optional[str] = None,
            opposite_access_point_id: Optional[str] = None,
            opposite_interface_id: Optional[str] = None,
            opposite_interface_owner_id: Optional[str] = None,
            opposite_region: Optional[str] = None,
            opposite_router_id: Optional[str] = None,
            opposite_router_type: Optional[str] = None,
            period: Optional[int] = None,
            role: Optional[str] = None,
            router_id: Optional[str] = None,
            router_type: Optional[str] = None,
            specification: 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
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    HealthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    HealthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    InstanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    Name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    OppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    OppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    OppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    OppositeRegion string
    The Region of peer side.
    OppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    OppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    Role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    RouterId string
    The Router ID.
    RouterType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    Specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    AccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    Description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    HealthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    HealthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    InstanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    Name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    OppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    OppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    OppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    OppositeRegion string
    The Region of peer side.
    OppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    OppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    Role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    RouterId string
    The Router ID.
    RouterType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    Specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    accessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    description String
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp String
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp String
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType String
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name String
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    oppositeInterfaceId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRegion String
    The Region of peer side.
    oppositeRouterId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType String
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    period Integer

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    role String
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId String
    The Router ID.
    routerType String
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    specification String
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    accessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    description string
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp string
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp string
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType string
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name string
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId string
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    oppositeInterfaceId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRegion string
    The Region of peer side.
    oppositeRouterId string
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType string
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    period number

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    role string
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId string
    The Router ID.
    routerType string
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    specification string
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    access_point_id str
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    description str
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    health_check_source_ip str
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    health_check_target_ip str
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instance_charge_type str
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name str
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    opposite_access_point_id str
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    opposite_interface_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    opposite_interface_owner_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    opposite_region str
    The Region of peer side.
    opposite_router_id str
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    opposite_router_type str
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    period int

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    role str
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    router_id str
    The Router ID.
    router_type str
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    specification str
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.
    accessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    description String
    Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
    healthCheckSourceIp String
    Used as the Packet Source IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_target_ip must be specified at the same time.
    healthCheckTargetIp String
    Used as the Packet Target IP of health check for disaster recovery or ECMP. It is only valid when router_type is VBR. The IP must be an unused IP in the local VPC. It and health_check_source_ip must be specified at the same time.
    instanceChargeType String
    The billing method of the router interface. Valid values are "PrePaid" and "PostPaid". Default to "PostPaid". Router Interface doesn't support "PrePaid" when region and opposite_region are the same.
    name String
    Name of the router interface. Length must be 2-80 characters long. Only Chinese characters, English letters, numbers, period (.), underline (_), or dash (-) are permitted. If it is not specified, the default value is interface ID. The name cannot start with http:// and https://.
    oppositeAccessPointId String
    It has been deprecated from version 1.11.0.

    Deprecated: Attribute 'opposite_access_point_id' has been deprecated from version 1.11.0.

    oppositeInterfaceId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_interface_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    oppositeInterfaceOwnerId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.

    Deprecated: Attribute 'opposite_interface_owner_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_owner_id' instead.

    oppositeRegion String
    The Region of peer side.
    oppositeRouterId String
    It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    Deprecated: Attribute 'opposite_router_id' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.

    oppositeRouterType String
    It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    Deprecated: Attribute 'opposite_router_type' has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_type' instead.

    period Number

    The duration that you will buy the resource, in month. It is valid when instance_charge_type is PrePaid. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify "period" and you can do that via web console.

    NOTE: The attribute period is only used to create Subscription instance or modify the PayAsYouGo instance to Subscription. Once effect, it will not be modified that means running pulumi up will not effect the resource.

    role String
    The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
    routerId String
    The Router ID.
    routerType String
    Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
    specification String
    Specification of router interfaces. It is valid when role is InitiatingSide. Accepting side's role is default to set as 'Negative'. For more about the specification, refer to Router interface specification.

    Import

    The router interface can be imported using the id, e.g.

    $ pulumi import alicloud:vpc/routerInterface:RouterInterface interface ri-abc123456
    

    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.66.0 published on Friday, Nov 15, 2024 by Pulumi