1. Packages
  2. Volcengine
  3. API Docs
  4. direct_connect
  5. VirtualInterface
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.direct_connect.VirtualInterface

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    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=[volcengine.direct_connect.VirtualInterfaceTagArgs(
            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

    The VirtualInterface resource accepts the following input properties:

    DirectConnectConnectionId string
    The direct connect connection ID which associated with.
    DirectConnectGatewayId string
    The direct connect gateway ID which associated with.
    LocalIp string
    The local IP that associated with.
    PeerIp string
    The peer IP that associated with.
    VlanId 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.
    BfdDetectInterval int
    The BFD detect interval.
    BfdDetectMultiplier int
    The BFD detect times.
    Description string
    The description of virtual interface.
    EnableBfd bool
    Whether enable BFD detect.
    EnableNqa bool
    Whether enable NQA detect.
    NqaDetectInterval int
    The NQA detect interval.
    NqaDetectMultiplier int
    The NAQ detect times.
    RouteType string
    The route type of virtual interface,valid value contains Static,BGP.
    Tags List<VirtualInterfaceTag>
    The tags that direct connect gateway added.
    VirtualInterfaceName string
    The name of virtual interface.
    DirectConnectConnectionId string
    The direct connect connection ID which associated with.
    DirectConnectGatewayId string
    The direct connect gateway ID which associated with.
    LocalIp string
    The local IP that associated with.
    PeerIp string
    The peer IP that associated with.
    VlanId 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.
    BfdDetectInterval int
    The BFD detect interval.
    BfdDetectMultiplier int
    The BFD detect times.
    Description string
    The description of virtual interface.
    EnableBfd bool
    Whether enable BFD detect.
    EnableNqa bool
    Whether enable NQA detect.
    NqaDetectInterval int
    The NQA detect interval.
    NqaDetectMultiplier int
    The NAQ detect times.
    RouteType string
    The route type of virtual interface,valid value contains Static,BGP.
    Tags []VirtualInterfaceTagArgs
    The tags that direct connect gateway added.
    VirtualInterfaceName string
    The name of virtual interface.
    directConnectConnectionId String
    The direct connect connection ID which associated with.
    directConnectGatewayId String
    The direct connect gateway ID which associated with.
    localIp String
    The local IP that associated with.
    peerIp String
    The peer IP that associated with.
    vlanId 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.
    bfdDetectInterval Integer
    The BFD detect interval.
    bfdDetectMultiplier Integer
    The BFD detect times.
    description String
    The description of virtual interface.
    enableBfd Boolean
    Whether enable BFD detect.
    enableNqa Boolean
    Whether enable NQA detect.
    nqaDetectInterval Integer
    The NQA detect interval.
    nqaDetectMultiplier Integer
    The NAQ detect times.
    routeType String
    The route type of virtual interface,valid value contains Static,BGP.
    tags List<VirtualInterfaceTag>
    The tags that direct connect gateway added.
    virtualInterfaceName String
    The name of virtual interface.
    directConnectConnectionId string
    The direct connect connection ID which associated with.
    directConnectGatewayId string
    The direct connect gateway ID which associated with.
    localIp string
    The local IP that associated with.
    peerIp string
    The peer IP that associated with.
    vlanId 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.
    bfdDetectInterval number
    The BFD detect interval.
    bfdDetectMultiplier number
    The BFD detect times.
    description string
    The description of virtual interface.
    enableBfd boolean
    Whether enable BFD detect.
    enableNqa boolean
    Whether enable NQA detect.
    nqaDetectInterval number
    The NQA detect interval.
    nqaDetectMultiplier number
    The NAQ detect times.
    routeType string
    The route type of virtual interface,valid value contains Static,BGP.
    tags VirtualInterfaceTag[]
    The tags that direct connect gateway added.
    virtualInterfaceName string
    The name of virtual interface.
    direct_connect_connection_id str
    The direct connect connection ID which associated with.
    direct_connect_gateway_id str
    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_interval int
    The BFD detect interval.
    bfd_detect_multiplier int
    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_interval int
    The NQA detect interval.
    nqa_detect_multiplier int
    The NAQ detect times.
    route_type str
    The route type of virtual interface,valid value contains Static,BGP.
    tags Sequence[VirtualInterfaceTagArgs]
    The tags that direct connect gateway added.
    virtual_interface_name str
    The name of virtual interface.
    directConnectConnectionId String
    The direct connect connection ID which associated with.
    directConnectGatewayId String
    The direct connect gateway ID which associated with.
    localIp String
    The local IP that associated with.
    peerIp String
    The peer IP that associated with.
    vlanId 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.
    bfdDetectInterval Number
    The BFD detect interval.
    bfdDetectMultiplier Number
    The BFD detect times.
    description String
    The description of virtual interface.
    enableBfd Boolean
    Whether enable BFD detect.
    enableNqa Boolean
    Whether enable NQA detect.
    nqaDetectInterval Number
    The NQA detect interval.
    nqaDetectMultiplier Number
    The NAQ detect times.
    routeType String
    The route type of virtual interface,valid value contains Static,BGP.
    tags List<Property Map>
    The tags that direct connect gateway added.
    virtualInterfaceName String
    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.
    The following state arguments are supported:
    Bandwidth int
    The band width limit of virtual interface,in Mbps.
    BfdDetectInterval int
    The BFD detect interval.
    BfdDetectMultiplier int
    The BFD detect times.
    Description string
    The description of virtual interface.
    DirectConnectConnectionId string
    The direct connect connection ID which associated with.
    DirectConnectGatewayId string
    The direct connect gateway ID which associated with.
    EnableBfd bool
    Whether enable BFD detect.
    EnableNqa bool
    Whether enable NQA detect.
    LocalIp string
    The local IP that associated with.
    NqaDetectInterval int
    The NQA detect interval.
    NqaDetectMultiplier int
    The NAQ detect times.
    PeerIp string
    The peer IP that associated with.
    RouteType string
    The route type of virtual interface,valid value contains Static,BGP.
    Tags List<VirtualInterfaceTag>
    The tags that direct connect gateway added.
    VirtualInterfaceName string
    The name of virtual interface.
    VlanId 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.
    BfdDetectInterval int
    The BFD detect interval.
    BfdDetectMultiplier int
    The BFD detect times.
    Description string
    The description of virtual interface.
    DirectConnectConnectionId string
    The direct connect connection ID which associated with.
    DirectConnectGatewayId string
    The direct connect gateway ID which associated with.
    EnableBfd bool
    Whether enable BFD detect.
    EnableNqa bool
    Whether enable NQA detect.
    LocalIp string
    The local IP that associated with.
    NqaDetectInterval int
    The NQA detect interval.
    NqaDetectMultiplier int
    The NAQ detect times.
    PeerIp string
    The peer IP that associated with.
    RouteType string
    The route type of virtual interface,valid value contains Static,BGP.
    Tags []VirtualInterfaceTagArgs
    The tags that direct connect gateway added.
    VirtualInterfaceName string
    The name of virtual interface.
    VlanId 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.
    bfdDetectInterval Integer
    The BFD detect interval.
    bfdDetectMultiplier Integer
    The BFD detect times.
    description String
    The description of virtual interface.
    directConnectConnectionId String
    The direct connect connection ID which associated with.
    directConnectGatewayId String
    The direct connect gateway ID which associated with.
    enableBfd Boolean
    Whether enable BFD detect.
    enableNqa Boolean
    Whether enable NQA detect.
    localIp String
    The local IP that associated with.
    nqaDetectInterval Integer
    The NQA detect interval.
    nqaDetectMultiplier Integer
    The NAQ detect times.
    peerIp String
    The peer IP that associated with.
    routeType String
    The route type of virtual interface,valid value contains Static,BGP.
    tags List<VirtualInterfaceTag>
    The tags that direct connect gateway added.
    virtualInterfaceName String
    The name of virtual interface.
    vlanId 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.
    bfdDetectInterval number
    The BFD detect interval.
    bfdDetectMultiplier number
    The BFD detect times.
    description string
    The description of virtual interface.
    directConnectConnectionId string
    The direct connect connection ID which associated with.
    directConnectGatewayId string
    The direct connect gateway ID which associated with.
    enableBfd boolean
    Whether enable BFD detect.
    enableNqa boolean
    Whether enable NQA detect.
    localIp string
    The local IP that associated with.
    nqaDetectInterval number
    The NQA detect interval.
    nqaDetectMultiplier number
    The NAQ detect times.
    peerIp string
    The peer IP that associated with.
    routeType string
    The route type of virtual interface,valid value contains Static,BGP.
    tags VirtualInterfaceTag[]
    The tags that direct connect gateway added.
    virtualInterfaceName string
    The name of virtual interface.
    vlanId 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_interval int
    The BFD detect interval.
    bfd_detect_multiplier int
    The BFD detect times.
    description str
    The description of virtual interface.
    direct_connect_connection_id str
    The direct connect connection ID which associated with.
    direct_connect_gateway_id str
    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_interval int
    The NQA detect interval.
    nqa_detect_multiplier int
    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.
    tags Sequence[VirtualInterfaceTagArgs]
    The tags that direct connect gateway added.
    virtual_interface_name str
    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.
    bfdDetectInterval Number
    The BFD detect interval.
    bfdDetectMultiplier Number
    The BFD detect times.
    description String
    The description of virtual interface.
    directConnectConnectionId String
    The direct connect connection ID which associated with.
    directConnectGatewayId String
    The direct connect gateway ID which associated with.
    enableBfd Boolean
    Whether enable BFD detect.
    enableNqa Boolean
    Whether enable NQA detect.
    localIp String
    The local IP that associated with.
    nqaDetectInterval Number
    The NQA detect interval.
    nqaDetectMultiplier Number
    The NAQ detect times.
    peerIp String
    The peer IP that associated with.
    routeType String
    The route type of virtual interface,valid value contains Static,BGP.
    tags List<Property Map>
    The tags that direct connect gateway added.
    virtualInterfaceName String
    The name of virtual interface.
    vlanId 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

    Key string
    The tag key.
    Value string
    The tag value.
    Key string
    The tag key.
    Value string
    The tag value.
    key String
    The tag key.
    value String
    The tag value.
    key string
    The tag key.
    value string
    The tag value.
    key str
    The tag key.
    value str
    The tag value.
    key String
    The tag key.
    value String
    The tag value.

    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.
    volcengine logo
    Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine