Volcengine v0.0.26 published on Friday, Sep 13, 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
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 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
})
}
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());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.virtual_interfaces(virtual_interface_name="tf-test")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.direct_connect.VirtualInterfaces({
virtualInterfaceName: "tf-test",
});
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) VirtualInterfacesResultOutput
public 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:direct_connect:VirtualInterfaces
arguments:
# arguments dictionary
The 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<VirtualInterfaces 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 []VirtualInterfaces 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<VirtualInterfaces 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 VirtualInterfaces 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[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.
- 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.
VirtualInterfaces 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<VirtualInterfaces 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<VirtualInterfaces 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 []VirtualInterfaces 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 []VirtualInterfaces 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<VirtualInterfaces 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<VirtualInterfaces 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 VirtualInterfaces 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 VirtualInterfaces 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[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.
- 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
VirtualInterfacesTagFilter
VirtualInterfacesVirtualInterface
- 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<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.
- []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<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.
- 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[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.
VirtualInterfacesVirtualInterfaceTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.