Class RouterInterface
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public class RouterInterface : CustomResource
Constructors
View SourceRouterInterface(String, RouterInterfaceArgs, CustomResourceOptions)
Create a RouterInterface resource with the given unique name, arguments, and options.
Declaration
public RouterInterface(string name, RouterInterfaceArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RouterInterfaceArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccessPointId
It has been deprecated from version 1.11.0.
Declaration
public Output<string> AccessPointId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HealthCheckSourceIp
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.
Declaration
public Output<string> HealthCheckSourceIp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
HealthCheckTargetIp
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.
Declaration
public Output<string> HealthCheckTargetIp { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceChargeType
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.
Declaration
public Output<string> InstanceChargeType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
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://.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeAccessPointId
It has been deprecated from version 1.11.0.
Declaration
public Output<string> OppositeAccessPointId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeInterfaceId
It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.
Declaration
public Output<string> OppositeInterfaceId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeInterfaceOwnerId
It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_interface_id' instead.
Declaration
public Output<string> OppositeInterfaceOwnerId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeRegion
The Region of peer side.
Declaration
public Output<string> OppositeRegion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeRouterId
It has been deprecated from version 1.11.0. Use resource alicloud_router_interface_connection's 'opposite_router_id' instead.
Declaration
public Output<string> OppositeRouterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OppositeRouterType
It has been deprecated from version 1.11.0. resource alicloud_router_interface_connection's 'opposite_router_type' instead.
Declaration
public Output<string> OppositeRouterType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Period
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.
Declaration
public Output<int?> Period { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Role
The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
Declaration
public Output<string> Role { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RouterId
The Router ID.
Declaration
public Output<string> RouterId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RouterType
Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
Declaration
public Output<string> RouterType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Specification
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.
Declaration
public Output<string> Specification { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RouterInterfaceState, CustomResourceOptions)
Get an existing RouterInterface resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RouterInterface Get(string name, Input<string> id, RouterInterfaceState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RouterInterfaceState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RouterInterface |