volcengine.direct_connect.VirtualInterface
Explore with Pulumi AI
Provides a resource to manage direct connect virtual interface
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = new Volcengine.Direct_connect.VirtualInterface("foo", new()
{
Description = "tf-test",
DirectConnectConnectionId = "dcc-rtkzeotzst1cu3numzi****",
DirectConnectGatewayId = "dcg-638x4bjvjawwn3gd5xw****",
EnableBfd = false,
LocalIp = "**.**.**.**/**",
PeerIp = "**.**.**.**/**",
RouteType = "Static",
Tags = new[]
{
new Volcengine.Direct_connect.Inputs.VirtualInterfaceTagArgs
{
Key = "k1",
Value = "v1",
},
},
VirtualInterfaceName = "tf-test-vi",
VlanId = 2,
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/direct_connect"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := direct_connect.NewVirtualInterface(ctx, "foo", &direct_connect.VirtualInterfaceArgs{
Description: pulumi.String("tf-test"),
DirectConnectConnectionId: pulumi.String("dcc-rtkzeotzst1cu3numzi****"),
DirectConnectGatewayId: pulumi.String("dcg-638x4bjvjawwn3gd5xw****"),
EnableBfd: pulumi.Bool(false),
LocalIp: pulumi.String("**.**.**.**/**"),
PeerIp: pulumi.String("**.**.**.**/**"),
RouteType: pulumi.String("Static"),
Tags: direct_connect.VirtualInterfaceTagArray{
&direct_connect.VirtualInterfaceTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
VirtualInterfaceName: pulumi.String("tf-test-vi"),
VlanId: pulumi.Int(2),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.direct_connect.VirtualInterface;
import com.pulumi.volcengine.direct_connect.VirtualInterfaceArgs;
import com.pulumi.volcengine.direct_connect.inputs.VirtualInterfaceTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new VirtualInterface("foo", VirtualInterfaceArgs.builder()
.description("tf-test")
.directConnectConnectionId("dcc-rtkzeotzst1cu3numzi****")
.directConnectGatewayId("dcg-638x4bjvjawwn3gd5xw****")
.enableBfd(false)
.localIp("**.**.**.**/**")
.peerIp("**.**.**.**/**")
.routeType("Static")
.tags(VirtualInterfaceTagArgs.builder()
.key("k1")
.value("v1")
.build())
.virtualInterfaceName("tf-test-vi")
.vlanId(2)
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.direct_connect.VirtualInterface("foo",
description="tf-test",
direct_connect_connection_id="dcc-rtkzeotzst1cu3numzi****",
direct_connect_gateway_id="dcg-638x4bjvjawwn3gd5xw****",
enable_bfd=False,
local_ip="**.**.**.**/**",
peer_ip="**.**.**.**/**",
route_type="Static",
tags=[volcengine.direct_connect.VirtualInterfaceTagArgs(
key="k1",
value="v1",
)],
virtual_interface_name="tf-test-vi",
vlan_id=2)
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@volcengine/pulumi";
const foo = new volcengine.direct_connect.VirtualInterface("foo", {
description: "tf-test",
directConnectConnectionId: "dcc-rtkzeotzst1cu3numzi****",
directConnectGatewayId: "dcg-638x4bjvjawwn3gd5xw****",
enableBfd: false,
localIp: "**.**.**.**/**",
peerIp: "**.**.**.**/**",
routeType: "Static",
tags: [{
key: "k1",
value: "v1",
}],
virtualInterfaceName: "tf-test-vi",
vlanId: 2,
});
resources:
foo:
type: volcengine:direct_connect:VirtualInterface
properties:
description: tf-test
directConnectConnectionId: dcc-rtkzeotzst1cu3numzi****
directConnectGatewayId: dcg-638x4bjvjawwn3gd5xw****
enableBfd: false
localIp: '**.**.**.**/**'
peerIp: '**.**.**.**/**'
routeType: Static
tags:
- key: k1
value: v1
virtualInterfaceName: tf-test-vi
vlanId: 2
Create VirtualInterface Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualInterface(name: string, args: VirtualInterfaceArgs, opts?: CustomResourceOptions);
@overload
def VirtualInterface(resource_name: str,
args: VirtualInterfaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualInterface(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_ip: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
vlan_id: Optional[int] = None,
peer_ip: Optional[str] = None,
direct_connect_connection_id: Optional[str] = None,
enable_bfd: Optional[bool] = None,
bfd_detect_interval: Optional[int] = None,
enable_nqa: Optional[bool] = None,
bandwidth: Optional[int] = None,
nqa_detect_interval: Optional[int] = None,
nqa_detect_multiplier: Optional[int] = None,
description: Optional[str] = None,
route_type: Optional[str] = None,
tags: Optional[Sequence[VirtualInterfaceTagArgs]] = None,
virtual_interface_name: Optional[str] = None,
bfd_detect_multiplier: Optional[int] = None)
func NewVirtualInterface(ctx *Context, name string, args VirtualInterfaceArgs, opts ...ResourceOption) (*VirtualInterface, error)
public VirtualInterface(string name, VirtualInterfaceArgs args, CustomResourceOptions? opts = null)
public VirtualInterface(String name, VirtualInterfaceArgs args)
public VirtualInterface(String name, VirtualInterfaceArgs args, CustomResourceOptions options)
type: volcengine:direct_connect:VirtualInterface
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualInterfaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var virtualInterfaceResource = new Volcengine.Direct_connect.VirtualInterface("virtualInterfaceResource", new()
{
LocalIp = "string",
DirectConnectGatewayId = "string",
VlanId = 0,
PeerIp = "string",
DirectConnectConnectionId = "string",
EnableBfd = false,
BfdDetectInterval = 0,
EnableNqa = false,
Bandwidth = 0,
NqaDetectInterval = 0,
NqaDetectMultiplier = 0,
Description = "string",
RouteType = "string",
Tags = new[]
{
new Volcengine.Direct_connect.Inputs.VirtualInterfaceTagArgs
{
Key = "string",
Value = "string",
},
},
VirtualInterfaceName = "string",
BfdDetectMultiplier = 0,
});
example, err := direct_connect.NewVirtualInterface(ctx, "virtualInterfaceResource", &direct_connect.VirtualInterfaceArgs{
LocalIp: pulumi.String("string"),
DirectConnectGatewayId: pulumi.String("string"),
VlanId: pulumi.Int(0),
PeerIp: pulumi.String("string"),
DirectConnectConnectionId: pulumi.String("string"),
EnableBfd: pulumi.Bool(false),
BfdDetectInterval: pulumi.Int(0),
EnableNqa: pulumi.Bool(false),
Bandwidth: pulumi.Int(0),
NqaDetectInterval: pulumi.Int(0),
NqaDetectMultiplier: pulumi.Int(0),
Description: pulumi.String("string"),
RouteType: pulumi.String("string"),
Tags: direct_connect.VirtualInterfaceTagArray{
&direct_connect.VirtualInterfaceTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
VirtualInterfaceName: pulumi.String("string"),
BfdDetectMultiplier: pulumi.Int(0),
})
var virtualInterfaceResource = new VirtualInterface("virtualInterfaceResource", VirtualInterfaceArgs.builder()
.localIp("string")
.directConnectGatewayId("string")
.vlanId(0)
.peerIp("string")
.directConnectConnectionId("string")
.enableBfd(false)
.bfdDetectInterval(0)
.enableNqa(false)
.bandwidth(0)
.nqaDetectInterval(0)
.nqaDetectMultiplier(0)
.description("string")
.routeType("string")
.tags(VirtualInterfaceTagArgs.builder()
.key("string")
.value("string")
.build())
.virtualInterfaceName("string")
.bfdDetectMultiplier(0)
.build());
virtual_interface_resource = volcengine.direct_connect.VirtualInterface("virtualInterfaceResource",
local_ip="string",
direct_connect_gateway_id="string",
vlan_id=0,
peer_ip="string",
direct_connect_connection_id="string",
enable_bfd=False,
bfd_detect_interval=0,
enable_nqa=False,
bandwidth=0,
nqa_detect_interval=0,
nqa_detect_multiplier=0,
description="string",
route_type="string",
tags=[{
"key": "string",
"value": "string",
}],
virtual_interface_name="string",
bfd_detect_multiplier=0)
const virtualInterfaceResource = new volcengine.direct_connect.VirtualInterface("virtualInterfaceResource", {
localIp: "string",
directConnectGatewayId: "string",
vlanId: 0,
peerIp: "string",
directConnectConnectionId: "string",
enableBfd: false,
bfdDetectInterval: 0,
enableNqa: false,
bandwidth: 0,
nqaDetectInterval: 0,
nqaDetectMultiplier: 0,
description: "string",
routeType: "string",
tags: [{
key: "string",
value: "string",
}],
virtualInterfaceName: "string",
bfdDetectMultiplier: 0,
});
type: volcengine:direct_connect:VirtualInterface
properties:
bandwidth: 0
bfdDetectInterval: 0
bfdDetectMultiplier: 0
description: string
directConnectConnectionId: string
directConnectGatewayId: string
enableBfd: false
enableNqa: false
localIp: string
nqaDetectInterval: 0
nqaDetectMultiplier: 0
peerIp: string
routeType: string
tags:
- key: string
value: string
virtualInterfaceName: string
vlanId: 0
VirtualInterface Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualInterface resource accepts the following input properties:
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- Local
Ip string - The local IP that associated with.
- Peer
Ip string - The peer IP that associated with.
- Vlan
Id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- Bfd
Detect intInterval - The BFD detect interval.
- Bfd
Detect intMultiplier - The BFD detect times.
- Description string
- The description of virtual interface.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Virtual
Interface Tag> - The tags that direct connect gateway added.
- Virtual
Interface stringName - The name of virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- Local
Ip string - The local IP that associated with.
- Peer
Ip string - The peer IP that associated with.
- Vlan
Id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- Bfd
Detect intInterval - The BFD detect interval.
- Bfd
Detect intMultiplier - The BFD detect times.
- Description string
- The description of virtual interface.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - []Virtual
Interface Tag Args - The tags that direct connect gateway added.
- Virtual
Interface stringName - The name of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with.
- local
Ip String - The local IP that associated with.
- peer
Ip String - The peer IP that associated with.
- vlan
Id Integer - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth Integer
- The band width limit of virtual interface,in Mbps.
- bfd
Detect IntegerInterval - The BFD detect interval.
- bfd
Detect IntegerMultiplier - The BFD detect times.
- description String
- The description of virtual interface.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- nqa
Detect IntegerInterval - The NQA detect interval.
- nqa
Detect IntegerMultiplier - The NAQ detect times.
- route
Type String - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Virtual
Interface Tag> - The tags that direct connect gateway added.
- virtual
Interface StringName - The name of virtual interface.
- direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- local
Ip string - The local IP that associated with.
- peer
Ip string - The peer IP that associated with.
- vlan
Id number - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect numberInterval - The BFD detect interval.
- bfd
Detect numberMultiplier - The BFD detect times.
- description string
- The description of virtual interface.
- enable
Bfd boolean - Whether enable BFD detect.
- enable
Nqa boolean - Whether enable NQA detect.
- nqa
Detect numberInterval - The NQA detect interval.
- nqa
Detect numberMultiplier - The NAQ detect times.
- route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - Virtual
Interface Tag[] - The tags that direct connect gateway added.
- virtual
Interface stringName - The name of virtual interface.
- direct_
connect_ strconnection_ id - The direct connect connection ID which associated with.
- direct_
connect_ strgateway_ id - The direct connect gateway ID which associated with.
- local_
ip str - The local IP that associated with.
- peer_
ip str - The peer IP that associated with.
- vlan_
id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth int
- The band width limit of virtual interface,in Mbps.
- bfd_
detect_ intinterval - The BFD detect interval.
- bfd_
detect_ intmultiplier - The BFD detect times.
- description str
- The description of virtual interface.
- enable_
bfd bool - Whether enable BFD detect.
- enable_
nqa bool - Whether enable NQA detect.
- nqa_
detect_ intinterval - The NQA detect interval.
- nqa_
detect_ intmultiplier - The NAQ detect times.
- route_
type str - The route type of virtual interface,valid value contains
Static
,BGP
. - Sequence[Virtual
Interface Tag Args] - The tags that direct connect gateway added.
- virtual_
interface_ strname - The name of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with.
- local
Ip String - The local IP that associated with.
- peer
Ip String - The peer IP that associated with.
- vlan
Id Number - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth Number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect NumberInterval - The BFD detect interval.
- bfd
Detect NumberMultiplier - The BFD detect times.
- description String
- The description of virtual interface.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- nqa
Detect NumberInterval - The NQA detect interval.
- nqa
Detect NumberMultiplier - The NAQ detect times.
- route
Type String - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Property Map>
- The tags that direct connect gateway added.
- virtual
Interface StringName - The name of virtual interface.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualInterface resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing VirtualInterface Resource
Get an existing VirtualInterface resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VirtualInterfaceState, opts?: CustomResourceOptions): VirtualInterface
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bandwidth: Optional[int] = None,
bfd_detect_interval: Optional[int] = None,
bfd_detect_multiplier: Optional[int] = None,
description: Optional[str] = None,
direct_connect_connection_id: Optional[str] = None,
direct_connect_gateway_id: Optional[str] = None,
enable_bfd: Optional[bool] = None,
enable_nqa: Optional[bool] = None,
local_ip: Optional[str] = None,
nqa_detect_interval: Optional[int] = None,
nqa_detect_multiplier: Optional[int] = None,
peer_ip: Optional[str] = None,
route_type: Optional[str] = None,
tags: Optional[Sequence[VirtualInterfaceTagArgs]] = None,
virtual_interface_name: Optional[str] = None,
vlan_id: Optional[int] = None) -> VirtualInterface
func GetVirtualInterface(ctx *Context, name string, id IDInput, state *VirtualInterfaceState, opts ...ResourceOption) (*VirtualInterface, error)
public static VirtualInterface Get(string name, Input<string> id, VirtualInterfaceState? state, CustomResourceOptions? opts = null)
public static VirtualInterface get(String name, Output<String> id, VirtualInterfaceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- Bfd
Detect intInterval - The BFD detect interval.
- Bfd
Detect intMultiplier - The BFD detect times.
- Description string
- The description of virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Local
Ip string - The local IP that associated with.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Peer
Ip string - The peer IP that associated with.
- Route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Virtual
Interface Tag> - The tags that direct connect gateway added.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- Bandwidth int
- The band width limit of virtual interface,in Mbps.
- Bfd
Detect intInterval - The BFD detect interval.
- Bfd
Detect intMultiplier - The BFD detect times.
- Description string
- The description of virtual interface.
- Direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- Direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- Enable
Bfd bool - Whether enable BFD detect.
- Enable
Nqa bool - Whether enable NQA detect.
- Local
Ip string - The local IP that associated with.
- Nqa
Detect intInterval - The NQA detect interval.
- Nqa
Detect intMultiplier - The NAQ detect times.
- Peer
Ip string - The peer IP that associated with.
- Route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - []Virtual
Interface Tag Args - The tags that direct connect gateway added.
- Virtual
Interface stringName - The name of virtual interface.
- Vlan
Id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth Integer
- The band width limit of virtual interface,in Mbps.
- bfd
Detect IntegerInterval - The BFD detect interval.
- bfd
Detect IntegerMultiplier - The BFD detect times.
- description String
- The description of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- local
Ip String - The local IP that associated with.
- nqa
Detect IntegerInterval - The NQA detect interval.
- nqa
Detect IntegerMultiplier - The NAQ detect times.
- peer
Ip String - The peer IP that associated with.
- route
Type String - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Virtual
Interface Tag> - The tags that direct connect gateway added.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Integer - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect numberInterval - The BFD detect interval.
- bfd
Detect numberMultiplier - The BFD detect times.
- description string
- The description of virtual interface.
- direct
Connect stringConnection Id - The direct connect connection ID which associated with.
- direct
Connect stringGateway Id - The direct connect gateway ID which associated with.
- enable
Bfd boolean - Whether enable BFD detect.
- enable
Nqa boolean - Whether enable NQA detect.
- local
Ip string - The local IP that associated with.
- nqa
Detect numberInterval - The NQA detect interval.
- nqa
Detect numberMultiplier - The NAQ detect times.
- peer
Ip string - The peer IP that associated with.
- route
Type string - The route type of virtual interface,valid value contains
Static
,BGP
. - Virtual
Interface Tag[] - The tags that direct connect gateway added.
- virtual
Interface stringName - The name of virtual interface.
- vlan
Id number - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth int
- The band width limit of virtual interface,in Mbps.
- bfd_
detect_ intinterval - The BFD detect interval.
- bfd_
detect_ intmultiplier - The BFD detect times.
- description str
- The description of virtual interface.
- direct_
connect_ strconnection_ id - The direct connect connection ID which associated with.
- direct_
connect_ strgateway_ id - The direct connect gateway ID which associated with.
- enable_
bfd bool - Whether enable BFD detect.
- enable_
nqa bool - Whether enable NQA detect.
- local_
ip str - The local IP that associated with.
- nqa_
detect_ intinterval - The NQA detect interval.
- nqa_
detect_ intmultiplier - The NAQ detect times.
- peer_
ip str - The peer IP that associated with.
- route_
type str - The route type of virtual interface,valid value contains
Static
,BGP
. - Sequence[Virtual
Interface Tag Args] - The tags that direct connect gateway added.
- virtual_
interface_ strname - The name of virtual interface.
- vlan_
id int - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
- bandwidth Number
- The band width limit of virtual interface,in Mbps.
- bfd
Detect NumberInterval - The BFD detect interval.
- bfd
Detect NumberMultiplier - The BFD detect times.
- description String
- The description of virtual interface.
- direct
Connect StringConnection Id - The direct connect connection ID which associated with.
- direct
Connect StringGateway Id - The direct connect gateway ID which associated with.
- enable
Bfd Boolean - Whether enable BFD detect.
- enable
Nqa Boolean - Whether enable NQA detect.
- local
Ip String - The local IP that associated with.
- nqa
Detect NumberInterval - The NQA detect interval.
- nqa
Detect NumberMultiplier - The NAQ detect times.
- peer
Ip String - The peer IP that associated with.
- route
Type String - The route type of virtual interface,valid value contains
Static
,BGP
. - List<Property Map>
- The tags that direct connect gateway added.
- virtual
Interface StringName - The name of virtual interface.
- vlan
Id Number - The VLAN ID used to connect to the local IDC, please ensure that this VLAN ID is not occupied, the value range: 0 ~ 2999.
Supporting Types
VirtualInterfaceTag, VirtualInterfaceTagArgs
Import
DirectConnectVirtualInterface can be imported using the id, e.g.
$ pulumi import volcengine:direct_connect/virtualInterface:VirtualInterface default resource_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.