Class RouterInterfaceArgs
Inherited Members
Namespace: Pulumi.AliCloud.Vpc
Assembly: Pulumi.AliCloud.dll
Syntax
public sealed class RouterInterfaceArgs : ResourceArgs
Constructors
View SourceRouterInterfaceArgs()
Declaration
public RouterInterfaceArgs()
Properties
View SourceDescription
Description of the router interface. It can be 2-256 characters long or left blank. It cannot start with http:// and https://.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> HealthCheckSourceIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> HealthCheckTargetIp { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> InstanceChargeType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OppositeAccessPointId
It has been deprecated from version 1.11.0.
Declaration
public Input<string> OppositeAccessPointId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OppositeRegion
The Region of peer side.
Declaration
public Input<string> OppositeRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<int> Period { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Role
The role the router interface plays. Optional value: InitiatingSide, AcceptingSide.
Declaration
public Input<string> Role { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RouterId
The Router ID.
Declaration
public Input<string> RouterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RouterType
Router Type. Optional value: VRouter, VBR. Accepting side router interface type only be VRouter.
Declaration
public Input<string> RouterType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<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 Input<string> Specification { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |