RouterInterface

Create a RouterInterface Resource

def RouterInterface(resource_name, opts=None, description=None, health_check_source_ip=None, health_check_target_ip=None, instance_charge_type=None, name=None, opposite_access_point_id=None, opposite_region=None, period=None, role=None, router_id=None, router_type=None, specification=None, __props__=None);
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.
opts ResourceOptions
A bag of options that control this 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.

RouterInterface Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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 float

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

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.

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.

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.

Look up an 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
static get(resource_name, id, opts=None, access_point_id=None, description=None, health_check_source_ip=None, health_check_target_ip=None, instance_charge_type=None, name=None, opposite_access_point_id=None, opposite_interface_id=None, opposite_interface_owner_id=None, opposite_region=None, opposite_router_id=None, opposite_router_type=None, period=None, role=None, router_id=None, router_type=None, specification=None, __props__=None);
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)
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.

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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. Default to 1. Valid values: [1-9, 12, 24, 36]. At present, the provider does not support modify “period” and you can do that via web console.

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 float

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

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.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.