Viewing docs for bytepluscc v0.0.31
published on Monday, Jun 1, 2026 by Byteplus
published on Monday, Jun 1, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.31
published on Monday, Jun 1, 2026 by Byteplus
published on Monday, Jun 1, 2026 by Byteplus
Data Source schema for Byteplus::DirectConnect::VirtualInterface
Using getVirtualInterface
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 getVirtualInterface(args: GetVirtualInterfaceArgs, opts?: InvokeOptions): Promise<GetVirtualInterfaceResult>
function getVirtualInterfaceOutput(args: GetVirtualInterfaceOutputArgs, opts?: InvokeOptions): Output<GetVirtualInterfaceResult>def get_virtual_interface(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualInterfaceResult
def get_virtual_interface_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualInterfaceResult]func LookupVirtualInterface(ctx *Context, args *LookupVirtualInterfaceArgs, opts ...InvokeOption) (*LookupVirtualInterfaceResult, error)
func LookupVirtualInterfaceOutput(ctx *Context, args *LookupVirtualInterfaceOutputArgs, opts ...InvokeOption) LookupVirtualInterfaceResultOutput> Note: This function is named LookupVirtualInterface in the Go SDK.
public static class GetVirtualInterface
{
public static Task<GetVirtualInterfaceResult> InvokeAsync(GetVirtualInterfaceArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualInterfaceResult> Invoke(GetVirtualInterfaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVirtualInterfaceResult> getVirtualInterface(GetVirtualInterfaceArgs args, InvokeOptions options)
public static Output<GetVirtualInterfaceResult> getVirtualInterface(GetVirtualInterfaceArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:directconnect/getVirtualInterface:getVirtualInterface
arguments:
# arguments dictionarydata "bytepluscc_directconnect_getvirtualinterface" "name" {
# arguments
}The following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getVirtualInterface Result
The following output properties are available:
- Account
Id string - ID of the account to which the dedicated line gateway belongs.
- Bandwidth int
- Bandwidth limit of the virtual interface, in Mbps.
- Bfd
Detect intInterval - BFD detection interval (ms).
- Bfd
Detect intMultiplier - BFD detection count.
- Creation
Time string - Time when the virtual interface was created.
- Description string
- Description of the virtual interface.
- Direct
Connect stringConnection Id - ID of the physical dedicated line associated with the virtual interface.
- Direct
Connect stringGateway Id - ID of the dedicated gateway associated with the virtual interface.
- Enable
Bfd bool - Enable BFD detection. true: enabled false: disabled.
- Enable
Bfd boolEcho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- Enable
Nqa bool - Is NQA detection enabled? true: enabled false: not enabled.
- Id string
- Uniquely identifies the resource.
- Local
Ip string - Local gateway interconnection IP address of the virtual interface.
- Local
Ipv6Ip string - IPv6 address of the local gateway interconnection IP for the virtual interface.
- Nqa
Detect intInterval - Interval for sending consecutive probe packets in NQA detection.
- Nqa
Detect intMultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- Peer
Ip string - Peer gateway interconnection IP address of the virtual interface.
- Peer
Ipv6Ip string - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- Route
Type string - Route type of the virtual interface.
- Status string
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
-
List<Byteplus.
Get Virtual Interface Tag> - All tag information added to the virtual interface.
- Update
Time string - Time when the virtual interface was updated.
- Virtual
Interface stringId - ID of the virtual interface.
- Virtual
Interface stringName - Name of the virtual interface.
- Vlan
Id int - VLAN ID of the virtual interface.
- Account
Id string - ID of the account to which the dedicated line gateway belongs.
- Bandwidth int
- Bandwidth limit of the virtual interface, in Mbps.
- Bfd
Detect intInterval - BFD detection interval (ms).
- Bfd
Detect intMultiplier - BFD detection count.
- Creation
Time string - Time when the virtual interface was created.
- Description string
- Description of the virtual interface.
- Direct
Connect stringConnection Id - ID of the physical dedicated line associated with the virtual interface.
- Direct
Connect stringGateway Id - ID of the dedicated gateway associated with the virtual interface.
- Enable
Bfd bool - Enable BFD detection. true: enabled false: disabled.
- Enable
Bfd boolEcho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- Enable
Nqa bool - Is NQA detection enabled? true: enabled false: not enabled.
- Id string
- Uniquely identifies the resource.
- Local
Ip string - Local gateway interconnection IP address of the virtual interface.
- Local
Ipv6Ip string - IPv6 address of the local gateway interconnection IP for the virtual interface.
- Nqa
Detect intInterval - Interval for sending consecutive probe packets in NQA detection.
- Nqa
Detect intMultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- Peer
Ip string - Peer gateway interconnection IP address of the virtual interface.
- Peer
Ipv6Ip string - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- Route
Type string - Route type of the virtual interface.
- Status string
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
-
[]Get
Virtual Interface Tag - All tag information added to the virtual interface.
- Update
Time string - Time when the virtual interface was updated.
- Virtual
Interface stringId - ID of the virtual interface.
- Virtual
Interface stringName - Name of the virtual interface.
- Vlan
Id int - VLAN ID of the virtual interface.
- account_
id string - ID of the account to which the dedicated line gateway belongs.
- bandwidth number
- Bandwidth limit of the virtual interface, in Mbps.
- bfd_
detect_ numberinterval - BFD detection interval (ms).
- bfd_
detect_ numbermultiplier - BFD detection count.
- creation_
time string - Time when the virtual interface was created.
- description string
- Description of the virtual interface.
- direct_
connect_ stringconnection_ id - ID of the physical dedicated line associated with the virtual interface.
- direct_
connect_ stringgateway_ id - ID of the dedicated gateway associated with the virtual interface.
- enable_
bfd bool - Enable BFD detection. true: enabled false: disabled.
- enable_
bfd_ boolecho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- enable_
nqa bool - Is NQA detection enabled? true: enabled false: not enabled.
- id string
- Uniquely identifies the resource.
- local_
ip string - Local gateway interconnection IP address of the virtual interface.
- local_
ipv6_ stringip - IPv6 address of the local gateway interconnection IP for the virtual interface.
- nqa_
detect_ numberinterval - Interval for sending consecutive probe packets in NQA detection.
- nqa_
detect_ numbermultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- peer_
ip string - Peer gateway interconnection IP address of the virtual interface.
- peer_
ipv6_ stringip - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- route_
type string - Route type of the virtual interface.
- status string
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
- list(object)
- All tag information added to the virtual interface.
- update_
time string - Time when the virtual interface was updated.
- virtual_
interface_ stringid - ID of the virtual interface.
- virtual_
interface_ stringname - Name of the virtual interface.
- vlan_
id number - VLAN ID of the virtual interface.
- account
Id String - ID of the account to which the dedicated line gateway belongs.
- bandwidth Integer
- Bandwidth limit of the virtual interface, in Mbps.
- bfd
Detect IntegerInterval - BFD detection interval (ms).
- bfd
Detect IntegerMultiplier - BFD detection count.
- creation
Time String - Time when the virtual interface was created.
- description String
- Description of the virtual interface.
- direct
Connect StringConnection Id - ID of the physical dedicated line associated with the virtual interface.
- direct
Connect StringGateway Id - ID of the dedicated gateway associated with the virtual interface.
- enable
Bfd Boolean - Enable BFD detection. true: enabled false: disabled.
- enable
Bfd BooleanEcho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- enable
Nqa Boolean - Is NQA detection enabled? true: enabled false: not enabled.
- id String
- Uniquely identifies the resource.
- local
Ip String - Local gateway interconnection IP address of the virtual interface.
- local
Ipv6Ip String - IPv6 address of the local gateway interconnection IP for the virtual interface.
- nqa
Detect IntegerInterval - Interval for sending consecutive probe packets in NQA detection.
- nqa
Detect IntegerMultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- peer
Ip String - Peer gateway interconnection IP address of the virtual interface.
- peer
Ipv6Ip String - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- route
Type String - Route type of the virtual interface.
- status String
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
-
List<Get
Virtual Interface Tag> - All tag information added to the virtual interface.
- update
Time String - Time when the virtual interface was updated.
- virtual
Interface StringId - ID of the virtual interface.
- virtual
Interface StringName - Name of the virtual interface.
- vlan
Id Integer - VLAN ID of the virtual interface.
- account
Id string - ID of the account to which the dedicated line gateway belongs.
- bandwidth number
- Bandwidth limit of the virtual interface, in Mbps.
- bfd
Detect numberInterval - BFD detection interval (ms).
- bfd
Detect numberMultiplier - BFD detection count.
- creation
Time string - Time when the virtual interface was created.
- description string
- Description of the virtual interface.
- direct
Connect stringConnection Id - ID of the physical dedicated line associated with the virtual interface.
- direct
Connect stringGateway Id - ID of the dedicated gateway associated with the virtual interface.
- enable
Bfd boolean - Enable BFD detection. true: enabled false: disabled.
- enable
Bfd booleanEcho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- enable
Nqa boolean - Is NQA detection enabled? true: enabled false: not enabled.
- id string
- Uniquely identifies the resource.
- local
Ip string - Local gateway interconnection IP address of the virtual interface.
- local
Ipv6Ip string - IPv6 address of the local gateway interconnection IP for the virtual interface.
- nqa
Detect numberInterval - Interval for sending consecutive probe packets in NQA detection.
- nqa
Detect numberMultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- peer
Ip string - Peer gateway interconnection IP address of the virtual interface.
- peer
Ipv6Ip string - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- route
Type string - Route type of the virtual interface.
- status string
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
-
Get
Virtual Interface Tag[] - All tag information added to the virtual interface.
- update
Time string - Time when the virtual interface was updated.
- virtual
Interface stringId - ID of the virtual interface.
- virtual
Interface stringName - Name of the virtual interface.
- vlan
Id number - VLAN ID of the virtual interface.
- account_
id str - ID of the account to which the dedicated line gateway belongs.
- bandwidth int
- Bandwidth limit of the virtual interface, in Mbps.
- bfd_
detect_ intinterval - BFD detection interval (ms).
- bfd_
detect_ intmultiplier - BFD detection count.
- creation_
time str - Time when the virtual interface was created.
- description str
- Description of the virtual interface.
- direct_
connect_ strconnection_ id - ID of the physical dedicated line associated with the virtual interface.
- direct_
connect_ strgateway_ id - ID of the dedicated gateway associated with the virtual interface.
- enable_
bfd bool - Enable BFD detection. true: enabled false: disabled.
- enable_
bfd_ boolecho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- enable_
nqa bool - Is NQA detection enabled? true: enabled false: not enabled.
- id str
- Uniquely identifies the resource.
- local_
ip str - Local gateway interconnection IP address of the virtual interface.
- local_
ipv6_ strip - IPv6 address of the local gateway interconnection IP for the virtual interface.
- nqa_
detect_ intinterval - Interval for sending consecutive probe packets in NQA detection.
- nqa_
detect_ intmultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- peer_
ip str - Peer gateway interconnection IP address of the virtual interface.
- peer_
ipv6_ strip - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- route_
type str - Route type of the virtual interface.
- status str
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
-
Sequence[Get
Virtual Interface Tag] - All tag information added to the virtual interface.
- update_
time str - Time when the virtual interface was updated.
- virtual_
interface_ strid - ID of the virtual interface.
- virtual_
interface_ strname - Name of the virtual interface.
- vlan_
id int - VLAN ID of the virtual interface.
- account
Id String - ID of the account to which the dedicated line gateway belongs.
- bandwidth Number
- Bandwidth limit of the virtual interface, in Mbps.
- bfd
Detect NumberInterval - BFD detection interval (ms).
- bfd
Detect NumberMultiplier - BFD detection count.
- creation
Time String - Time when the virtual interface was created.
- description String
- Description of the virtual interface.
- direct
Connect StringConnection Id - ID of the physical dedicated line associated with the virtual interface.
- direct
Connect StringGateway Id - ID of the dedicated gateway associated with the virtual interface.
- enable
Bfd Boolean - Enable BFD detection. true: enabled false: disabled.
- enable
Bfd BooleanEcho - Enable BFD detection echo packet mode. true: enabled false: disabled.
- enable
Nqa Boolean - Is NQA detection enabled? true: enabled false: not enabled.
- id String
- Uniquely identifies the resource.
- local
Ip String - Local gateway interconnection IP address of the virtual interface.
- local
Ipv6Ip String - IPv6 address of the local gateway interconnection IP for the virtual interface.
- nqa
Detect NumberInterval - Interval for sending consecutive probe packets in NQA detection.
- nqa
Detect NumberMultiplier - NQA detection count. If the number of consecutive NQA detection failures reaches the set count, the link is considered faulty.
- peer
Ip String - Peer gateway interconnection IP address of the virtual interface.
- peer
Ipv6Ip String - IPv6 address of the peer gateway interconnection IP for the virtual interface.
- route
Type String - Route type of the virtual interface.
- status String
- Status of the virtual interface. Creating: creating Deleting: deleting Pending: configuring Available: available.
- List<Property Map>
- All tag information added to the virtual interface.
- update
Time String - Time when the virtual interface was updated.
- virtual
Interface StringId - ID of the virtual interface.
- virtual
Interface StringName - Name of the virtual interface.
- vlan
Id Number - VLAN ID of the virtual interface.
Supporting Types
GetVirtualInterfaceTag
- Key string
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- Value string
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- Key string
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- Value string
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- key string
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- value string
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- key String
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- value String
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- key string
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- value string
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- key str
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- value str
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
- key String
- Tag key (Key) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag key (Key), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag keys (Key) are separated by &. Cannot start with sys: in any case. sys: is reserved for system tags and cannot be created. Length range: 1–128 characters. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@).
- value String
- Tag value (Value) of the virtual interface tag. Parameter - N - indicates the sequence number of the tag value (Value), with a range of 1, 2, 3, …, 49, 50. N must be in continuous ascending order. Multiple tag values (Value) are separated by &. Length range: 0–256 characters. If not specified, the default is empty. Supports input in any language, numbers, spaces (), underscores (_), periods (.), colons (:), slashes (/), equal signs (=), plus signs (+), hyphens (-), and at signs (@). Case sensitive. Cannot start or end with a space. Note: If Tags.N.Value is provided, Tags.N.Key must also be provided.
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.31
published on Monday, Jun 1, 2026 by Byteplus
published on Monday, Jun 1, 2026 by Byteplus