Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
Use this data source to query detailed information of direct connect virtual interfaces
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.getVirtualInterfaces({
virtualInterfaceName: "tf-test",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.get_virtual_interfaces(virtual_interface_name="tf-test")
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.GetVirtualInterfaces(ctx, &direct_connect.GetVirtualInterfacesArgs{
VirtualInterfaceName: pulumi.StringRef("tf-test"),
}, nil)
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 = Volcengine.Direct_connect.GetVirtualInterfaces.Invoke(new()
{
VirtualInterfaceName = "tf-test",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.direct_connect.Direct_connectFunctions;
import com.pulumi.volcengine.direct_connect.inputs.GetVirtualInterfacesArgs;
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 foo = Direct_connectFunctions.getVirtualInterfaces(GetVirtualInterfacesArgs.builder()
.virtualInterfaceName("tf-test")
.build());
}
}
variables:
foo:
fn::invoke:
Function: volcengine:direct_connect:getVirtualInterfaces
Arguments:
virtualInterfaceName: tf-test
Using getVirtualInterfaces
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualInterfaces(args: GetVirtualInterfacesArgs, opts?: InvokeOptions): Promise<GetVirtualInterfacesResult>
function getVirtualInterfacesOutput(args: GetVirtualInterfacesOutputArgs, opts?: InvokeOptions): Output<GetVirtualInterfacesResult>def get_virtual_interfaces(direct_connect_connection_id: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
local_ip: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
peer_ip: Optional[str] = None,
route_type: Optional[str] = None,
tag_filters: Optional[Sequence[GetVirtualInterfacesTagFilter]] = None,
virtual_interface_name: Optional[str] = None,
vlan_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualInterfacesResult
def get_virtual_interfaces_output(direct_connect_connection_id: Optional[pulumi.Input[str]] = None,
direct_connect_gateway_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
local_ip: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
peer_ip: Optional[pulumi.Input[str]] = None,
route_type: Optional[pulumi.Input[str]] = None,
tag_filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetVirtualInterfacesTagFilterArgs]]]] = None,
virtual_interface_name: Optional[pulumi.Input[str]] = None,
vlan_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualInterfacesResult]func GetVirtualInterfaces(ctx *Context, args *GetVirtualInterfacesArgs, opts ...InvokeOption) (*GetVirtualInterfacesResult, error)
func GetVirtualInterfacesOutput(ctx *Context, args *GetVirtualInterfacesOutputArgs, opts ...InvokeOption) GetVirtualInterfacesResultOutput> Note: This function is named GetVirtualInterfaces in the Go SDK.
public static class GetVirtualInterfaces
{
public static Task<GetVirtualInterfacesResult> InvokeAsync(GetVirtualInterfacesArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualInterfacesResult> Invoke(GetVirtualInterfacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualInterfacesResult> getVirtualInterfaces(GetVirtualInterfacesArgs args, InvokeOptions options)
public static Output<GetVirtualInterfacesResult> getVirtualInterfaces(GetVirtualInterfacesArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:direct_connect/getVirtualInterfaces:getVirtualInterfaces
arguments:
# arguments dictionaryThe following arguments are supported:
- Direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- Ids List<string>
- A list of IDs.
- Local
Ip string - The local IP that associated with this virtual interface.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of virtual interface.
- Tag
Filters List<GetVirtual Interfaces Tag Filter> - The filter tag of direct connect virtual interface.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- Ids []string
- A list of IDs.
- Local
Ip string - The local IP that associated with this virtual interface.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of virtual interface.
- Tag
Filters []GetVirtual Interfaces Tag Filter - The filter tag of direct connect virtual interface.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- ids List<String>
- A list of IDs.
- local
Ip String - The local IP that associated with this virtual interface.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of virtual interface.
- tag
Filters List<GetVirtual Interfaces Tag Filter> - The filter tag of direct connect virtual interface.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Integer - The VLAN ID of virtual interface.
- direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- ids string[]
- A list of IDs.
- local
Ip string - The local IP that associated with this virtual interface.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- peer
Ip string - The peer IP that associated with this virtual interface.
- route
Type string - The route type of virtual interface.
- tag
Filters GetVirtual Interfaces Tag Filter[] - The filter tag of direct connect virtual interface.
- virtual
Interface stringName - The name of virtual interface.
- vlan
Id number - The VLAN ID of virtual interface.
- direct_
connect_ strconnection_ id - The direct connect connection ID that associated with this virtual interface.
- direct_
connect_ strgateway_ id - The direct connect gateway ID that associated with this virtual interface.
- ids Sequence[str]
- A list of IDs.
- local_
ip str - The local IP that associated with this virtual interface.
- name_
regex str - A Name Regex of Resource.
- output_
file str - File name where to save data source results.
- peer_
ip str - The peer IP that associated with this virtual interface.
- route_
type str - The route type of virtual interface.
- tag_
filters Sequence[GetVirtual Interfaces Tag Filter] - The filter tag of direct connect virtual interface.
- virtual_
interface_ strname - The name of virtual interface.
- vlan_
id int - The VLAN ID of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- ids List<String>
- A list of IDs.
- local
Ip String - The local IP that associated with this virtual interface.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of virtual interface.
- tag
Filters List<Property Map> - The filter tag of direct connect virtual interface.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Number - The VLAN ID of virtual interface.
getVirtualInterfaces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Virtual
Interfaces List<GetVirtual Interfaces Virtual Interface> - The collection of query.
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with this virtual interface.
- Ids List<string>
- Local
Ip string - The local IP that associated with this virtual interface.
- Name
Regex string - Output
File string - Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of this virtual interface.
- Tag
Filters List<GetVirtual Interfaces Tag Filter> - Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Virtual
Interfaces []GetVirtual Interfaces Virtual Interface - The collection of query.
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with this virtual interface.
- Ids []string
- Local
Ip string - The local IP that associated with this virtual interface.
- Name
Regex string - Output
File string - Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of this virtual interface.
- Tag
Filters []GetVirtual Interfaces Tag Filter - Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- virtual
Interfaces List<GetVirtual Interfaces Virtual Interface> - The collection of query.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with this virtual interface.
- ids List<String>
- local
Ip String - The local IP that associated with this virtual interface.
- name
Regex String - output
File String - peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of this virtual interface.
- tag
Filters List<GetVirtual Interfaces Tag Filter> - virtual
Interface StringName - The name of virtual interface.
- vlan
Id Integer - The VLAN ID of virtual interface.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- virtual
Interfaces GetVirtual Interfaces Virtual Interface[] - The collection of query.
- direct
Connect stringConnection Id - The direct connect connection ID which associated with this virtual interface.
- direct
Connect stringGateway Id - The direct connect gateway ID which associated with this virtual interface.
- ids string[]
- local
Ip string - The local IP that associated with this virtual interface.
- name
Regex string - output
File string - peer
Ip string - The peer IP that associated with this virtual interface.
- route
Type string - The route type of this virtual interface.
- tag
Filters GetVirtual Interfaces Tag Filter[] - virtual
Interface stringName - The name of virtual interface.
- vlan
Id number - The VLAN ID of virtual interface.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- virtual_
interfaces Sequence[GetVirtual Interfaces Virtual Interface] - The collection of query.
- direct_
connect_ strconnection_ id - The direct connect connection ID which associated with this virtual interface.
- direct_
connect_ strgateway_ id - The direct connect gateway ID which associated with this virtual interface.
- ids Sequence[str]
- local_
ip str - The local IP that associated with this virtual interface.
- name_
regex str - output_
file str - peer_
ip str - The peer IP that associated with this virtual interface.
- route_
type str - The route type of this virtual interface.
- tag_
filters Sequence[GetVirtual Interfaces Tag Filter] - virtual_
interface_ strname - The name of virtual interface.
- vlan_
id int - The VLAN ID of virtual interface.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- virtual
Interfaces List<Property Map> - The collection of query.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with this virtual interface.
- ids List<String>
- local
Ip String - The local IP that associated with this virtual interface.
- name
Regex String - output
File String - peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of this virtual interface.
- tag
Filters List<Property Map> - virtual
Interface StringName - The name of virtual interface.
- vlan
Id Number - The VLAN ID of virtual interface.
Supporting Types
GetVirtualInterfacesTagFilter
GetVirtualInterfacesVirtualInterface
- Account
Id string - The account ID which this virtual interface belongs.
- 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.
- Creation
Time string - The creation time of virtual interface.
- Description string
- The description of the virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Local
Ip string - The local IP that associated with this virtual interface.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of virtual interface.
- Status string
- The status of virtaul interface.
-
List<Get
Virtual Interfaces Virtual Interface Tag> - The tags that direct connect gateway added.
- Update
Time string - The update time of virtual interface.
- Virtual
Interface stringId - The virtual interface ID.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- Account
Id string - The account ID which this virtual interface belongs.
- 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.
- Creation
Time string - The creation time of virtual interface.
- Description string
- The description of the virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- Direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Local
Ip string - The local IP that associated with this virtual interface.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Peer
Ip string - The peer IP that associated with this virtual interface.
- Route
Type string - The route type of virtual interface.
- Status string
- The status of virtaul interface.
-
[]Get
Virtual Interfaces Virtual Interface Tag - The tags that direct connect gateway added.
- Update
Time string - The update time of virtual interface.
- Virtual
Interface stringId - The virtual interface ID.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID of virtual interface.
- account
Id String - The account ID which this virtual interface belongs.
- bandwidth Integer
- The band width limit of virtual interface,in Mbps.
- bfd
Detect IntegerInterval - The BFD detect interval.
- bfd
Detect IntegerMultiplier - The BFD detect times.
- creation
Time String - The creation time of virtual interface.
- description String
- The description of the virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- local
Ip String - The local IP that associated with this virtual interface.
- nqa
Detect IntegerInterval - The NQA detect interval.
- nqa
Detect IntegerMultiplier - The NAQ detect times.
- peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of virtual interface.
- status String
- The status of virtaul interface.
-
List<Get
Virtual Interfaces Virtual Interface Tag> - The tags that direct connect gateway added.
- update
Time String - The update time of virtual interface.
- virtual
Interface StringId - The virtual interface ID.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Integer - The VLAN ID of virtual interface.
- account
Id string - The account ID which this virtual interface belongs.
- bandwidth number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect numberInterval - The BFD detect interval.
- bfd
Detect numberMultiplier - The BFD detect times.
- creation
Time string - The creation time of virtual interface.
- description string
- The description of the virtual interface.
- direct
Connect stringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect stringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- enable
Bfd boolean - Whether enable BFD detect.
- enable
Nqa boolean - Whether enable NQA detect.
- local
Ip string - The local IP that associated with this virtual interface.
- nqa
Detect numberInterval - The NQA detect interval.
- nqa
Detect numberMultiplier - The NAQ detect times.
- peer
Ip string - The peer IP that associated with this virtual interface.
- route
Type string - The route type of virtual interface.
- status string
- The status of virtaul interface.
-
Get
Virtual Interfaces Virtual Interface Tag[] - The tags that direct connect gateway added.
- update
Time string - The update time of virtual interface.
- virtual
Interface stringId - The virtual interface ID.
- virtual
Interface stringName - The name of virtual interface.
- vlan
Id number - The VLAN ID of virtual interface.
- account_
id str - The account ID which this virtual interface belongs.
- 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.
- creation_
time str - The creation time of virtual interface.
- description str
- The description of the virtual interface.
- direct_
connect_ strconnection_ id - The direct connect connection ID that associated with this virtual interface.
- direct_
connect_ strgateway_ id - The direct connect gateway ID that associated with this virtual interface.
- enable_
bfd bool - Whether enable BFD detect.
- enable_
nqa bool - Whether enable NQA detect.
- local_
ip str - The local IP that associated with this virtual interface.
- nqa_
detect_ intinterval - The NQA detect interval.
- nqa_
detect_ intmultiplier - The NAQ detect times.
- peer_
ip str - The peer IP that associated with this virtual interface.
- route_
type str - The route type of virtual interface.
- status str
- The status of virtaul interface.
-
Sequence[Get
Virtual Interfaces Virtual Interface Tag] - The tags that direct connect gateway added.
- update_
time str - The update time of virtual interface.
- virtual_
interface_ strid - The virtual interface ID.
- virtual_
interface_ strname - The name of virtual interface.
- vlan_
id int - The VLAN ID of virtual interface.
- account
Id String - The account ID which this virtual interface belongs.
- bandwidth Number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect NumberInterval - The BFD detect interval.
- bfd
Detect NumberMultiplier - The BFD detect times.
- creation
Time String - The creation time of virtual interface.
- description String
- The description of the virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID that associated with this virtual interface.
- direct
Connect StringGateway Id - The direct connect gateway ID that associated with this virtual interface.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- local
Ip String - The local IP that associated with this virtual interface.
- nqa
Detect NumberInterval - The NQA detect interval.
- nqa
Detect NumberMultiplier - The NAQ detect times.
- peer
Ip String - The peer IP that associated with this virtual interface.
- route
Type String - The route type of virtual interface.
- status String
- The status of virtaul interface.
- List<Property Map>
- The tags that direct connect gateway added.
- update
Time String - The update time of virtual interface.
- virtual
Interface StringId - The virtual interface ID.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Number - The VLAN ID of virtual interface.
GetVirtualInterfacesVirtualInterfaceTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
