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,
});
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)
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
	})
}
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,
    });
});
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());
    }
}
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
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,
                     enable_bfd: Optional[bool] = None,
                     bfd_detect_interval: Optional[int] = None,
                     enable_nqa: Optional[bool] = None,
                     bandwidth: Optional[int] = None,
                     nqa_detect_interval: Optional[int] = 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 string
- The unique name of the resource.
- args VirtualInterfaceArgs
- 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 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 string
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
    EnableBfd = false,
    BfdDetectInterval = 0,
    EnableNqa = false,
    Bandwidth = 0,
    NqaDetectInterval = 0,
    NqaDetectMultiplier = 0,
    Description = "string",
    RouteType = "string",
    Tags = new[]
    {
        new Volcengine.Direct_connect.Inputs.VirtualInterfaceTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
    VirtualInterfaceName = "string",
    BfdDetectMultiplier = 0,
});
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"),
	EnableBfd:                 pulumi.Bool(false),
	BfdDetectInterval:         pulumi.Int(0),
	EnableNqa:                 pulumi.Bool(false),
	Bandwidth:                 pulumi.Int(0),
	NqaDetectInterval:         pulumi.Int(0),
	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),
})
var virtualInterfaceResource = new VirtualInterface("virtualInterfaceResource", VirtualInterfaceArgs.builder()
    .localIp("string")
    .directConnectGatewayId("string")
    .vlanId(0)
    .peerIp("string")
    .directConnectConnectionId("string")
    .enableBfd(false)
    .bfdDetectInterval(0)
    .enableNqa(false)
    .bandwidth(0)
    .nqaDetectInterval(0)
    .nqaDetectMultiplier(0)
    .description("string")
    .routeType("string")
    .tags(VirtualInterfaceTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .virtualInterfaceName("string")
    .bfdDetectMultiplier(0)
    .build());
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",
    enable_bfd=False,
    bfd_detect_interval=0,
    enable_nqa=False,
    bandwidth=0,
    nqa_detect_interval=0,
    nqa_detect_multiplier=0,
    description="string",
    route_type="string",
    tags=[{
        "key": "string",
        "value": "string",
    }],
    virtual_interface_name="string",
    bfd_detect_multiplier=0)
const virtualInterfaceResource = new volcengine.direct_connect.VirtualInterface("virtualInterfaceResource", {
    localIp: "string",
    directConnectGatewayId: "string",
    vlanId: 0,
    peerIp: "string",
    directConnectConnectionId: "string",
    enableBfd: false,
    bfdDetectInterval: 0,
    enableNqa: false,
    bandwidth: 0,
    nqaDetectInterval: 0,
    nqaDetectMultiplier: 0,
    description: "string",
    routeType: "string",
    tags: [{
        key: "string",
        value: "string",
    }],
    virtualInterfaceName: "string",
    bfdDetectMultiplier: 0,
});
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
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:
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- LocalIp string
- The local IP that associated with.
- PeerIp string
- The peer IP that associated with.
- VlanId 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.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- Description string
- The description of virtual interface.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- RouteType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
List<VirtualInterface Tag> 
- The tags that direct connect gateway added.
- VirtualInterface stringName 
- The name of virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- LocalIp string
- The local IP that associated with.
- PeerIp string
- The peer IP that associated with.
- VlanId 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.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- Description string
- The description of virtual interface.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- RouteType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
[]VirtualInterface Tag Args 
- The tags that direct connect gateway added.
- VirtualInterface stringName 
- The name of virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with.
- localIp String
- The local IP that associated with.
- peerIp String
- The peer IP that associated with.
- vlanId 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.
- bfdDetect IntegerInterval 
- The BFD detect interval.
- bfdDetect IntegerMultiplier 
- The BFD detect times.
- description String
- The description of virtual interface.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- nqaDetect IntegerInterval 
- The NQA detect interval.
- nqaDetect IntegerMultiplier 
- The NAQ detect times.
- routeType String
- The route type of virtual interface,valid value contains Static,BGP.
- 
List<VirtualInterface Tag> 
- The tags that direct connect gateway added.
- virtualInterface StringName 
- The name of virtual interface.
- directConnect stringConnection Id 
- The direct connect connection ID which associated with.
- directConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- localIp string
- The local IP that associated with.
- peerIp string
- The peer IP that associated with.
- vlanId 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.
- bfdDetect numberInterval 
- The BFD detect interval.
- bfdDetect numberMultiplier 
- The BFD detect times.
- description string
- The description of virtual interface.
- enableBfd boolean
- Whether enable BFD detect.
- enableNqa boolean
- Whether enable NQA detect.
- nqaDetect numberInterval 
- The NQA detect interval.
- nqaDetect numberMultiplier 
- The NAQ detect times.
- routeType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
VirtualInterface Tag[] 
- The tags that direct connect gateway added.
- virtualInterface stringName 
- The name of virtual interface.
- direct_connect_ strconnection_ id 
- The direct connect connection ID which associated with.
- direct_connect_ strgateway_ id 
- The direct connect gateway ID which associated with.
- local_ip str
- The local IP that associated with.
- peer_ip str
- The peer IP that associated with.
- vlan_id 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_ intinterval 
- The BFD detect interval.
- bfd_detect_ intmultiplier 
- 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_ intinterval 
- The NQA detect interval.
- nqa_detect_ intmultiplier 
- The NAQ detect times.
- route_type str
- The route type of virtual interface,valid value contains Static,BGP.
- 
Sequence[VirtualInterface Tag Args] 
- The tags that direct connect gateway added.
- virtual_interface_ strname 
- The name of virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with.
- localIp String
- The local IP that associated with.
- peerIp String
- The peer IP that associated with.
- vlanId 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.
- bfdDetect NumberInterval 
- The BFD detect interval.
- bfdDetect NumberMultiplier 
- The BFD detect times.
- description String
- The description of virtual interface.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- nqaDetect NumberInterval 
- The NQA detect interval.
- nqaDetect NumberMultiplier 
- The NAQ detect times.
- routeType String
- The route type of virtual interface,valid value contains Static,BGP.
- List<Property Map>
- The tags that direct connect gateway added.
- virtualInterface StringName 
- 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) -> VirtualInterfacefunc 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
- 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.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- Description string
- The description of virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- LocalIp string
- The local IP that associated with.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- PeerIp string
- The peer IP that associated with.
- RouteType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
List<VirtualInterface Tag> 
- The tags that direct connect gateway added.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId 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.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- Description string
- The description of virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- LocalIp string
- The local IP that associated with.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- PeerIp string
- The peer IP that associated with.
- RouteType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
[]VirtualInterface Tag Args 
- The tags that direct connect gateway added.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId 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.
- bfdDetect IntegerInterval 
- The BFD detect interval.
- bfdDetect IntegerMultiplier 
- The BFD detect times.
- description String
- The description of virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- localIp String
- The local IP that associated with.
- nqaDetect IntegerInterval 
- The NQA detect interval.
- nqaDetect IntegerMultiplier 
- The NAQ detect times.
- peerIp String
- The peer IP that associated with.
- routeType String
- The route type of virtual interface,valid value contains Static,BGP.
- 
List<VirtualInterface Tag> 
- The tags that direct connect gateway added.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId 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.
- bfdDetect numberInterval 
- The BFD detect interval.
- bfdDetect numberMultiplier 
- The BFD detect times.
- description string
- The description of virtual interface.
- directConnect stringConnection Id 
- The direct connect connection ID which associated with.
- directConnect stringGateway Id 
- The direct connect gateway ID which associated with.
- enableBfd boolean
- Whether enable BFD detect.
- enableNqa boolean
- Whether enable NQA detect.
- localIp string
- The local IP that associated with.
- nqaDetect numberInterval 
- The NQA detect interval.
- nqaDetect numberMultiplier 
- The NAQ detect times.
- peerIp string
- The peer IP that associated with.
- routeType string
- The route type of virtual interface,valid value contains Static,BGP.
- 
VirtualInterface Tag[] 
- The tags that direct connect gateway added.
- virtualInterface stringName 
- The name of virtual interface.
- vlanId 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_ intinterval 
- The BFD detect interval.
- bfd_detect_ intmultiplier 
- The BFD detect times.
- description str
- The description of virtual interface.
- direct_connect_ strconnection_ id 
- The direct connect connection ID which associated with.
- direct_connect_ strgateway_ id 
- The direct connect gateway ID which associated with.
- enable_bfd bool
- Whether enable BFD detect.
- enable_nqa bool
- Whether enable NQA detect.
- local_ip str
- The local IP that associated with.
- nqa_detect_ intinterval 
- The NQA detect interval.
- nqa_detect_ intmultiplier 
- The NAQ detect times.
- peer_ip str
- The peer IP that associated with.
- route_type str
- The route type of virtual interface,valid value contains Static,BGP.
- 
Sequence[VirtualInterface Tag Args] 
- The tags that direct connect gateway added.
- virtual_interface_ strname 
- The name of virtual interface.
- vlan_id 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.
- bfdDetect NumberInterval 
- The BFD detect interval.
- bfdDetect NumberMultiplier 
- The BFD detect times.
- description String
- The description of virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- localIp String
- The local IP that associated with.
- nqaDetect NumberInterval 
- The NQA detect interval.
- nqaDetect NumberMultiplier 
- The NAQ detect times.
- peerIp String
- The peer IP that associated with.
- routeType String
- The route type of virtual interface,valid value contains Static,BGP.
- List<Property Map>
- The tags that direct connect gateway added.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId 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      
Import
DirectConnectVirtualInterface can be imported using the id, e.g.
$ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id
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 volcengineTerraform Provider.