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.
- Direct
Connect stringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- Remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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. - Vgw
Id 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
0
to3,999
. Changing this will create a new resource. - Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,294,967,295
, except64,512
. Changing this will create a new resource. - Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- Local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource. - Name string
- Specifies the name of the virtual interface.
- Remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- Resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 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.
- Direct
Connect stringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- Remote
Ep []stringGroups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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. - Vgw
Id 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
0
to3,999
. Changing this will create a new resource. - Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,294,967,295
, except64,512
. Changing this will create a new resource. - Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- Local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource. - Name string
- Specifies the name of the virtual interface.
- Remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- Resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 []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.
- direct
Connect StringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - route
Mode String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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. - vgw
Id 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
0
to3,999
. Changing this will create a new resource. - address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,294,967,295
, except64,512
. Changing this will create a new resource. - bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dc
Virtual StringInterface V3Id - The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id String - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway StringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource. - name String
- Specifies the name of the virtual interface.
- remote
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway StringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 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.
- direct
Connect stringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remote
Ep string[]Groups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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. - vgw
Id 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
0
to3,999
. Changing this will create a new resource. - address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,294,967,295
, except64,512
. Changing this will create a new resource. - bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - enable
Bfd boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource. - name string
- Specifies the name of the virtual interface.
- remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - route_
mode str - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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
0
to3,999
. Changing this will create a new resource. - address_
family str - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - 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_bfd
andenable_nqa
cannot betrue
at 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_family
is 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_family
is 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_family
is 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_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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.
- direct
Connect StringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - route
Mode String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. 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. - vgw
Id 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
0
to3,999
. Changing this will create a new resource. - address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,294,967,295
, except64,512
. Changing this will create a new resource. - bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- dc
Virtual StringInterface V3Id - The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id String - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway StringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource. - name String
- Specifies the name of the virtual interface.
- remote
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway StringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 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:
- Created
At string - The creation time of the virtual interface
- Device
Id 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.
- Updated
At string - Vif
Peers List<DcVirtual Interface V3Vif Peer> - The peer information of the virtual interface. The vif_peers structure is documented below.
- Created
At string - The creation time of the virtual interface
- Device
Id 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.
- Updated
At string - Vif
Peers []DcVirtual Interface V3Vif Peer - The peer information of the virtual interface. The vif_peers structure is documented below.
- created
At String - The creation time of the virtual interface
- device
Id 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.
- updated
At String - vif
Peers List<DcVirtual Interface V3Vif Peer> - The peer information of the virtual interface. The vif_peers structure is documented below.
- created
At string - The creation time of the virtual interface
- device
Id 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.
- updated
At string - vif
Peers 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.
- created
At String - The creation time of the virtual interface
- device
Id 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.
- updated
At String - vif
Peers 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) -> DcVirtualInterfaceV3
func 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.
- Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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.
- Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Created
At string - The creation time of the virtual interface
- Dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Direct
Connect stringId - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- Local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is 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.
- Remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- Resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - Service
Ep 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. - Updated
At string - Vgw
Id string - Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- Vif
Peers 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
0
to3,999
. Changing this will create a new resource.
- Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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.
- Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Created
At string - The creation time of the virtual interface
- Dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Direct
Connect stringId - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- Local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is 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.
- Remote
Ep []stringGroups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - Remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- Resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - Service
Ep []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. - Updated
At string - Vgw
Id string - Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- Vif
Peers []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
0
to3,999
. Changing this will create a new resource.
- address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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.
- bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- created
At String - The creation time of the virtual interface
- dc
Virtual StringInterface V3Id - The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id String - The ID of the device that the virtual interface peer belongs to.
- direct
Connect StringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id String - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway StringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is 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.
- remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway StringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep 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. - updated
At String - vgw
Id String - Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vif
Peers 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
0
to3,999
. Changing this will create a new resource.
- address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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.
- bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- created
At string - The creation time of the virtual interface
- dc
Virtual stringInterface V3Id - The VIF peer resource ID.
- description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id string - The ID of the device that the virtual interface peer belongs to.
- direct
Connect stringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enable
Bfd boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id string - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway stringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is 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.
- remote
Ep string[]Groups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway stringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway stringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep 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. - updated
At string - vgw
Id string - Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vif
Peers 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
0
to3,999
. Changing this will create a new resource.
- address_
family str - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - 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_bfd
andenable_nqa
cannot betrue
at 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_family
is 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_family
is 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_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_family
is 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_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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
static
andbgp
. 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
0
to3,999
. Changing this will create a new resource.
- address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. 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
1
to4,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.
- bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- created
At String - The creation time of the virtual interface
- dc
Virtual StringInterface V3Id - The VIF peer resource ID.
- description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id String - The ID of the device that the virtual interface peer belongs to.
- direct
Connect StringId - Specifies the ID of the direct connection associated with the virtual interface. Changing this will create a new resource.
- enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- lag
Id String - Specifies the ID of the link aggregation group (LAG) associated with the virtual interface. Changing this will create a new resource.
- local
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - local
Gateway StringV6Ip - Specifies the IPv6 address of the virtual interface in cloud
side. This parameter is mandatory if
address_family
is 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.
- remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway StringV4Ip - Specifies the IPv4 address of the virtual interface in client
side. This parameter is mandatory if
address_family
is set toipv4
. Changing this will create a new resource. - remote
Gateway StringV6Ip Specifies the IPv6 address of the virtual interface in client side. This parameter is mandatory if
address_family
is set toipv6
. Changing this will create a new resource.The CIDRs of
local_gateway_v4_ip
andremote_gateway_v4_ip
(orlocal_gateway_v6_ip
andremote_gateway_v6_ip
) must be in the same subnet.- resource
Tenant 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_id
is specified,vgw_id
must be the target tenant virtual gateway id. 2. Whenresource_tenant_id
is 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 String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep 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. - updated
At String - vgw
Id String - Specifies the ID of the virtual gateway to which the virtual interface is connected. Changing this will create a new resource.
- vif
Peers 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
0
to3,999
. Changing this will create a new resource.
Supporting Types
DcVirtualInterfaceV3VifPeer, DcVirtualInterfaceV3VifPeerArgs
- Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. Defaults toipv4
. Changing this will create a new resource. - Bgp
Asn double - The ASN of the BGP peer.
- Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Bgp
Route doubleLimit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer. If the virtual interface peer uses
static
routing, the status is null. - Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - Device
Id string - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Id string
- The VIF peer resource ID.
- Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface.
- Receive
Route doubleNum - The number of received BGP routes if
bgp
routing is used. Ifstatic
routing is used, this parameter is meaningless and the value is-1
. - Remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - Service
Ep List<string>Groups - Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- Tenant
Id string - Vif
Id string - The ID of the virtual interface corresponding to the virtual interface peer.
- Address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. Defaults toipv4
. Changing this will create a new resource. - Bgp
Asn float64 - The ASN of the BGP peer.
- Bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- Bgp
Route float64Limit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer. If the virtual interface peer uses
static
routing, the status is null. - Description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - Device
Id string - 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_bfd
andenable_nqa
cannot betrue
at the same time.- Id string
- The VIF peer resource ID.
- Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface.
- Receive
Route float64Num - The number of received BGP routes if
bgp
routing is used. Ifstatic
routing is used, this parameter is meaningless and the value is-1
. - Remote
Ep []stringGroups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - Service
Ep []stringGroups - Specifies the subnets that access Internet services through a connection.
- Status string
- The status of the virtual interface peer.
- Tenant
Id string - Vif
Id string - The ID of the virtual interface corresponding to the virtual interface peer.
- address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. Defaults toipv4
. Changing this will create a new resource. - bgp
Asn Double - The ASN of the BGP peer.
- bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgp
Route DoubleLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer. If the virtual interface peer uses
static
routing, the status is null. - description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- id String
- The VIF peer resource ID.
- local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface.
- receive
Route DoubleNum - The number of received BGP routes if
bgp
routing is used. Ifstatic
routing is used, this parameter is meaningless and the value is-1
. - remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep List<String>Groups - Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- tenant
Id String - vif
Id String - The ID of the virtual interface corresponding to the virtual interface peer.
- address
Family string - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. Defaults toipv4
. Changing this will create a new resource. - bgp
Asn number - The ASN of the BGP peer.
- bgp
Md5 string - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgp
Route numberLimit - The BGP route configuration.
- bgp
Status string - The BGP protocol status of the virtual interface peer. If the virtual interface peer uses
static
routing, the status is null. - description string
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id string - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- id string
- The VIF peer resource ID.
- local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- name string
- Specifies the name of the virtual interface.
- receive
Route numberNum - The number of received BGP routes if
bgp
routing is used. Ifstatic
routing is used, this parameter is meaningless and the value is-1
. - remote
Ep string[]Groups - Specifies the CIDR list of remote subnets.
A CIDR that contains CIDRs of local subnet (corresponding to the parameter
local_gateway_v4_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode string - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep string[]Groups - Specifies the subnets that access Internet services through a connection.
- status string
- The status of the virtual interface peer.
- tenant
Id string - vif
Id 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
ipv4
andipv6
. 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
static
routing, the status is null. - description str
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - 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_bfd
andenable_nqa
cannot betrue
at 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
bgp
routing is used. Ifstatic
routing 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_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
static
andbgp
. 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.
- address
Family String - Specifies the service type of the virtual interface.
The valid values are
ipv4
andipv6
. Defaults toipv4
. Changing this will create a new resource. - bgp
Asn Number - The ASN of the BGP peer.
- bgp
Md5 String - Specifies the (MD5) password for the local BGP. Changing this will create a new resource.
- bgp
Route NumberLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer. If the virtual interface peer uses
static
routing, the status is null. - description String
- Specifies the description of the virtual interface.
The description contain a maximum of
128
characters and the angle brackets (<
and>
) are not allowed. Chinese characters must be inUTF-8
orUnicode
format. - device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - 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 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_bfd
andenable_nqa
cannot betrue
at the same time.- id String
- The VIF peer resource ID.
- local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface.
- receive
Route NumberNum - The number of received BGP routes if
bgp
routing is used. Ifstatic
routing is used, this parameter is meaningless and the value is-1
. - remote
Ep 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_ip
orlocal_gateway_v6_ip
) and remote subnet (corresponding to the parameterremote_gateway_v4_ip
orremote_gateway_v6_ip
) must exist in the list. - remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode String - Specifies the route mode of the virtual interface.
The valid values are
static
andbgp
. Changing this will create a new resource. - service
Ep List<String>Groups - Specifies the subnets that access Internet services through a connection.
- status String
- The status of the virtual interface peer.
- tenant
Id String - vif
Id 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
opentelekomcloud
Terraform Provider.