alicloud.expressconnect.RouterInterface
Explore with Pulumi AI
Provides a Express Connect Router Interface resource.
For information about Express Connect Router Interface and how to use it, see What is Router Interface.
NOTE: Available since v1.199.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf_example";
const default = alicloud.vpc.getNetworks({
nameRegex: "default-NODELETING",
});
const defaultGetRegions = alicloud.getRegions({
current: true,
});
const defaultRouterInterface = new alicloud.expressconnect.RouterInterface("default", {
description: name,
oppositeRegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
routerId: _default.then(_default => _default.vpcs?.[0]?.routerId),
role: "InitiatingSide",
routerType: "VRouter",
paymentType: "PayAsYouGo",
routerInterfaceName: name,
spec: "Mini.2",
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf_example"
default = alicloud.vpc.get_networks(name_regex="default-NODELETING")
default_get_regions = alicloud.get_regions(current=True)
default_router_interface = alicloud.expressconnect.RouterInterface("default",
description=name,
opposite_region_id=default_get_regions.regions[0].id,
router_id=default.vpcs[0].router_id,
role="InitiatingSide",
router_type="VRouter",
payment_type="PayAsYouGo",
router_interface_name=name,
spec="Mini.2")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf_example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{
NameRegex: pulumi.StringRef("default-NODELETING"),
}, nil)
if err != nil {
return err
}
defaultGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
_, err = expressconnect.NewRouterInterface(ctx, "default", &expressconnect.RouterInterfaceArgs{
Description: pulumi.String(name),
OppositeRegionId: pulumi.String(defaultGetRegions.Regions[0].Id),
RouterId: pulumi.String(_default.Vpcs[0].RouterId),
Role: pulumi.String("InitiatingSide"),
RouterType: pulumi.String("VRouter"),
PaymentType: pulumi.String("PayAsYouGo"),
RouterInterfaceName: pulumi.String(name),
Spec: pulumi.String("Mini.2"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf_example";
var @default = AliCloud.Vpc.GetNetworks.Invoke(new()
{
NameRegex = "default-NODELETING",
});
var defaultGetRegions = AliCloud.GetRegions.Invoke(new()
{
Current = true,
});
var defaultRouterInterface = new AliCloud.ExpressConnect.RouterInterface("default", new()
{
Description = name,
OppositeRegionId = defaultGetRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id),
RouterId = @default.Apply(@default => @default.Apply(getNetworksResult => getNetworksResult.Vpcs[0]?.RouterId)),
Role = "InitiatingSide",
RouterType = "VRouter",
PaymentType = "PayAsYouGo",
RouterInterfaceName = name,
Spec = "Mini.2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetNetworksArgs;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.expressconnect.RouterInterface;
import com.pulumi.alicloud.expressconnect.RouterInterfaceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf_example");
final var default = VpcFunctions.getNetworks(GetNetworksArgs.builder()
.nameRegex("default-NODELETING")
.build());
final var defaultGetRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
var defaultRouterInterface = new RouterInterface("defaultRouterInterface", RouterInterfaceArgs.builder()
.description(name)
.oppositeRegionId(defaultGetRegions.applyValue(getRegionsResult -> getRegionsResult.regions()[0].id()))
.routerId(default_.vpcs()[0].routerId())
.role("InitiatingSide")
.routerType("VRouter")
.paymentType("PayAsYouGo")
.routerInterfaceName(name)
.spec("Mini.2")
.build());
}
}
configuration:
name:
type: string
default: tf_example
resources:
defaultRouterInterface:
type: alicloud:expressconnect:RouterInterface
name: default
properties:
description: ${name}
oppositeRegionId: ${defaultGetRegions.regions[0].id}
routerId: ${default.vpcs[0].routerId}
role: InitiatingSide
routerType: VRouter
paymentType: PayAsYouGo
routerInterfaceName: ${name}
spec: Mini.2
variables:
default:
fn::invoke:
Function: alicloud:vpc:getNetworks
Arguments:
nameRegex: default-NODELETING
defaultGetRegions:
fn::invoke:
Function: alicloud:getRegions
Arguments:
current: true
Create RouterInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RouterInterface(name: string, args: RouterInterfaceArgs, opts?: CustomResourceOptions);
@overload
def RouterInterface(resource_name: str,
args: RouterInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RouterInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
opposite_region_id: Optional[str] = None,
spec: Optional[str] = None,
router_type: Optional[str] = None,
router_id: Optional[str] = None,
role: Optional[str] = None,
health_check_source_ip: Optional[str] = None,
payment_type: Optional[str] = None,
health_check_target_ip: Optional[str] = None,
opposite_access_point_id: Optional[str] = None,
opposite_interface_id: Optional[str] = None,
opposite_interface_owner_id: Optional[str] = None,
hc_threshold: Optional[str] = None,
opposite_router_id: Optional[str] = None,
opposite_router_type: Optional[str] = None,
access_point_id: Optional[str] = None,
period: Optional[int] = None,
pricing_cycle: Optional[str] = None,
hc_rate: Optional[int] = None,
description: Optional[str] = None,
router_interface_id: Optional[str] = None,
router_interface_name: Optional[str] = None,
delete_health_check_ip: Optional[bool] = None,
auto_pay: Optional[bool] = None,
status: Optional[str] = None)
func NewRouterInterface(ctx *Context, name string, args RouterInterfaceArgs, opts ...ResourceOption) (*RouterInterface, error)
public RouterInterface(string name, RouterInterfaceArgs args, CustomResourceOptions? opts = null)
public RouterInterface(String name, RouterInterfaceArgs args)
public RouterInterface(String name, RouterInterfaceArgs args, CustomResourceOptions options)
type: alicloud:expressconnect:RouterInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RouterInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var routerInterfaceResource = new AliCloud.ExpressConnect.RouterInterface("routerInterfaceResource", new()
{
OppositeRegionId = "string",
Spec = "string",
RouterType = "string",
RouterId = "string",
Role = "string",
HealthCheckSourceIp = "string",
PaymentType = "string",
HealthCheckTargetIp = "string",
OppositeAccessPointId = "string",
OppositeInterfaceId = "string",
OppositeInterfaceOwnerId = "string",
HcThreshold = "string",
OppositeRouterId = "string",
OppositeRouterType = "string",
AccessPointId = "string",
Period = 0,
PricingCycle = "string",
HcRate = 0,
Description = "string",
RouterInterfaceId = "string",
RouterInterfaceName = "string",
DeleteHealthCheckIp = false,
AutoPay = false,
Status = "string",
});
example, err := expressconnect.NewRouterInterface(ctx, "routerInterfaceResource", &expressconnect.RouterInterfaceArgs{
OppositeRegionId: pulumi.String("string"),
Spec: pulumi.String("string"),
RouterType: pulumi.String("string"),
RouterId: pulumi.String("string"),
Role: pulumi.String("string"),
HealthCheckSourceIp: pulumi.String("string"),
PaymentType: pulumi.String("string"),
HealthCheckTargetIp: pulumi.String("string"),
OppositeAccessPointId: pulumi.String("string"),
OppositeInterfaceId: pulumi.String("string"),
OppositeInterfaceOwnerId: pulumi.String("string"),
HcThreshold: pulumi.String("string"),
OppositeRouterId: pulumi.String("string"),
OppositeRouterType: pulumi.String("string"),
AccessPointId: pulumi.String("string"),
Period: pulumi.Int(0),
PricingCycle: pulumi.String("string"),
HcRate: pulumi.Int(0),
Description: pulumi.String("string"),
RouterInterfaceId: pulumi.String("string"),
RouterInterfaceName: pulumi.String("string"),
DeleteHealthCheckIp: pulumi.Bool(false),
AutoPay: pulumi.Bool(false),
Status: pulumi.String("string"),
})
var routerInterfaceResource = new RouterInterface("routerInterfaceResource", RouterInterfaceArgs.builder()
.oppositeRegionId("string")
.spec("string")
.routerType("string")
.routerId("string")
.role("string")
.healthCheckSourceIp("string")
.paymentType("string")
.healthCheckTargetIp("string")
.oppositeAccessPointId("string")
.oppositeInterfaceId("string")
.oppositeInterfaceOwnerId("string")
.hcThreshold("string")
.oppositeRouterId("string")
.oppositeRouterType("string")
.accessPointId("string")
.period(0)
.pricingCycle("string")
.hcRate(0)
.description("string")
.routerInterfaceId("string")
.routerInterfaceName("string")
.deleteHealthCheckIp(false)
.autoPay(false)
.status("string")
.build());
router_interface_resource = alicloud.expressconnect.RouterInterface("routerInterfaceResource",
opposite_region_id="string",
spec="string",
router_type="string",
router_id="string",
role="string",
health_check_source_ip="string",
payment_type="string",
health_check_target_ip="string",
opposite_access_point_id="string",
opposite_interface_id="string",
opposite_interface_owner_id="string",
hc_threshold="string",
opposite_router_id="string",
opposite_router_type="string",
access_point_id="string",
period=0,
pricing_cycle="string",
hc_rate=0,
description="string",
router_interface_id="string",
router_interface_name="string",
delete_health_check_ip=False,
auto_pay=False,
status="string")
const routerInterfaceResource = new alicloud.expressconnect.RouterInterface("routerInterfaceResource", {
oppositeRegionId: "string",
spec: "string",
routerType: "string",
routerId: "string",
role: "string",
healthCheckSourceIp: "string",
paymentType: "string",
healthCheckTargetIp: "string",
oppositeAccessPointId: "string",
oppositeInterfaceId: "string",
oppositeInterfaceOwnerId: "string",
hcThreshold: "string",
oppositeRouterId: "string",
oppositeRouterType: "string",
accessPointId: "string",
period: 0,
pricingCycle: "string",
hcRate: 0,
description: "string",
routerInterfaceId: "string",
routerInterfaceName: "string",
deleteHealthCheckIp: false,
autoPay: false,
status: "string",
});
type: alicloud:expressconnect:RouterInterface
properties:
accessPointId: string
autoPay: false
deleteHealthCheckIp: false
description: string
hcRate: 0
hcThreshold: string
healthCheckSourceIp: string
healthCheckTargetIp: string
oppositeAccessPointId: string
oppositeInterfaceId: string
oppositeInterfaceOwnerId: string
oppositeRegionId: string
oppositeRouterId: string
oppositeRouterType: string
paymentType: string
period: 0
pricingCycle: string
role: string
routerId: string
routerInterfaceId: string
routerInterfaceName: string
routerType: string
spec: string
status: string
RouterInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
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:
- Opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- Role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - Router
Id string - The router id associated with the router interface.
- Router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - Spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Access
Point stringId - The access point ID to which the VBR belongs.
- Auto
Pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- Description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Hc
Rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- Hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- Health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- Health
Check stringTarget Ip - The IP address for health screening purposes.
- Opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- Opposite
Interface stringId - The Interface ID of the router at the other end.
- Opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- Opposite
Router stringId - The id of the router at the other end.
- Opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - Payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - Period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Router
Interface stringId - The first ID of the resource.
- Router
Interface stringName - The name of the resource.
- Status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
- Opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- Role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - Router
Id string - The router id associated with the router interface.
- Router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - Spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Access
Point stringId - The access point ID to which the VBR belongs.
- Auto
Pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- Description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- Hc
Rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- Hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- Health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- Health
Check stringTarget Ip - The IP address for health screening purposes.
- Opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- Opposite
Interface stringId - The Interface ID of the router at the other end.
- Opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- Opposite
Router stringId - The id of the router at the other end.
- Opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - Payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - Period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Router
Interface stringId - The first ID of the resource.
- Router
Interface stringName - The name of the resource.
- Status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
- opposite
Region StringId - The geographical ID of the location of the receiving end of the connection.
- role String
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id String - The router id associated with the router interface.
- router
Type String - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec String
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - access
Point StringId - The access point ID to which the VBR belongs.
- auto
Pay Boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description String
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- hc
Rate Integer - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold String - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check StringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check StringTarget Ip - The IP address for health screening purposes.
- opposite
Access StringPoint Id - The Access point ID to which the other end belongs.
- opposite
Interface StringId - The Interface ID of the router at the other end.
- opposite
Interface StringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Router StringId - The id of the router at the other end.
- opposite
Router StringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - payment
Type String - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period Integer
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle String - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- router
Interface StringId - The first ID of the resource.
- router
Interface StringName - The name of the resource.
- status String
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
- opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id string - The router id associated with the router interface.
- router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - access
Point stringId - The access point ID to which the VBR belongs.
- auto
Pay boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- delete
Health booleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- hc
Rate number - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check stringTarget Ip - The IP address for health screening purposes.
- opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- opposite
Interface stringId - The Interface ID of the router at the other end.
- opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Router stringId - The id of the router at the other end.
- opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period number
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- router
Interface stringId - The first ID of the resource.
- router
Interface stringName - The name of the resource.
- status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
- opposite_
region_ strid - The geographical ID of the location of the receiving end of the connection.
- role str
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router_
id str - The router id associated with the router interface.
- router_
type str - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec str
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - access_
point_ strid - The access point ID to which the VBR belongs.
- auto_
pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- delete_
health_ boolcheck_ ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description str
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- hc_
rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc_
threshold str - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health_
check_ strsource_ ip - The health check source IP address, must be an unused IP within the local VPC.
- health_
check_ strtarget_ ip - The IP address for health screening purposes.
- opposite_
access_ strpoint_ id - The Access point ID to which the other end belongs.
- opposite_
interface_ strid - The Interface ID of the router at the other end.
- opposite_
interface_ strowner_ id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite_
router_ strid - The id of the router at the other end.
- opposite_
router_ strtype - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - payment_
type str - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing_
cycle str - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- router_
interface_ strid - The first ID of the resource.
- router_
interface_ strname - The name of the resource.
- status str
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
- opposite
Region StringId - The geographical ID of the location of the receiving end of the connection.
- role String
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id String - The router id associated with the router interface.
- router
Type String - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec String
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - access
Point StringId - The access point ID to which the VBR belongs.
- auto
Pay Boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description String
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- hc
Rate Number - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold String - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check StringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check StringTarget Ip - The IP address for health screening purposes.
- opposite
Access StringPoint Id - The Access point ID to which the other end belongs.
- opposite
Interface StringId - The Interface ID of the router at the other end.
- opposite
Interface StringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Router StringId - The id of the router at the other end.
- opposite
Router StringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - payment
Type String - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period Number
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle String - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- router
Interface StringId - The first ID of the resource.
- router
Interface StringName - The name of the resource.
- status String
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
.
Outputs
All input properties are implicitly available as output properties. Additionally, the RouterInterface resource produces the following output properties:
- Bandwidth int
- The bandwidth of the resource.
- Business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Connected
Time string - The connected time of the resource.
- Create
Time string - The creation time of the resource.
- Cross
Border bool - The cross border of the resource.
- End
Time string - The end time of the resource.
- Has
Reservation stringData - The has reservation data of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Opposite
Bandwidth int - The opposite bandwidth of the router on the other side.
- Opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- Reservation
Active stringTime - The reservation active time of the resource.
- Reservation
Bandwidth string - The reservation bandwidth of the resource.
- Reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- Reservation
Order stringType - The reservation order type of the resource.
- Vpc
Instance stringId - The vpc instance id of the resource.
- Bandwidth int
- The bandwidth of the resource.
- Business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Connected
Time string - The connected time of the resource.
- Create
Time string - The creation time of the resource.
- Cross
Border bool - The cross border of the resource.
- End
Time string - The end time of the resource.
- Has
Reservation stringData - The has reservation data of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Opposite
Bandwidth int - The opposite bandwidth of the router on the other side.
- Opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- Reservation
Active stringTime - The reservation active time of the resource.
- Reservation
Bandwidth string - The reservation bandwidth of the resource.
- Reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- Reservation
Order stringType - The reservation order type of the resource.
- Vpc
Instance stringId - The vpc instance id of the resource.
- bandwidth Integer
- The bandwidth of the resource.
- business
Status String - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time String - The connected time of the resource.
- create
Time String - The creation time of the resource.
- cross
Border Boolean - The cross border of the resource.
- end
Time String - The end time of the resource.
- has
Reservation StringData - The has reservation data of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth Integer - The opposite bandwidth of the router on the other side.
- opposite
Interface StringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface StringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface StringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Vpc StringInstance Id - The opposite vpc instance id of the router on the other side.
- reservation
Active StringTime - The reservation active time of the resource.
- reservation
Bandwidth String - The reservation bandwidth of the resource.
- reservation
Internet StringCharge Type - The reservation internet charge type of the resource.
- reservation
Order StringType - The reservation order type of the resource.
- vpc
Instance StringId - The vpc instance id of the resource.
- bandwidth number
- The bandwidth of the resource.
- business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time string - The connected time of the resource.
- create
Time string - The creation time of the resource.
- cross
Border boolean - The cross border of the resource.
- end
Time string - The end time of the resource.
- has
Reservation stringData - The has reservation data of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth number - The opposite bandwidth of the router on the other side.
- opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- reservation
Active stringTime - The reservation active time of the resource.
- reservation
Bandwidth string - The reservation bandwidth of the resource.
- reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- reservation
Order stringType - The reservation order type of the resource.
- vpc
Instance stringId - The vpc instance id of the resource.
- bandwidth int
- The bandwidth of the resource.
- business_
status str - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected_
time str - The connected time of the resource.
- create_
time str - The creation time of the resource.
- cross_
border bool - The cross border of the resource.
- end_
time str - The end time of the resource.
- has_
reservation_ strdata - The has reservation data of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- opposite_
bandwidth int - The opposite bandwidth of the router on the other side.
- opposite_
interface_ strbusiness_ status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite_
interface_ strspec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite_
interface_ strstatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite_
vpc_ strinstance_ id - The opposite vpc instance id of the router on the other side.
- reservation_
active_ strtime - The reservation active time of the resource.
- reservation_
bandwidth str - The reservation bandwidth of the resource.
- reservation_
internet_ strcharge_ type - The reservation internet charge type of the resource.
- reservation_
order_ strtype - The reservation order type of the resource.
- vpc_
instance_ strid - The vpc instance id of the resource.
- bandwidth Number
- The bandwidth of the resource.
- business
Status String - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time String - The connected time of the resource.
- create
Time String - The creation time of the resource.
- cross
Border Boolean - The cross border of the resource.
- end
Time String - The end time of the resource.
- has
Reservation StringData - The has reservation data of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- opposite
Bandwidth Number - The opposite bandwidth of the router on the other side.
- opposite
Interface StringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface StringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface StringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Vpc StringInstance Id - The opposite vpc instance id of the router on the other side.
- reservation
Active StringTime - The reservation active time of the resource.
- reservation
Bandwidth String - The reservation bandwidth of the resource.
- reservation
Internet StringCharge Type - The reservation internet charge type of the resource.
- reservation
Order StringType - The reservation order type of the resource.
- vpc
Instance StringId - The vpc instance id of the resource.
Look up Existing RouterInterface Resource
Get an existing RouterInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RouterInterfaceState, opts?: CustomResourceOptions): RouterInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_point_id: Optional[str] = None,
auto_pay: Optional[bool] = None,
bandwidth: Optional[int] = None,
business_status: Optional[str] = None,
connected_time: Optional[str] = None,
create_time: Optional[str] = None,
cross_border: Optional[bool] = None,
delete_health_check_ip: Optional[bool] = None,
description: Optional[str] = None,
end_time: Optional[str] = None,
has_reservation_data: Optional[str] = None,
hc_rate: Optional[int] = None,
hc_threshold: Optional[str] = None,
health_check_source_ip: Optional[str] = None,
health_check_target_ip: Optional[str] = None,
opposite_access_point_id: Optional[str] = None,
opposite_bandwidth: Optional[int] = None,
opposite_interface_business_status: Optional[str] = None,
opposite_interface_id: Optional[str] = None,
opposite_interface_owner_id: Optional[str] = None,
opposite_interface_spec: Optional[str] = None,
opposite_interface_status: Optional[str] = None,
opposite_region_id: Optional[str] = None,
opposite_router_id: Optional[str] = None,
opposite_router_type: Optional[str] = None,
opposite_vpc_instance_id: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
pricing_cycle: Optional[str] = None,
reservation_active_time: Optional[str] = None,
reservation_bandwidth: Optional[str] = None,
reservation_internet_charge_type: Optional[str] = None,
reservation_order_type: Optional[str] = None,
role: Optional[str] = None,
router_id: Optional[str] = None,
router_interface_id: Optional[str] = None,
router_interface_name: Optional[str] = None,
router_type: Optional[str] = None,
spec: Optional[str] = None,
status: Optional[str] = None,
vpc_instance_id: Optional[str] = None) -> RouterInterface
func GetRouterInterface(ctx *Context, name string, id IDInput, state *RouterInterfaceState, opts ...ResourceOption) (*RouterInterface, error)
public static RouterInterface Get(string name, Input<string> id, RouterInterfaceState? state, CustomResourceOptions? opts = null)
public static RouterInterface get(String name, Output<String> id, RouterInterfaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Point stringId - The access point ID to which the VBR belongs.
- Auto
Pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Bandwidth int
- The bandwidth of the resource.
- Business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Connected
Time string - The connected time of the resource.
- Create
Time string - The creation time of the resource.
- Cross
Border bool - The cross border of the resource.
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- Description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- End
Time string - The end time of the resource.
- Has
Reservation stringData - The has reservation data of the resource.
- Hc
Rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- Hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- Health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- Health
Check stringTarget Ip - The IP address for health screening purposes.
- Opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- Opposite
Bandwidth int - The opposite bandwidth of the router on the other side.
- Opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Opposite
Interface stringId - The Interface ID of the router at the other end.
- Opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- Opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- Opposite
Router stringId - The id of the router at the other end.
- Opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - Opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- Payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - Period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Reservation
Active stringTime - The reservation active time of the resource.
- Reservation
Bandwidth string - The reservation bandwidth of the resource.
- Reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- Reservation
Order stringType - The reservation order type of the resource.
- Role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - Router
Id string - The router id associated with the router interface.
- Router
Interface stringId - The first ID of the resource.
- Router
Interface stringName - The name of the resource.
- Router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - Spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Vpc
Instance stringId - The vpc instance id of the resource.
- Access
Point stringId - The access point ID to which the VBR belongs.
- Auto
Pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Bandwidth int
- The bandwidth of the resource.
- Business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Connected
Time string - The connected time of the resource.
- Create
Time string - The creation time of the resource.
- Cross
Border bool - The cross border of the resource.
- Delete
Health boolCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- Description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- End
Time string - The end time of the resource.
- Has
Reservation stringData - The has reservation data of the resource.
- Hc
Rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- Hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- Health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- Health
Check stringTarget Ip - The IP address for health screening purposes.
- Opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- Opposite
Bandwidth int - The opposite bandwidth of the router on the other side.
- Opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - Opposite
Interface stringId - The Interface ID of the router at the other end.
- Opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- Opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- Opposite
Router stringId - The id of the router at the other end.
- Opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - Opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- Payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - Period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- Reservation
Active stringTime - The reservation active time of the resource.
- Reservation
Bandwidth string - The reservation bandwidth of the resource.
- Reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- Reservation
Order stringType - The reservation order type of the resource.
- Role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - Router
Id string - The router id associated with the router interface.
- Router
Interface stringId - The first ID of the resource.
- Router
Interface stringName - The name of the resource.
- Router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - Spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - Status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - Vpc
Instance stringId - The vpc instance id of the resource.
- access
Point StringId - The access point ID to which the VBR belongs.
- auto
Pay Boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- bandwidth Integer
- The bandwidth of the resource.
- business
Status String - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time String - The connected time of the resource.
- create
Time String - The creation time of the resource.
- cross
Border Boolean - The cross border of the resource.
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description String
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- end
Time String - The end time of the resource.
- has
Reservation StringData - The has reservation data of the resource.
- hc
Rate Integer - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold String - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check StringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check StringTarget Ip - The IP address for health screening purposes.
- opposite
Access StringPoint Id - The Access point ID to which the other end belongs.
- opposite
Bandwidth Integer - The opposite bandwidth of the router on the other side.
- opposite
Interface StringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface StringId - The Interface ID of the router at the other end.
- opposite
Interface StringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Interface StringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface StringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Region StringId - The geographical ID of the location of the receiving end of the connection.
- opposite
Router StringId - The id of the router at the other end.
- opposite
Router StringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - opposite
Vpc StringInstance Id - The opposite vpc instance id of the router on the other side.
- payment
Type String - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period Integer
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle String - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- reservation
Active StringTime - The reservation active time of the resource.
- reservation
Bandwidth String - The reservation bandwidth of the resource.
- reservation
Internet StringCharge Type - The reservation internet charge type of the resource.
- reservation
Order StringType - The reservation order type of the resource.
- role String
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id String - The router id associated with the router interface.
- router
Interface StringId - The first ID of the resource.
- router
Interface StringName - The name of the resource.
- router
Type String - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec String
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - status String
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - vpc
Instance StringId - The vpc instance id of the resource.
- access
Point stringId - The access point ID to which the VBR belongs.
- auto
Pay boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- bandwidth number
- The bandwidth of the resource.
- business
Status string - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time string - The connected time of the resource.
- create
Time string - The creation time of the resource.
- cross
Border boolean - The cross border of the resource.
- delete
Health booleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description string
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- end
Time string - The end time of the resource.
- has
Reservation stringData - The has reservation data of the resource.
- hc
Rate number - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold string - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check stringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check stringTarget Ip - The IP address for health screening purposes.
- opposite
Access stringPoint Id - The Access point ID to which the other end belongs.
- opposite
Bandwidth number - The opposite bandwidth of the router on the other side.
- opposite
Interface stringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface stringId - The Interface ID of the router at the other end.
- opposite
Interface stringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Interface stringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface stringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Region stringId - The geographical ID of the location of the receiving end of the connection.
- opposite
Router stringId - The id of the router at the other end.
- opposite
Router stringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - opposite
Vpc stringInstance Id - The opposite vpc instance id of the router on the other side.
- payment
Type string - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period number
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle string - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- reservation
Active stringTime - The reservation active time of the resource.
- reservation
Bandwidth string - The reservation bandwidth of the resource.
- reservation
Internet stringCharge Type - The reservation internet charge type of the resource.
- reservation
Order stringType - The reservation order type of the resource.
- role string
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id string - The router id associated with the router interface.
- router
Interface stringId - The first ID of the resource.
- router
Interface stringName - The name of the resource.
- router
Type string - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec string
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - status string
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - vpc
Instance stringId - The vpc instance id of the resource.
- access_
point_ strid - The access point ID to which the VBR belongs.
- auto_
pay bool - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- bandwidth int
- The bandwidth of the resource.
- business_
status str - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected_
time str - The connected time of the resource.
- create_
time str - The creation time of the resource.
- cross_
border bool - The cross border of the resource.
- delete_
health_ boolcheck_ ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description str
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- end_
time str - The end time of the resource.
- has_
reservation_ strdata - The has reservation data of the resource.
- hc_
rate int - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc_
threshold str - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health_
check_ strsource_ ip - The health check source IP address, must be an unused IP within the local VPC.
- health_
check_ strtarget_ ip - The IP address for health screening purposes.
- opposite_
access_ strpoint_ id - The Access point ID to which the other end belongs.
- opposite_
bandwidth int - The opposite bandwidth of the router on the other side.
- opposite_
interface_ strbusiness_ status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite_
interface_ strid - The Interface ID of the router at the other end.
- opposite_
interface_ strowner_ id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite_
interface_ strspec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite_
interface_ strstatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite_
region_ strid - The geographical ID of the location of the receiving end of the connection.
- opposite_
router_ strid - The id of the router at the other end.
- opposite_
router_ strtype - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - opposite_
vpc_ strinstance_ id - The opposite vpc instance id of the router on the other side.
- payment_
type str - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period int
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing_
cycle str - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- reservation_
active_ strtime - The reservation active time of the resource.
- reservation_
bandwidth str - The reservation bandwidth of the resource.
- reservation_
internet_ strcharge_ type - The reservation internet charge type of the resource.
- reservation_
order_ strtype - The reservation order type of the resource.
- role str
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router_
id str - The router id associated with the router interface.
- router_
interface_ strid - The first ID of the resource.
- router_
interface_ strname - The name of the resource.
- router_
type str - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec str
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - status str
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - vpc_
instance_ strid - The vpc instance id of the resource.
- access
Point StringId - The access point ID to which the VBR belongs.
- auto
Pay Boolean - Whether to pay automatically, value:-false (default): automatic payment is not enabled. After generating an order, you need to complete the payment at the order center.-true: Enable automatic payment to automatically pay for orders.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- bandwidth Number
- The bandwidth of the resource.
- business
Status String - The businessStatus of the resource. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - connected
Time String - The connected time of the resource.
- create
Time String - The creation time of the resource.
- cross
Border Boolean - The cross border of the resource.
- delete
Health BooleanCheck Ip - Whether to delete the health check IP address configured on the router interface. Value:-true: deletes the health check IP address.-false (default): does not delete the health check IP address.
- description String
- The description of the router interface. The description must be 2 to 256 characters in length and cannot start with http:// or https://.
- end
Time String - The end time of the resource.
- has
Reservation StringData - The has reservation data of the resource.
- hc
Rate Number - The health check rate. Unit: seconds. The recommended value is 2. This indicates the interval between successive probe messages sent during the specified health check.
- hc
Threshold String - The health check thresholds. Unit: pcs. The recommended value is 8. This indicates the number of probe messages to be sent during the specified health check.
- health
Check StringSource Ip - The health check source IP address, must be an unused IP within the local VPC.
- health
Check StringTarget Ip - The IP address for health screening purposes.
- opposite
Access StringPoint Id - The Access point ID to which the other end belongs.
- opposite
Bandwidth Number - The opposite bandwidth of the router on the other side.
- opposite
Interface StringBusiness Status - The opposite interface business status of the router on the other side. Valid Values:
Normal
,FinancialLocked
,SecurityLocked
. - opposite
Interface StringId - The Interface ID of the router at the other end.
- opposite
Interface StringOwner Id - The AliCloud account ID of the owner of the router interface on the other end.
- opposite
Interface StringSpec - The opposite interface spec of the router on the other side. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - opposite
Interface StringStatus - The opposite interface status of the router on the other side. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - opposite
Region StringId - The geographical ID of the location of the receiving end of the connection.
- opposite
Router StringId - The id of the router at the other end.
- opposite
Router StringType - The opposite router type of the router on the other side. Valid Values:
VRouter
,VBR
. - opposite
Vpc StringInstance Id - The opposite vpc instance id of the router on the other side.
- payment
Type String - The payment methods for router interfaces. Valid Values:
PayAsYouGo
,Subscription
. - period Number
- Purchase duration, value:-When you choose to pay on a monthly basis, the value range is **1 to 9 * *.-When you choose to pay per year, the value range is **1 to 3 * *.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- pricing
Cycle String - The billing cycle of the prepaid fee. Valid values:-Month (default): monthly payment.-Year: Pay per Year.> InstanceChargeType is required when the value of the parameter is **PrePaid.
- reservation
Active StringTime - The reservation active time of the resource.
- reservation
Bandwidth String - The reservation bandwidth of the resource.
- reservation
Internet StringCharge Type - The reservation internet charge type of the resource.
- reservation
Order StringType - The reservation order type of the resource.
- role String
- The role of the router interface. Valid Values:
InitiatingSide
,AcceptingSide
. - router
Id String - The router id associated with the router interface.
- router
Interface StringId - The first ID of the resource.
- router
Interface StringName - The name of the resource.
- router
Type String - The type of router associated with the router interface. Valid Values:
VRouter
,VBR
. - spec String
- The specification of the router interface. Valid Values:
Mini.2
,Mini.5
,Mini.5
,Small.2
,Small.5
,Middle.1
,Middle.2
,Middle.5
,Large.1
,Large.2
,Large.5
,XLarge.1
,Negative
. - status String
- The status of the resource. Valid Values:
Idle
,AcceptingConnecting
,Connecting
,Activating
,Active
,Modifying
,Deactivating
,Inactive
,Deleting
. - vpc
Instance StringId - The vpc instance id of the resource.
Import
Express Connect Router Interface can be imported using the id, e.g.
$ pulumi import alicloud:expressconnect/routerInterface:RouterInterface example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.