opentelekomcloud.DcVirtualInterfaceV3
Explore with Pulumi AI
Manages a virtual interface v3 resource within OpenTelekomCloud.
NOTE: Direct Connect v3 API that are used in this resource officially supported only on SwissCloud now.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const directConnectId = config.requireObject("directConnectId");
const gatewayId = config.requireObject("gatewayId");
const interfaceName = config.requireObject("interfaceName");
const vi = new opentelekomcloud.DcVirtualInterfaceV3("vi", {
    directConnectId: directConnectId,
    vgwId: gatewayId,
    type: "private",
    routeMode: "static",
    vlan: 522,
    bandwidth: 5,
    remoteEpGroups: ["1.1.1.0/30"],
    addressFamily: "ipv4",
    localGatewayV4Ip: "1.1.1.1/30",
    remoteGatewayV4Ip: "1.1.1.2/30",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
direct_connect_id = config.require_object("directConnectId")
gateway_id = config.require_object("gatewayId")
interface_name = config.require_object("interfaceName")
vi = opentelekomcloud.DcVirtualInterfaceV3("vi",
    direct_connect_id=direct_connect_id,
    vgw_id=gateway_id,
    type="private",
    route_mode="static",
    vlan=522,
    bandwidth=5,
    remote_ep_groups=["1.1.1.0/30"],
    address_family="ipv4",
    local_gateway_v4_ip="1.1.1.1/30",
    remote_gateway_v4_ip="1.1.1.2/30")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		directConnectId := cfg.RequireObject("directConnectId")
		gatewayId := cfg.RequireObject("gatewayId")
		interfaceName := cfg.RequireObject("interfaceName")
		_, err := opentelekomcloud.NewDcVirtualInterfaceV3(ctx, "vi", &opentelekomcloud.DcVirtualInterfaceV3Args{
			DirectConnectId: pulumi.Any(directConnectId),
			VgwId:           pulumi.Any(gatewayId),
			Type:            pulumi.String("private"),
			RouteMode:       pulumi.String("static"),
			Vlan:            pulumi.Float64(522),
			Bandwidth:       pulumi.Float64(5),
			RemoteEpGroups: pulumi.StringArray{
				pulumi.String("1.1.1.0/30"),
			},
			AddressFamily:     pulumi.String("ipv4"),
			LocalGatewayV4Ip:  pulumi.String("1.1.1.1/30"),
			RemoteGatewayV4Ip: pulumi.String("1.1.1.2/30"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var directConnectId = config.RequireObject<dynamic>("directConnectId");
    var gatewayId = config.RequireObject<dynamic>("gatewayId");
    var interfaceName = config.RequireObject<dynamic>("interfaceName");
    var vi = new Opentelekomcloud.DcVirtualInterfaceV3("vi", new()
    {
        DirectConnectId = directConnectId,
        VgwId = gatewayId,
        Type = "private",
        RouteMode = "static",
        Vlan = 522,
        Bandwidth = 5,
        RemoteEpGroups = new[]
        {
            "1.1.1.0/30",
        },
        AddressFamily = "ipv4",
        LocalGatewayV4Ip = "1.1.1.1/30",
        RemoteGatewayV4Ip = "1.1.1.2/30",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DcVirtualInterfaceV3;
import com.pulumi.opentelekomcloud.DcVirtualInterfaceV3Args;
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 config = ctx.config();
        final var directConnectId = config.get("directConnectId");
        final var gatewayId = config.get("gatewayId");
        final var interfaceName = config.get("interfaceName");
        var vi = new DcVirtualInterfaceV3("vi", DcVirtualInterfaceV3Args.builder()
            .directConnectId(directConnectId)
            .vgwId(gatewayId)
            .type("private")
            .routeMode("static")
            .vlan(522)
            .bandwidth(5)
            .remoteEpGroups("1.1.1.0/30")
            .addressFamily("ipv4")
            .localGatewayV4Ip("1.1.1.1/30")
            .remoteGatewayV4Ip("1.1.1.2/30")
            .build());
    }
}
configuration:
  directConnectId:
    type: dynamic
  gatewayId:
    type: dynamic
  interfaceName:
    type: dynamic
resources:
  vi:
    type: opentelekomcloud:DcVirtualInterfaceV3
    properties:
      directConnectId: ${directConnectId}
      vgwId: ${gatewayId}
      type: private
      routeMode: static
      vlan: 522
      bandwidth: 5
      remoteEpGroups:
        - 1.1.1.0/30
      addressFamily: ipv4
      localGatewayV4Ip: 1.1.1.1/30
      remoteGatewayV4Ip: 1.1.1.2/30
Create DcVirtualInterfaceV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DcVirtualInterfaceV3(name: string, args: DcVirtualInterfaceV3Args, opts?: CustomResourceOptions);@overload
def DcVirtualInterfaceV3(resource_name: str,
                         args: DcVirtualInterfaceV3Args,
                         opts: Optional[ResourceOptions] = None)
@overload
def DcVirtualInterfaceV3(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         remote_ep_groups: Optional[Sequence[str]] = None,
                         vlan: Optional[float] = None,
                         bandwidth: Optional[float] = None,
                         vgw_id: Optional[str] = None,
                         type: Optional[str] = None,
                         route_mode: Optional[str] = None,
                         direct_connect_id: Optional[str] = None,
                         local_gateway_v4_ip: Optional[str] = None,
                         remote_gateway_v4_ip: Optional[str] = None,
                         lag_id: Optional[str] = None,
                         address_family: Optional[str] = None,
                         local_gateway_v6_ip: Optional[str] = None,
                         name: Optional[str] = None,
                         enable_bfd: Optional[bool] = None,
                         enable_nqa: Optional[bool] = None,
                         remote_gateway_v6_ip: Optional[str] = None,
                         resource_tenant_id: Optional[str] = None,
                         description: Optional[str] = None,
                         service_ep_groups: Optional[Sequence[str]] = None,
                         dc_virtual_interface_v3_id: Optional[str] = None,
                         bgp_md5: Optional[str] = None,
                         asn: Optional[float] = None)func NewDcVirtualInterfaceV3(ctx *Context, name string, args DcVirtualInterfaceV3Args, opts ...ResourceOption) (*DcVirtualInterfaceV3, error)public DcVirtualInterfaceV3(string name, DcVirtualInterfaceV3Args args, CustomResourceOptions? opts = null)
public DcVirtualInterfaceV3(String name, DcVirtualInterfaceV3Args args)
public DcVirtualInterfaceV3(String name, DcVirtualInterfaceV3Args args, CustomResourceOptions options)
type: opentelekomcloud:DcVirtualInterfaceV3
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 DcVirtualInterfaceV3Args
- 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 DcVirtualInterfaceV3Args
- 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 DcVirtualInterfaceV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DcVirtualInterfaceV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DcVirtualInterfaceV3Args
- 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 dcVirtualInterfaceV3Resource = new Opentelekomcloud.DcVirtualInterfaceV3("dcVirtualInterfaceV3Resource", new()
{
    RemoteEpGroups = new[]
    {
        "string",
    },
    Vlan = 0,
    Bandwidth = 0,
    VgwId = "string",
    Type = "string",
    RouteMode = "string",
    DirectConnectId = "string",
    LocalGatewayV4Ip = "string",
    RemoteGatewayV4Ip = "string",
    LagId = "string",
    AddressFamily = "string",
    LocalGatewayV6Ip = "string",
    Name = "string",
    EnableBfd = false,
    EnableNqa = false,
    RemoteGatewayV6Ip = "string",
    ResourceTenantId = "string",
    Description = "string",
    ServiceEpGroups = new[]
    {
        "string",
    },
    DcVirtualInterfaceV3Id = "string",
    BgpMd5 = "string",
    Asn = 0,
});
example, err := opentelekomcloud.NewDcVirtualInterfaceV3(ctx, "dcVirtualInterfaceV3Resource", &opentelekomcloud.DcVirtualInterfaceV3Args{
RemoteEpGroups: pulumi.StringArray{
pulumi.String("string"),
},
Vlan: pulumi.Float64(0),
Bandwidth: pulumi.Float64(0),
VgwId: pulumi.String("string"),
Type: pulumi.String("string"),
RouteMode: pulumi.String("string"),
DirectConnectId: pulumi.String("string"),
LocalGatewayV4Ip: pulumi.String("string"),
RemoteGatewayV4Ip: pulumi.String("string"),
LagId: pulumi.String("string"),
AddressFamily: pulumi.String("string"),
LocalGatewayV6Ip: pulumi.String("string"),
Name: pulumi.String("string"),
EnableBfd: pulumi.Bool(false),
EnableNqa: pulumi.Bool(false),
RemoteGatewayV6Ip: pulumi.String("string"),
ResourceTenantId: pulumi.String("string"),
Description: pulumi.String("string"),
ServiceEpGroups: pulumi.StringArray{
pulumi.String("string"),
},
DcVirtualInterfaceV3Id: pulumi.String("string"),
BgpMd5: pulumi.String("string"),
Asn: pulumi.Float64(0),
})
var dcVirtualInterfaceV3Resource = new DcVirtualInterfaceV3("dcVirtualInterfaceV3Resource", DcVirtualInterfaceV3Args.builder()
    .remoteEpGroups("string")
    .vlan(0)
    .bandwidth(0)
    .vgwId("string")
    .type("string")
    .routeMode("string")
    .directConnectId("string")
    .localGatewayV4Ip("string")
    .remoteGatewayV4Ip("string")
    .lagId("string")
    .addressFamily("string")
    .localGatewayV6Ip("string")
    .name("string")
    .enableBfd(false)
    .enableNqa(false)
    .remoteGatewayV6Ip("string")
    .resourceTenantId("string")
    .description("string")
    .serviceEpGroups("string")
    .dcVirtualInterfaceV3Id("string")
    .bgpMd5("string")
    .asn(0)
    .build());
dc_virtual_interface_v3_resource = opentelekomcloud.DcVirtualInterfaceV3("dcVirtualInterfaceV3Resource",
    remote_ep_groups=["string"],
    vlan=0,
    bandwidth=0,
    vgw_id="string",
    type="string",
    route_mode="string",
    direct_connect_id="string",
    local_gateway_v4_ip="string",
    remote_gateway_v4_ip="string",
    lag_id="string",
    address_family="string",
    local_gateway_v6_ip="string",
    name="string",
    enable_bfd=False,
    enable_nqa=False,
    remote_gateway_v6_ip="string",
    resource_tenant_id="string",
    description="string",
    service_ep_groups=["string"],
    dc_virtual_interface_v3_id="string",
    bgp_md5="string",
    asn=0)
const dcVirtualInterfaceV3Resource = new opentelekomcloud.DcVirtualInterfaceV3("dcVirtualInterfaceV3Resource", {
    remoteEpGroups: ["string"],
    vlan: 0,
    bandwidth: 0,
    vgwId: "string",
    type: "string",
    routeMode: "string",
    directConnectId: "string",
    localGatewayV4Ip: "string",
    remoteGatewayV4Ip: "string",
    lagId: "string",
    addressFamily: "string",
    localGatewayV6Ip: "string",
    name: "string",
    enableBfd: false,
    enableNqa: false,
    remoteGatewayV6Ip: "string",
    resourceTenantId: "string",
    description: "string",
    serviceEpGroups: ["string"],
    dcVirtualInterfaceV3Id: "string",
    bgpMd5: "string",
    asn: 0,
});
type: opentelekomcloud:DcVirtualInterfaceV3
properties:
    addressFamily: string
    asn: 0
    bandwidth: 0
    bgpMd5: string
    dcVirtualInterfaceV3Id: string
    description: string
    directConnectId: string
    enableBfd: false
    enableNqa: false
    lagId: string
    localGatewayV4Ip: string
    localGatewayV6Ip: string
    name: string
    remoteEpGroups:
        - string
    remoteGatewayV4Ip: string
    remoteGatewayV6Ip: string
    resourceTenantId: string
    routeMode: string
    serviceEpGroups:
        - string
    type: string
    vgwId: string
    vlan: 0
DcVirtualInterfaceV3 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 DcVirtualInterfaceV3 resource accepts the following input properties:
- Bandwidth double
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- DirectConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- RemoteEp List<string>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- Type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- VgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- Vlan double
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- Asn double
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- DcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- LagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- LocalGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- LocalGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- Name string
- Specifies the name of the virtual interface.
- RemoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- RemoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- ResourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- ServiceEp List<string>Groups 
- Specifies the subnets that access Internet services through a connection.
- Bandwidth float64
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- DirectConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- RemoteEp []stringGroups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- Type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- VgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- Vlan float64
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- Asn float64
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- DcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- LagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- LocalGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- LocalGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- Name string
- Specifies the name of the virtual interface.
- RemoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- RemoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- ResourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- ServiceEp []stringGroups 
- Specifies the subnets that access Internet services through a connection.
- bandwidth Double
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- directConnect StringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- type String
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- vgwId String
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vlan Double
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn Double
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dcVirtual StringInterface V3Id 
- The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId String
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name String
- Specifies the name of the virtual interface.
- remoteGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant StringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
- bandwidth number
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- directConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remoteEp string[]Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- routeMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- vgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vlan number
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn number
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- enableBfd boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name string
- Specifies the name of the virtual interface.
- remoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- serviceEp string[]Groups 
- Specifies the subnets that access Internet services through a connection.
- bandwidth float
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- direct_connect_ strid 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remote_ep_ Sequence[str]groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- route_mode str
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- type str
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- vgw_id str
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vlan float
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- address_family str
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn float
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bgp_md5 str
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dc_virtual_ strinterface_ v3_ id 
- The VIF peer resource ID.
- description str
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- enable_bfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enable_nqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lag_id str
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local_gateway_ strv4_ ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- local_gateway_ strv6_ ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name str
- Specifies the name of the virtual interface.
- remote_gateway_ strv4_ ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remote_gateway_ strv6_ ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resource_tenant_ strid 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- service_ep_ Sequence[str]groups 
- Specifies the subnets that access Internet services through a connection.
- bandwidth Number
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- directConnect StringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- type String
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- vgwId String
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vlan Number
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn Number
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dcVirtual StringInterface V3Id 
- The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId String
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name String
- Specifies the name of the virtual interface.
- remoteGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant StringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
Outputs
All input properties are implicitly available as output properties. Additionally, the DcVirtualInterfaceV3 resource produces the following output properties:
- CreatedAt string
- The creation time of the virtual interface
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- The region where the virtual interface is located.
- Status string
- The status of the virtual interface peer.
- UpdatedAt string
- VifPeers List<DcVirtual Interface V3Vif Peer> 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- CreatedAt string
- The creation time of the virtual interface
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region string
- The region where the virtual interface is located.
- Status string
- The status of the virtual interface peer.
- UpdatedAt string
- VifPeers []DcVirtual Interface V3Vif Peer 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- createdAt String
- The creation time of the virtual interface
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- The region where the virtual interface is located.
- status String
- The status of the virtual interface peer.
- updatedAt String
- vifPeers List<DcVirtual Interface V3Vif Peer> 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- createdAt string
- The creation time of the virtual interface
- deviceId string
- The ID of the device that the virtual interface peer belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- region string
- The region where the virtual interface is located.
- status string
- The status of the virtual interface peer.
- updatedAt string
- vifPeers DcVirtual Interface V3Vif Peer[] 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- created_at str
- The creation time of the virtual interface
- device_id str
- The ID of the device that the virtual interface peer belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- region str
- The region where the virtual interface is located.
- status str
- The status of the virtual interface peer.
- updated_at str
- vif_peers Sequence[DcVirtual Interface V3Vif Peer] 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- createdAt String
- The creation time of the virtual interface
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- region String
- The region where the virtual interface is located.
- status String
- The status of the virtual interface peer.
- updatedAt String
- vifPeers List<Property Map>
- The peer information of the virtual interface. The vif_peers structure is documented below.
Look up Existing DcVirtualInterfaceV3 Resource
Get an existing DcVirtualInterfaceV3 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?: DcVirtualInterfaceV3State, opts?: CustomResourceOptions): DcVirtualInterfaceV3@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address_family: Optional[str] = None,
        asn: Optional[float] = None,
        bandwidth: Optional[float] = None,
        bgp_md5: Optional[str] = None,
        created_at: Optional[str] = None,
        dc_virtual_interface_v3_id: Optional[str] = None,
        description: Optional[str] = None,
        device_id: Optional[str] = None,
        direct_connect_id: Optional[str] = None,
        enable_bfd: Optional[bool] = None,
        enable_nqa: Optional[bool] = None,
        lag_id: Optional[str] = None,
        local_gateway_v4_ip: Optional[str] = None,
        local_gateway_v6_ip: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        remote_ep_groups: Optional[Sequence[str]] = None,
        remote_gateway_v4_ip: Optional[str] = None,
        remote_gateway_v6_ip: Optional[str] = None,
        resource_tenant_id: Optional[str] = None,
        route_mode: Optional[str] = None,
        service_ep_groups: Optional[Sequence[str]] = None,
        status: Optional[str] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None,
        vgw_id: Optional[str] = None,
        vif_peers: Optional[Sequence[DcVirtualInterfaceV3VifPeerArgs]] = None,
        vlan: Optional[float] = None) -> DcVirtualInterfaceV3func GetDcVirtualInterfaceV3(ctx *Context, name string, id IDInput, state *DcVirtualInterfaceV3State, opts ...ResourceOption) (*DcVirtualInterfaceV3, error)public static DcVirtualInterfaceV3 Get(string name, Input<string> id, DcVirtualInterfaceV3State? state, CustomResourceOptions? opts = null)public static DcVirtualInterfaceV3 get(String name, Output<String> id, DcVirtualInterfaceV3State state, CustomResourceOptions options)resources:  _:    type: opentelekomcloud:DcVirtualInterfaceV3    get:      id: ${id}- 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.
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- Asn double
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- Bandwidth double
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- CreatedAt string
- The creation time of the virtual interface
- DcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- DirectConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- LagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- LocalGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- LocalGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- Name string
- Specifies the name of the virtual interface.
- Region string
- The region where the virtual interface is located.
- RemoteEp List<string>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RemoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- RemoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- ResourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- ServiceEp List<string>Groups 
- Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- Type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- UpdatedAt string
- VgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- VifPeers List<DcVirtual Interface V3Vif Peer> 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- Vlan double
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- Asn float64
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- Bandwidth float64
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- CreatedAt string
- The creation time of the virtual interface
- DcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- DirectConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- LagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- LocalGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- LocalGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- Name string
- Specifies the name of the virtual interface.
- Region string
- The region where the virtual interface is located.
- RemoteEp []stringGroups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RemoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- RemoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- ResourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- ServiceEp []stringGroups 
- Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- Type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- UpdatedAt string
- VgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- VifPeers []DcVirtual Interface V3Vif Peer Args 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- Vlan float64
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn Double
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bandwidth Double
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- createdAt String
- The creation time of the virtual interface
- dcVirtual StringInterface V3Id 
- The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- directConnect StringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId String
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name String
- Specifies the name of the virtual interface.
- region String
- The region where the virtual interface is located.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant StringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- type String
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- updatedAt String
- vgwId String
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vifPeers List<DcVirtual Interface V3Vif Peer> 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- vlan Double
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn number
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bandwidth number
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- bgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- createdAt string
- The creation time of the virtual interface
- dcVirtual stringInterface V3Id 
- The VIF peer resource ID.
- description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId string
- The ID of the device that the virtual interface peer belongs to.
- directConnect stringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enableBfd boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId string
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name string
- Specifies the name of the virtual interface.
- region string
- The region where the virtual interface is located.
- remoteEp string[]Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway stringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway stringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant stringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- routeMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp string[]Groups 
- Specifies the subnets that access Internet services through a connection.
- status string
- The status of the virtual interface peer.
- type string
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- updatedAt string
- vgwId string
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vifPeers DcVirtual Interface V3Vif Peer[] 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- vlan number
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- address_family str
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn float
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bandwidth float
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- bgp_md5 str
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- created_at str
- The creation time of the virtual interface
- dc_virtual_ strinterface_ v3_ id 
- The VIF peer resource ID.
- description str
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- device_id str
- The ID of the device that the virtual interface peer belongs to.
- direct_connect_ strid 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enable_bfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enable_nqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lag_id str
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local_gateway_ strv4_ ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- local_gateway_ strv6_ ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name str
- Specifies the name of the virtual interface.
- region str
- The region where the virtual interface is located.
- remote_ep_ Sequence[str]groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remote_gateway_ strv4_ ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remote_gateway_ strv6_ ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resource_tenant_ strid 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- route_mode str
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- service_ep_ Sequence[str]groups 
- Specifies the subnets that access Internet services through a connection.
- status str
- The status of the virtual interface peer.
- type str
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- updated_at str
- vgw_id str
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vif_peers Sequence[DcVirtual Interface V3Vif Peer Args] 
- The peer information of the virtual interface. The vif_peers structure is documented below.
- vlan float
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- asn Number
- Specifies the local BGP ASN of the virtual interface.
The valid value is range from 1to4,294,967,295, except64,512. Changing this will create a new resource.
- bandwidth Number
- Specifies the bandwidth of the virtual interface. The unit is Mbit/s. The size range depends on the direct connection.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- createdAt String
- The creation time of the virtual interface
- dcVirtual StringInterface V3Id 
- The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- directConnect StringId 
- Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- lagId String
- Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- localGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- localGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if address_familyis set toipv6. Changing this will create a new resource.
- name String
- Specifies the name of the virtual interface.
- region String
- The region where the virtual interface is located.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway StringV4Ip 
- Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if address_familyis set toipv4. Changing this will create a new resource.
- remoteGateway StringV6Ip 
- Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if - address_familyis set to- ipv6. Changing this will create a new resource.- The CIDRs of - local_gateway_v4_ipand- remote_gateway_v4_ip(or- local_gateway_v6_ipand- remote_gateway_v6_ip) must be in the same subnet.
- resourceTenant StringId 
- Specifies the project ID of another tenant in the same region
which is used to create virtual interface across tenant. After the across tenant virtual interface is successfully
created, the target tenant needs to accept the virtual interface request for the virtual interface to take effect.
Changing this will create a new resource.- When resource_tenant_idis specified,vgw_idmust be the target tenant virtual gateway id. 2. Whenresource_tenant_idis specified, the tags can only be configured after the target tenant accepts the virtual interface request and the virtual interface takes effect.
 
- When 
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- type String
- Specifies the type of the virtual interface.
The valid value is private. Changing this will create a new resource.
- updatedAt String
- vgwId String
- Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vifPeers List<Property Map>
- The peer information of the virtual interface. The vif_peers structure is documented below.
- vlan Number
- Specifies the customer VLAN to be connected.
The valid value is range from 0to3,999. Changing this will create a new resource.
Supporting Types
DcVirtualInterfaceV3VifPeer, DcVirtualInterfaceV3VifPeerArgs          
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- BgpAsn double
- The ASN of the BGP peer.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- BgpRoute doubleLimit 
- The BGP route configuration.
- BgpStatus string
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- Id string
- The VIF peer resource ID.
- LocalGateway stringIp 
- The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface.
- ReceiveRoute doubleNum 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- RemoteEp List<string>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RemoteGateway stringIp 
- The address of the virtual interface peer used in the on-premises data center.
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- ServiceEp List<string>Groups 
- Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- TenantId string
- VifId string
- The ID of the virtual interface corresponding to the virtual interface peer.
- AddressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- BgpAsn float64
- The ASN of the BGP peer.
- BgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- BgpRoute float64Limit 
- The BGP route configuration.
- BgpStatus string
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- DeviceId string
- The ID of the device that the virtual interface peer belongs to.
- EnableBfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- EnableNqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- Id string
- The VIF peer resource ID.
- LocalGateway stringIp 
- The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface.
- ReceiveRoute float64Num 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- RemoteEp []stringGroups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- RemoteGateway stringIp 
- The address of the virtual interface peer used in the on-premises data center.
- RouteMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- ServiceEp []stringGroups 
- Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- TenantId string
- VifId string
- The ID of the virtual interface corresponding to the virtual interface peer.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- bgpAsn Double
- The ASN of the BGP peer.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgpRoute DoubleLimit 
- The BGP route configuration.
- bgpStatus String
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- id String
- The VIF peer resource ID.
- localGateway StringIp 
- The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface.
- receiveRoute DoubleNum 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway StringIp 
- The address of the virtual interface peer used in the on-premises data center.
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- tenantId String
- vifId String
- The ID of the virtual interface corresponding to the virtual interface peer.
- addressFamily string
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- bgpAsn number
- The ASN of the BGP peer.
- bgpMd5 string
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgpRoute numberLimit 
- The BGP route configuration.
- bgpStatus string
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- description string
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId string
- The ID of the device that the virtual interface peer belongs to.
- enableBfd boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- id string
- The VIF peer resource ID.
- localGateway stringIp 
- The address of the virtual interface peer used on the cloud.
- name string
- Specifies the name of the virtual interface.
- receiveRoute numberNum 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- remoteEp string[]Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway stringIp 
- The address of the virtual interface peer used in the on-premises data center.
- routeMode string
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp string[]Groups 
- Specifies the subnets that access Internet services through a connection.
- status string
- The status of the virtual interface peer.
- tenantId string
- vifId string
- The ID of the virtual interface corresponding to the virtual interface peer.
- address_family str
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- bgp_asn float
- The ASN of the BGP peer.
- bgp_md5 str
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgp_route_ floatlimit 
- The BGP route configuration.
- bgp_status str
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- description str
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- device_id str
- The ID of the device that the virtual interface peer belongs to.
- enable_bfd bool
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enable_nqa bool
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- id str
- The VIF peer resource ID.
- local_gateway_ strip 
- The address of the virtual interface peer used on the cloud.
- name str
- Specifies the name of the virtual interface.
- receive_route_ floatnum 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- remote_ep_ Sequence[str]groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remote_gateway_ strip 
- The address of the virtual interface peer used in the on-premises data center.
- route_mode str
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- service_ep_ Sequence[str]groups 
- Specifies the subnets that access Internet services through a connection.
- status str
- The status of the virtual interface peer.
- tenant_id str
- vif_id str
- The ID of the virtual interface corresponding to the virtual interface peer.
- addressFamily String
- Specifies the service type of the virtual interface.
The valid values are ipv4andipv6. Defaults toipv4. Changing this will create a new resource.
- bgpAsn Number
- The ASN of the BGP peer.
- bgpMd5 String
- Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgpRoute NumberLimit 
- The BGP route configuration.
- bgpStatus String
- The BGP protocol status of the virtual interface peer. If the virtual interface peer uses staticrouting, the status is null.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of 128characters and the angle brackets (<and>) are not allowed. Chinese characters must be inUTF-8orUnicodeformat.
- deviceId String
- The ID of the device that the virtual interface peer belongs to.
- enableBfd Boolean
- Specifies whether to enable the Bidirectional Forwarding Detection (BFD) function.
Defaults to false. (This is a reserved parameter and is not supported currently.)
- enableNqa Boolean
- Specifies whether to enable the Network Quality Analysis (NQA) function. Defaults to - false. (This is a reserved parameter and is not supported currently.)- The values of parameter - enable_bfdand- enable_nqacannot be- trueat the same time.
- id String
- The VIF peer resource ID.
- localGateway StringIp 
- The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface.
- receiveRoute NumberNum 
- The number of received BGP routes if bgprouting is used. Ifstaticrouting is used, this parameter is meaningless and the value is-1.
- remoteEp List<String>Groups 
- Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter local_gateway_v4_iporlocal_gateway_v6_ip) and remote subnet (corresponding to the parameterremote_gateway_v4_iporremote_gateway_v6_ip) must exist in the list.
- remoteGateway StringIp 
- The address of the virtual interface peer used in the on-premises data center.
- routeMode String
- Specifies the route mode of the virtual interface.
The valid values are staticandbgp. Changing this will create a new resource.
- serviceEp List<String>Groups 
- Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- tenantId String
- vifId String
- The ID of the virtual interface corresponding to the virtual interface peer.
Import
Virtual interfaces can be imported using their id, e.g.
$ pulumi import opentelekomcloud:index/dcVirtualInterfaceV3:DcVirtualInterfaceV3 vi e41748a0-aed9-463e-9817-5c6162265d10
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the opentelekomcloudTerraform Provider.