Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.direct_connect.VirtualInterfaces
Explore with Pulumi AI
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.VirtualInterfaces({
    virtualInterfaceName: "tf-test",
});
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.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.VirtualInterfaces(ctx, &direct_connect.VirtualInterfacesArgs{
			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.VirtualInterfaces.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_virtualInterfaces.inputs.VirtualInterfacesArgs;
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.VirtualInterfaces(VirtualInterfacesArgs.builder()
            .virtualInterfaceName("tf-test")
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      Function: volcengine:direct_connect:VirtualInterfaces
      Arguments:
        virtualInterfaceName: tf-test
Using VirtualInterfaces
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 virtualInterfaces(args: VirtualInterfacesArgs, opts?: InvokeOptions): Promise<VirtualInterfacesResult>
function virtualInterfacesOutput(args: VirtualInterfacesOutputArgs, opts?: InvokeOptions): Output<VirtualInterfacesResult>def 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[VirtualInterfacesTagFilter]] = None,
                       virtual_interface_name: Optional[str] = None,
                       vlan_id: Optional[int] = None,
                       opts: Optional[InvokeOptions] = None) -> VirtualInterfacesResult
def 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[VirtualInterfacesTagFilterArgs]]]] = None,
                       virtual_interface_name: Optional[pulumi.Input[str]] = None,
                       vlan_id: Optional[pulumi.Input[int]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[VirtualInterfacesResult]func VirtualInterfaces(ctx *Context, args *VirtualInterfacesArgs, opts ...InvokeOption) (*VirtualInterfacesResult, error)
func VirtualInterfacesOutput(ctx *Context, args *VirtualInterfacesOutputArgs, opts ...InvokeOption) VirtualInterfacesResultOutputpublic static class VirtualInterfaces 
{
    public static Task<VirtualInterfacesResult> InvokeAsync(VirtualInterfacesArgs args, InvokeOptions? opts = null)
    public static Output<VirtualInterfacesResult> Invoke(VirtualInterfacesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<VirtualInterfacesResult> virtualInterfaces(VirtualInterfacesArgs args, InvokeOptions options)
public static Output<VirtualInterfacesResult> virtualInterfaces(VirtualInterfacesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:direct_connect:VirtualInterfaces
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DirectConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- Ids List<string>
- A list of IDs.
- LocalIp string
- The local IP that associated with this virtual interface.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of virtual interface.
- TagFilters List<VirtualInterfaces Tag Filter> 
- The filter tag of direct connect virtual interface.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- Ids []string
- A list of IDs.
- LocalIp string
- The local IP that associated with this virtual interface.
- NameRegex string
- A Name Regex of Resource.
- OutputFile string
- File name where to save data source results.
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of virtual interface.
- TagFilters []VirtualInterfaces Tag Filter 
- The filter tag of direct connect virtual interface.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- ids List<String>
- A list of IDs.
- localIp String
- The local IP that associated with this virtual interface.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of virtual interface.
- tagFilters List<VirtualInterfaces Tag Filter> 
- The filter tag of direct connect virtual interface.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Integer
- The VLAN ID of virtual interface.
- directConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- ids string[]
- A list of IDs.
- localIp string
- The local IP that associated with this virtual interface.
- nameRegex string
- A Name Regex of Resource.
- outputFile string
- File name where to save data source results.
- peerIp string
- The peer IP that associated with this virtual interface.
- routeType string
- The route type of virtual interface.
- tagFilters VirtualInterfaces Tag Filter[] 
- The filter tag of direct connect virtual interface.
- virtualInterface stringName 
- The name of virtual interface.
- vlanId 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[VirtualInterfaces 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.
- directConnect StringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- ids List<String>
- A list of IDs.
- localIp String
- The local IP that associated with this virtual interface.
- nameRegex String
- A Name Regex of Resource.
- outputFile String
- File name where to save data source results.
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of virtual interface.
- tagFilters List<Property Map>
- The filter tag of direct connect virtual interface.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Number
- The VLAN ID of virtual interface.
VirtualInterfaces Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- VirtualInterfaces List<VirtualInterfaces Virtual Interface> 
- The collection of query.
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with this virtual interface.
- Ids List<string>
- LocalIp string
- The local IP that associated with this virtual interface.
- NameRegex string
- OutputFile string
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of this virtual interface.
- TagFilters List<VirtualInterfaces Tag Filter> 
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of query.
- VirtualInterfaces []VirtualInterfaces Virtual Interface 
- The collection of query.
- DirectConnect stringConnection Id 
- The direct connect connection ID which associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID which associated with this virtual interface.
- Ids []string
- LocalIp string
- The local IP that associated with this virtual interface.
- NameRegex string
- OutputFile string
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of this virtual interface.
- TagFilters []VirtualInterfaces Tag Filter 
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of query.
- virtualInterfaces List<VirtualInterfaces Virtual Interface> 
- The collection of query.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with this virtual interface.
- ids List<String>
- localIp String
- The local IP that associated with this virtual interface.
- nameRegex String
- outputFile String
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of this virtual interface.
- tagFilters List<VirtualInterfaces Tag Filter> 
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Integer
- The VLAN ID of virtual interface.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of query.
- virtualInterfaces VirtualInterfaces Virtual Interface[] 
- The collection of query.
- directConnect stringConnection Id 
- The direct connect connection ID which associated with this virtual interface.
- directConnect stringGateway Id 
- The direct connect gateway ID which associated with this virtual interface.
- ids string[]
- localIp string
- The local IP that associated with this virtual interface.
- nameRegex string
- outputFile string
- peerIp string
- The peer IP that associated with this virtual interface.
- routeType string
- The route type of this virtual interface.
- tagFilters VirtualInterfaces Tag Filter[] 
- virtualInterface stringName 
- The name of virtual interface.
- vlanId 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[VirtualInterfaces 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[VirtualInterfaces 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.
- totalCount Number
- The total count of query.
- virtualInterfaces List<Property Map>
- The collection of query.
- directConnect StringConnection Id 
- The direct connect connection ID which associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID which associated with this virtual interface.
- ids List<String>
- localIp String
- The local IP that associated with this virtual interface.
- nameRegex String
- outputFile String
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of this virtual interface.
- tagFilters List<Property Map>
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Number
- The VLAN ID of virtual interface.
Supporting Types
VirtualInterfacesTagFilter   
VirtualInterfacesVirtualInterface   
- AccountId string
- The account ID which this virtual interface belongs.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- CreationTime string
- The creation time of virtual interface.
- Description string
- The description of the virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- LocalIp string
- The local IP that associated with this virtual interface.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of virtual interface.
- Status string
- The status of virtaul interface.
- 
List<VirtualInterfaces Virtual Interface Tag> 
- The tags that direct connect gateway added.
- UpdateTime string
- The update time of virtual interface.
- VirtualInterface stringId 
- The virtual interface ID.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- AccountId string
- The account ID which this virtual interface belongs.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- BfdDetect intInterval 
- The BFD detect interval.
- BfdDetect intMultiplier 
- The BFD detect times.
- CreationTime string
- The creation time of virtual interface.
- Description string
- The description of the virtual interface.
- DirectConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- DirectConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- EnableBfd bool
- Whether enable BFD detect.
- EnableNqa bool
- Whether enable NQA detect.
- LocalIp string
- The local IP that associated with this virtual interface.
- NqaDetect intInterval 
- The NQA detect interval.
- NqaDetect intMultiplier 
- The NAQ detect times.
- PeerIp string
- The peer IP that associated with this virtual interface.
- RouteType string
- The route type of virtual interface.
- Status string
- The status of virtaul interface.
- 
[]VirtualInterfaces Virtual Interface Tag 
- The tags that direct connect gateway added.
- UpdateTime string
- The update time of virtual interface.
- VirtualInterface stringId 
- The virtual interface ID.
- VirtualInterface stringName 
- The name of virtual interface.
- VlanId int
- The VLAN ID of virtual interface.
- accountId String
- The account ID which this virtual interface belongs.
- bandwidth Integer
- The band width limit of virtual interface,in Mbps.
- bfdDetect IntegerInterval 
- The BFD detect interval.
- bfdDetect IntegerMultiplier 
- The BFD detect times.
- creationTime String
- The creation time of virtual interface.
- description String
- The description of the virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- localIp String
- The local IP that associated with this virtual interface.
- nqaDetect IntegerInterval 
- The NQA detect interval.
- nqaDetect IntegerMultiplier 
- The NAQ detect times.
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of virtual interface.
- status String
- The status of virtaul interface.
- 
List<VirtualInterfaces Virtual Interface Tag> 
- The tags that direct connect gateway added.
- updateTime String
- The update time of virtual interface.
- virtualInterface StringId 
- The virtual interface ID.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Integer
- The VLAN ID of virtual interface.
- accountId string
- The account ID which this virtual interface belongs.
- bandwidth number
- The band width limit of virtual interface,in Mbps.
- bfdDetect numberInterval 
- The BFD detect interval.
- bfdDetect numberMultiplier 
- The BFD detect times.
- creationTime string
- The creation time of virtual interface.
- description string
- The description of the virtual interface.
- directConnect stringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect stringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- enableBfd boolean
- Whether enable BFD detect.
- enableNqa boolean
- Whether enable NQA detect.
- localIp string
- The local IP that associated with this virtual interface.
- nqaDetect numberInterval 
- The NQA detect interval.
- nqaDetect numberMultiplier 
- The NAQ detect times.
- peerIp string
- The peer IP that associated with this virtual interface.
- routeType string
- The route type of virtual interface.
- status string
- The status of virtaul interface.
- 
VirtualInterfaces Virtual Interface Tag[] 
- The tags that direct connect gateway added.
- updateTime string
- The update time of virtual interface.
- virtualInterface stringId 
- The virtual interface ID.
- virtualInterface stringName 
- The name of virtual interface.
- vlanId 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[VirtualInterfaces 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.
- accountId String
- The account ID which this virtual interface belongs.
- bandwidth Number
- The band width limit of virtual interface,in Mbps.
- bfdDetect NumberInterval 
- The BFD detect interval.
- bfdDetect NumberMultiplier 
- The BFD detect times.
- creationTime String
- The creation time of virtual interface.
- description String
- The description of the virtual interface.
- directConnect StringConnection Id 
- The direct connect connection ID that associated with this virtual interface.
- directConnect StringGateway Id 
- The direct connect gateway ID that associated with this virtual interface.
- enableBfd Boolean
- Whether enable BFD detect.
- enableNqa Boolean
- Whether enable NQA detect.
- localIp String
- The local IP that associated with this virtual interface.
- nqaDetect NumberInterval 
- The NQA detect interval.
- nqaDetect NumberMultiplier 
- The NAQ detect times.
- peerIp String
- The peer IP that associated with this virtual interface.
- routeType String
- The route type of virtual interface.
- status String
- The status of virtaul interface.
- List<Property Map>
- The tags that direct connect gateway added.
- updateTime String
- The update time of virtual interface.
- virtualInterface StringId 
- The virtual interface ID.
- virtualInterface StringName 
- The name of virtual interface.
- vlanId Number
- The VLAN ID of virtual interface.
VirtualInterfacesVirtualInterfaceTag    
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.