1. Packages
  2. Volcengine
  3. API Docs
  4. direct_connect
  5. VirtualInterface
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.direct_connect.VirtualInterface

Explore with Pulumi AI

Provides a resource to manage direct connect virtual interface

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";

const foo = new volcengine.direct_connect.VirtualInterface("foo", {
    description: "tf-test",
    directConnectConnectionId: "dcc-rtkzeotzst1cu3numzi****",
    directConnectGatewayId: "dcg-638x4bjvjawwn3gd5xw****",
    enableBfd: false,
    localIp: "**.**.**.**/**",
    peerIp: "**.**.**.**/**",
    routeType: "Static",
    tags: [{
        key: "k1",
        value: "v1",
    }],
    virtualInterfaceName: "tf-test-vi",
    vlanId: 2,
});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.direct_connect.VirtualInterface("foo",
    description="tf-test",
    direct_connect_connection_id="dcc-rtkzeotzst1cu3numzi****",
    direct_connect_gateway_id="dcg-638x4bjvjawwn3gd5xw****",
    enable_bfd=False,
    local_ip="**.**.**.**/**",
    peer_ip="**.**.**.**/**",
    route_type="Static",
    tags=[volcengine.direct_connect.VirtualInterfaceTagArgs(
        key="k1",
        value="v1",
    )],
    virtual_interface_name="tf-test-vi",
    vlan_id=2)
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/direct_connect"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := direct_connect.NewVirtualInterface(ctx, "foo", &direct_connect.VirtualInterfaceArgs{
			Description:               pulumi.String("tf-test"),
			DirectConnectConnectionId: pulumi.String("dcc-rtkzeotzst1cu3numzi****"),
			DirectConnectGatewayId:    pulumi.String("dcg-638x4bjvjawwn3gd5xw****"),
			EnableBfd:                 pulumi.Bool(false),
			LocalIp:                   pulumi.String("**.**.**.**/**"),
			PeerIp:                    pulumi.String("**.**.**.**/**"),
			RouteType:                 pulumi.String("Static"),
			Tags: direct_connect.VirtualInterfaceTagArray{
				&direct_connect.VirtualInterfaceTagArgs{
					Key:   pulumi.String("k1"),
					Value: pulumi.String("v1"),
				},
			},
			VirtualInterfaceName: pulumi.String("tf-test-vi"),
			VlanId:               pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = new Volcengine.Direct_connect.VirtualInterface("foo", new()
    {
        Description = "tf-test",
        DirectConnectConnectionId = "dcc-rtkzeotzst1cu3numzi****",
        DirectConnectGatewayId = "dcg-638x4bjvjawwn3gd5xw****",
        EnableBfd = false,
        LocalIp = "**.**.**.**/**",
        PeerIp = "**.**.**.**/**",
        RouteType = "Static",
        Tags = new[]
        {
            new Volcengine.Direct_connect.Inputs.VirtualInterfaceTagArgs
            {
                Key = "k1",
                Value = "v1",
            },
        },
        VirtualInterfaceName = "tf-test-vi",
        VlanId = 2,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.direct_connect.VirtualInterface;
import com.pulumi.volcengine.direct_connect.VirtualInterfaceArgs;
import com.pulumi.volcengine.direct_connect.inputs.VirtualInterfaceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var foo = new VirtualInterface("foo", VirtualInterfaceArgs.builder()        
            .description("tf-test")
            .directConnectConnectionId("dcc-rtkzeotzst1cu3numzi****")
            .directConnectGatewayId("dcg-638x4bjvjawwn3gd5xw****")
            .enableBfd(false)
            .localIp("**.**.**.**/**")
            .peerIp("**.**.**.**/**")
            .routeType("Static")
            .tags(VirtualInterfaceTagArgs.builder()
                .key("k1")
                .value("v1")
                .build())
            .virtualInterfaceName("tf-test-vi")
            .vlanId(2)
            .build());

    }
}
Copy
resources:
  foo:
    type: volcengine:direct_connect:VirtualInterface
    properties:
      description: tf-test
      directConnectConnectionId: dcc-rtkzeotzst1cu3numzi****
      directConnectGatewayId: dcg-638x4bjvjawwn3gd5xw****
      enableBfd: false
      localIp: '**.**.**.**/**'
      peerIp: '**.**.**.**/**'
      routeType: Static
      tags:
        - key: k1
          value: v1
      virtualInterfaceName: tf-test-vi
      vlanId: 2
Copy

Create VirtualInterface Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new VirtualInterface(name: string, args: VirtualInterfaceArgs, opts?: CustomResourceOptions);
@overload
def VirtualInterface(resource_name: str,
                     args: VirtualInterfaceArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def VirtualInterface(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     local_ip: Optional[str] = None,
                     direct_connect_gateway_id: Optional[str] = None,
                     vlan_id: Optional[int] = None,
                     peer_ip: Optional[str] = None,
                     direct_connect_connection_id: Optional[str] = None,
                     nqa_detect_interval: Optional[int] = None,
                     bfd_detect_interval: Optional[int] = None,
                     enable_bfd: Optional[bool] = None,
                     bandwidth: Optional[int] = None,
                     enable_nqa: Optional[bool] = None,
                     nqa_detect_multiplier: Optional[int] = None,
                     description: Optional[str] = None,
                     route_type: Optional[str] = None,
                     tags: Optional[Sequence[VirtualInterfaceTagArgs]] = None,
                     virtual_interface_name: Optional[str] = None,
                     bfd_detect_multiplier: Optional[int] = None)
func NewVirtualInterface(ctx *Context, name string, args VirtualInterfaceArgs, opts ...ResourceOption) (*VirtualInterface, error)
public VirtualInterface(string name, VirtualInterfaceArgs args, CustomResourceOptions? opts = null)
public VirtualInterface(String name, VirtualInterfaceArgs args)
public VirtualInterface(String name, VirtualInterfaceArgs args, CustomResourceOptions options)
type: volcengine:direct_connect:VirtualInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VirtualInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VirtualInterfaceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VirtualInterfaceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VirtualInterfaceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VirtualInterfaceArgs
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 virtualInterfaceResource = new Volcengine.Direct_connect.VirtualInterface("virtualInterfaceResource", new()
{
    LocalIp = "string",
    DirectConnectGatewayId = "string",
    VlanId = 0,
    PeerIp = "string",
    DirectConnectConnectionId = "string",
    NqaDetectInterval = 0,
    BfdDetectInterval = 0,
    EnableBfd = false,
    Bandwidth = 0,
    EnableNqa = false,
    NqaDetectMultiplier = 0,
    Description = "string",
    RouteType = "string",
    Tags = new[]
    {
        new Volcengine.Direct_connect.Inputs.VirtualInterfaceTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    VirtualInterfaceName = "string",
    BfdDetectMultiplier = 0,
});
Copy
example, err := direct_connect.NewVirtualInterface(ctx, "virtualInterfaceResource", &direct_connect.VirtualInterfaceArgs{
	LocalIp:                   pulumi.String("string"),
	DirectConnectGatewayId:    pulumi.String("string"),
	VlanId:                    pulumi.Int(0),
	PeerIp:                    pulumi.String("string"),
	DirectConnectConnectionId: pulumi.String("string"),
	NqaDetectInterval:         pulumi.Int(0),
	BfdDetectInterval:         pulumi.Int(0),
	EnableBfd:                 pulumi.Bool(false),
	Bandwidth:                 pulumi.Int(0),
	EnableNqa:                 pulumi.Bool(false),
	NqaDetectMultiplier:       pulumi.Int(0),
	Description:               pulumi.String("string"),
	RouteType:                 pulumi.String("string"),
	Tags: direct_connect.VirtualInterfaceTagArray{
		&direct_connect.VirtualInterfaceTagArgs{
			Key:   pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	VirtualInterfaceName: pulumi.String("string"),
	BfdDetectMultiplier:  pulumi.Int(0),
})
Copy
var virtualInterfaceResource = new VirtualInterface("virtualInterfaceResource", VirtualInterfaceArgs.builder()
    .localIp("string")
    .directConnectGatewayId("string")
    .vlanId(0)
    .peerIp("string")
    .directConnectConnectionId("string")
    .nqaDetectInterval(0)
    .bfdDetectInterval(0)
    .enableBfd(false)
    .bandwidth(0)
    .enableNqa(false)
    .nqaDetectMultiplier(0)
    .description("string")
    .routeType("string")
    .tags(VirtualInterfaceTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .virtualInterfaceName("string")
    .bfdDetectMultiplier(0)
    .build());
Copy
virtual_interface_resource = volcengine.direct_connect.VirtualInterface("virtualInterfaceResource",
    local_ip="string",
    direct_connect_gateway_id="string",
    vlan_id=0,
    peer_ip="string",
    direct_connect_connection_id="string",
    nqa_detect_interval=0,
    bfd_detect_interval=0,
    enable_bfd=False,
    bandwidth=0,
    enable_nqa=False,
    nqa_detect_multiplier=0,
    description="string",
    route_type="string",
    tags=[{
        "key": "string",
        "value": "string",
    }],
    virtual_interface_name="string",
    bfd_detect_multiplier=0)
Copy
const virtualInterfaceResource = new volcengine.direct_connect.VirtualInterface("virtualInterfaceResource", {
    localIp: "string",
    directConnectGatewayId: "string",
    vlanId: 0,
    peerIp: "string",
    directConnectConnectionId: "string",
    nqaDetectInterval: 0,
    bfdDetectInterval: 0,
    enableBfd: false,
    bandwidth: 0,
    enableNqa: false,
    nqaDetectMultiplier: 0,
    description: "string",
    routeType: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
    virtualInterfaceName: "string",
    bfdDetectMultiplier: 0,
});
Copy
type: volcengine:direct_connect:VirtualInterface
properties:
    bandwidth: 0
    bfdDetectInterval: 0
    bfdDetectMultiplier: 0
    description: string
    directConnectConnectionId: string
    directConnectGatewayId: string
    enableBfd: false
    enableNqa: false
    localIp: string
    nqaDetectInterval: 0
    nqaDetectMultiplier: 0
    peerIp: string
    routeType: string
    tags:
        - key: string
          value: string
    virtualInterfaceName: string
    vlanId: 0
Copy

VirtualInterface 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 VirtualInterface resource accepts the following input properties:

DirectConnectConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect connection ID which associated with.
DirectConnectGatewayId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect gateway ID which associated with.
LocalIp
This property is required.
Changes to this property will trigger replacement.
string
The local IP that associated with.
PeerIp
This property is required.
Changes to this property will trigger replacement.
string
The peer IP that associated with.
VlanId
This property is required.
Changes to this property will trigger replacement.
int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
Bandwidth int
The band width limit of virtual interface,in Mbps.
BfdDetectInterval int
The BFD detect interval.
BfdDetectMultiplier int
The BFD detect times.
Description string
The description of virtual interface.
EnableBfd bool
Whether enable BFD detect.
EnableNqa bool
Whether enable NQA detect.
NqaDetectInterval int
The NQA detect interval.
NqaDetectMultiplier int
The NAQ detect times.
RouteType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
Tags List<VirtualInterfaceTag>
The tags that direct connect gateway added.
VirtualInterfaceName string
The name of virtual interface.
DirectConnectConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect connection ID which associated with.
DirectConnectGatewayId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect gateway ID which associated with.
LocalIp
This property is required.
Changes to this property will trigger replacement.
string
The local IP that associated with.
PeerIp
This property is required.
Changes to this property will trigger replacement.
string
The peer IP that associated with.
VlanId
This property is required.
Changes to this property will trigger replacement.
int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
Bandwidth int
The band width limit of virtual interface,in Mbps.
BfdDetectInterval int
The BFD detect interval.
BfdDetectMultiplier int
The BFD detect times.
Description string
The description of virtual interface.
EnableBfd bool
Whether enable BFD detect.
EnableNqa bool
Whether enable NQA detect.
NqaDetectInterval int
The NQA detect interval.
NqaDetectMultiplier int
The NAQ detect times.
RouteType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
Tags []VirtualInterfaceTagArgs
The tags that direct connect gateway added.
VirtualInterfaceName string
The name of virtual interface.
directConnectConnectionId
This property is required.
Changes to this property will trigger replacement.
String
The direct connect connection ID which associated with.
directConnectGatewayId
This property is required.
Changes to this property will trigger replacement.
String
The direct connect gateway ID which associated with.
localIp
This property is required.
Changes to this property will trigger replacement.
String
The local IP that associated with.
peerIp
This property is required.
Changes to this property will trigger replacement.
String
The peer IP that associated with.
vlanId
This property is required.
Changes to this property will trigger replacement.
Integer
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth Integer
The band width limit of virtual interface,in Mbps.
bfdDetectInterval Integer
The BFD detect interval.
bfdDetectMultiplier Integer
The BFD detect times.
description String
The description of virtual interface.
enableBfd Boolean
Whether enable BFD detect.
enableNqa Boolean
Whether enable NQA detect.
nqaDetectInterval Integer
The NQA detect interval.
nqaDetectMultiplier Integer
The NAQ detect times.
routeType Changes to this property will trigger replacement. String
The route type of virtual interface,valid value contains Static,BGP.
tags List<VirtualInterfaceTag>
The tags that direct connect gateway added.
virtualInterfaceName String
The name of virtual interface.
directConnectConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect connection ID which associated with.
directConnectGatewayId
This property is required.
Changes to this property will trigger replacement.
string
The direct connect gateway ID which associated with.
localIp
This property is required.
Changes to this property will trigger replacement.
string
The local IP that associated with.
peerIp
This property is required.
Changes to this property will trigger replacement.
string
The peer IP that associated with.
vlanId
This property is required.
Changes to this property will trigger replacement.
number
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth number
The band width limit of virtual interface,in Mbps.
bfdDetectInterval number
The BFD detect interval.
bfdDetectMultiplier number
The BFD detect times.
description string
The description of virtual interface.
enableBfd boolean
Whether enable BFD detect.
enableNqa boolean
Whether enable NQA detect.
nqaDetectInterval number
The NQA detect interval.
nqaDetectMultiplier number
The NAQ detect times.
routeType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
tags VirtualInterfaceTag[]
The tags that direct connect gateway added.
virtualInterfaceName string
The name of virtual interface.
direct_connect_connection_id
This property is required.
Changes to this property will trigger replacement.
str
The direct connect connection ID which associated with.
direct_connect_gateway_id
This property is required.
Changes to this property will trigger replacement.
str
The direct connect gateway ID which associated with.
local_ip
This property is required.
Changes to this property will trigger replacement.
str
The local IP that associated with.
peer_ip
This property is required.
Changes to this property will trigger replacement.
str
The peer IP that associated with.
vlan_id
This property is required.
Changes to this property will trigger replacement.
int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth int
The band width limit of virtual interface,in Mbps.
bfd_detect_interval int
The BFD detect interval.
bfd_detect_multiplier int
The BFD detect times.
description str
The description of virtual interface.
enable_bfd bool
Whether enable BFD detect.
enable_nqa bool
Whether enable NQA detect.
nqa_detect_interval int
The NQA detect interval.
nqa_detect_multiplier int
The NAQ detect times.
route_type Changes to this property will trigger replacement. str
The route type of virtual interface,valid value contains Static,BGP.
tags Sequence[VirtualInterfaceTagArgs]
The tags that direct connect gateway added.
virtual_interface_name str
The name of virtual interface.
directConnectConnectionId
This property is required.
Changes to this property will trigger replacement.
String
The direct connect connection ID which associated with.
directConnectGatewayId
This property is required.
Changes to this property will trigger replacement.
String
The direct connect gateway ID which associated with.
localIp
This property is required.
Changes to this property will trigger replacement.
String
The local IP that associated with.
peerIp
This property is required.
Changes to this property will trigger replacement.
String
The peer IP that associated with.
vlanId
This property is required.
Changes to this property will trigger replacement.
Number
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth Number
The band width limit of virtual interface,in Mbps.
bfdDetectInterval Number
The BFD detect interval.
bfdDetectMultiplier Number
The BFD detect times.
description String
The description of virtual interface.
enableBfd Boolean
Whether enable BFD detect.
enableNqa Boolean
Whether enable NQA detect.
nqaDetectInterval Number
The NQA detect interval.
nqaDetectMultiplier Number
The NAQ detect times.
routeType Changes to this property will trigger replacement. String
The route type of virtual interface,valid value contains Static,BGP.
tags List<Property Map>
The tags that direct connect gateway added.
virtualInterfaceName String
The name of virtual interface.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing VirtualInterface Resource

Get an existing VirtualInterface 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?: VirtualInterfaceState, opts?: CustomResourceOptions): VirtualInterface
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bandwidth: Optional[int] = None,
        bfd_detect_interval: Optional[int] = None,
        bfd_detect_multiplier: Optional[int] = None,
        description: Optional[str] = None,
        direct_connect_connection_id: Optional[str] = None,
        direct_connect_gateway_id: Optional[str] = None,
        enable_bfd: Optional[bool] = None,
        enable_nqa: Optional[bool] = None,
        local_ip: Optional[str] = None,
        nqa_detect_interval: Optional[int] = None,
        nqa_detect_multiplier: Optional[int] = None,
        peer_ip: Optional[str] = None,
        route_type: Optional[str] = None,
        tags: Optional[Sequence[VirtualInterfaceTagArgs]] = None,
        virtual_interface_name: Optional[str] = None,
        vlan_id: Optional[int] = None) -> VirtualInterface
func GetVirtualInterface(ctx *Context, name string, id IDInput, state *VirtualInterfaceState, opts ...ResourceOption) (*VirtualInterface, error)
public static VirtualInterface Get(string name, Input<string> id, VirtualInterfaceState? state, CustomResourceOptions? opts = null)
public static VirtualInterface get(String name, Output<String> id, VirtualInterfaceState state, CustomResourceOptions options)
resources:  _:    type: volcengine:direct_connect:VirtualInterface    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Bandwidth int
The band width limit of virtual interface,in Mbps.
BfdDetectInterval int
The BFD detect interval.
BfdDetectMultiplier int
The BFD detect times.
Description string
The description of virtual interface.
DirectConnectConnectionId Changes to this property will trigger replacement. string
The direct connect connection ID which associated with.
DirectConnectGatewayId Changes to this property will trigger replacement. string
The direct connect gateway ID which associated with.
EnableBfd bool
Whether enable BFD detect.
EnableNqa bool
Whether enable NQA detect.
LocalIp Changes to this property will trigger replacement. string
The local IP that associated with.
NqaDetectInterval int
The NQA detect interval.
NqaDetectMultiplier int
The NAQ detect times.
PeerIp Changes to this property will trigger replacement. string
The peer IP that associated with.
RouteType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
Tags List<VirtualInterfaceTag>
The tags that direct connect gateway added.
VirtualInterfaceName string
The name of virtual interface.
VlanId Changes to this property will trigger replacement. int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
Bandwidth int
The band width limit of virtual interface,in Mbps.
BfdDetectInterval int
The BFD detect interval.
BfdDetectMultiplier int
The BFD detect times.
Description string
The description of virtual interface.
DirectConnectConnectionId Changes to this property will trigger replacement. string
The direct connect connection ID which associated with.
DirectConnectGatewayId Changes to this property will trigger replacement. string
The direct connect gateway ID which associated with.
EnableBfd bool
Whether enable BFD detect.
EnableNqa bool
Whether enable NQA detect.
LocalIp Changes to this property will trigger replacement. string
The local IP that associated with.
NqaDetectInterval int
The NQA detect interval.
NqaDetectMultiplier int
The NAQ detect times.
PeerIp Changes to this property will trigger replacement. string
The peer IP that associated with.
RouteType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
Tags []VirtualInterfaceTagArgs
The tags that direct connect gateway added.
VirtualInterfaceName string
The name of virtual interface.
VlanId Changes to this property will trigger replacement. int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth Integer
The band width limit of virtual interface,in Mbps.
bfdDetectInterval Integer
The BFD detect interval.
bfdDetectMultiplier Integer
The BFD detect times.
description String
The description of virtual interface.
directConnectConnectionId Changes to this property will trigger replacement. String
The direct connect connection ID which associated with.
directConnectGatewayId Changes to this property will trigger replacement. String
The direct connect gateway ID which associated with.
enableBfd Boolean
Whether enable BFD detect.
enableNqa Boolean
Whether enable NQA detect.
localIp Changes to this property will trigger replacement. String
The local IP that associated with.
nqaDetectInterval Integer
The NQA detect interval.
nqaDetectMultiplier Integer
The NAQ detect times.
peerIp Changes to this property will trigger replacement. String
The peer IP that associated with.
routeType Changes to this property will trigger replacement. String
The route type of virtual interface,valid value contains Static,BGP.
tags List<VirtualInterfaceTag>
The tags that direct connect gateway added.
virtualInterfaceName String
The name of virtual interface.
vlanId Changes to this property will trigger replacement. Integer
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth number
The band width limit of virtual interface,in Mbps.
bfdDetectInterval number
The BFD detect interval.
bfdDetectMultiplier number
The BFD detect times.
description string
The description of virtual interface.
directConnectConnectionId Changes to this property will trigger replacement. string
The direct connect connection ID which associated with.
directConnectGatewayId Changes to this property will trigger replacement. string
The direct connect gateway ID which associated with.
enableBfd boolean
Whether enable BFD detect.
enableNqa boolean
Whether enable NQA detect.
localIp Changes to this property will trigger replacement. string
The local IP that associated with.
nqaDetectInterval number
The NQA detect interval.
nqaDetectMultiplier number
The NAQ detect times.
peerIp Changes to this property will trigger replacement. string
The peer IP that associated with.
routeType Changes to this property will trigger replacement. string
The route type of virtual interface,valid value contains Static,BGP.
tags VirtualInterfaceTag[]
The tags that direct connect gateway added.
virtualInterfaceName string
The name of virtual interface.
vlanId Changes to this property will trigger replacement. number
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth int
The band width limit of virtual interface,in Mbps.
bfd_detect_interval int
The BFD detect interval.
bfd_detect_multiplier int
The BFD detect times.
description str
The description of virtual interface.
direct_connect_connection_id Changes to this property will trigger replacement. str
The direct connect connection ID which associated with.
direct_connect_gateway_id Changes to this property will trigger replacement. str
The direct connect gateway ID which associated with.
enable_bfd bool
Whether enable BFD detect.
enable_nqa bool
Whether enable NQA detect.
local_ip Changes to this property will trigger replacement. str
The local IP that associated with.
nqa_detect_interval int
The NQA detect interval.
nqa_detect_multiplier int
The NAQ detect times.
peer_ip Changes to this property will trigger replacement. str
The peer IP that associated with.
route_type Changes to this property will trigger replacement. str
The route type of virtual interface,valid value contains Static,BGP.
tags Sequence[VirtualInterfaceTagArgs]
The tags that direct connect gateway added.
virtual_interface_name str
The name of virtual interface.
vlan_id Changes to this property will trigger replacement. int
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
bandwidth Number
The band width limit of virtual interface,in Mbps.
bfdDetectInterval Number
The BFD detect interval.
bfdDetectMultiplier Number
The BFD detect times.
description String
The description of virtual interface.
directConnectConnectionId Changes to this property will trigger replacement. String
The direct connect connection ID which associated with.
directConnectGatewayId Changes to this property will trigger replacement. String
The direct connect gateway ID which associated with.
enableBfd Boolean
Whether enable BFD detect.
enableNqa Boolean
Whether enable NQA detect.
localIp Changes to this property will trigger replacement. String
The local IP that associated with.
nqaDetectInterval Number
The NQA detect interval.
nqaDetectMultiplier Number
The NAQ detect times.
peerIp Changes to this property will trigger replacement. String
The peer IP that associated with.
routeType Changes to this property will trigger replacement. String
The route type of virtual interface,valid value contains Static,BGP.
tags List<Property Map>
The tags that direct connect gateway added.
virtualInterfaceName String
The name of virtual interface.
vlanId Changes to this property will trigger replacement. Number
The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.

Supporting Types

VirtualInterfaceTag
, VirtualInterfaceTagArgs

Key string
The tag key.
Value string
The tag value.
Key string
The tag key.
Value string
The tag value.
key String
The tag key.
value String
The tag value.
key string
The tag key.
value string
The tag value.
key str
The tag key.
value str
The tag value.
key String
The tag key.
value String
The tag value.

Import

DirectConnectVirtualInterface can be imported using the id, e.g.

$ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.