opentelekomcloud.DcVirtualInterfacePeerV3
Explore with Pulumi AI
Manages a virtual interface peer 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 virtualInterfaceId = config.requireObject("virtualInterfaceId");
const vp = new opentelekomcloud.DcVirtualInterfacePeerV3("vp", {
vifId: virtualInterfaceId,
addressFamily: "ipv6",
routeMode: "static",
remoteEpGroups: ["fd00:0:0:0:0:0:0:0/64"],
description: "ipv6 peer",
localGatewayIp: "FD00::1/64",
remoteGatewayIp: "FD00::2/64",
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
virtual_interface_id = config.require_object("virtualInterfaceId")
vp = opentelekomcloud.DcVirtualInterfacePeerV3("vp",
vif_id=virtual_interface_id,
address_family="ipv6",
route_mode="static",
remote_ep_groups=["fd00:0:0:0:0:0:0:0/64"],
description="ipv6 peer",
local_gateway_ip="FD00::1/64",
remote_gateway_ip="FD00::2/64")
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, "")
virtualInterfaceId := cfg.RequireObject("virtualInterfaceId")
_, err := opentelekomcloud.NewDcVirtualInterfacePeerV3(ctx, "vp", &opentelekomcloud.DcVirtualInterfacePeerV3Args{
VifId: pulumi.Any(virtualInterfaceId),
AddressFamily: pulumi.String("ipv6"),
RouteMode: pulumi.String("static"),
RemoteEpGroups: pulumi.StringArray{
pulumi.String("fd00:0:0:0:0:0:0:0/64"),
},
Description: pulumi.String("ipv6 peer"),
LocalGatewayIp: pulumi.String("FD00::1/64"),
RemoteGatewayIp: pulumi.String("FD00::2/64"),
})
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 virtualInterfaceId = config.RequireObject<dynamic>("virtualInterfaceId");
var vp = new Opentelekomcloud.DcVirtualInterfacePeerV3("vp", new()
{
VifId = virtualInterfaceId,
AddressFamily = "ipv6",
RouteMode = "static",
RemoteEpGroups = new[]
{
"fd00:0:0:0:0:0:0:0/64",
},
Description = "ipv6 peer",
LocalGatewayIp = "FD00::1/64",
RemoteGatewayIp = "FD00::2/64",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.DcVirtualInterfacePeerV3;
import com.pulumi.opentelekomcloud.DcVirtualInterfacePeerV3Args;
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 virtualInterfaceId = config.get("virtualInterfaceId");
var vp = new DcVirtualInterfacePeerV3("vp", DcVirtualInterfacePeerV3Args.builder()
.vifId(virtualInterfaceId)
.addressFamily("ipv6")
.routeMode("static")
.remoteEpGroups("fd00:0:0:0:0:0:0:0/64")
.description("ipv6 peer")
.localGatewayIp("FD00::1/64")
.remoteGatewayIp("FD00::2/64")
.build());
}
}
configuration:
virtualInterfaceId:
type: dynamic
resources:
vp:
type: opentelekomcloud:DcVirtualInterfacePeerV3
properties:
vifId: ${virtualInterfaceId}
addressFamily: ipv6
routeMode: static
remoteEpGroups:
- fd00:0:0:0:0:0:0:0/64
description: ipv6 peer
localGatewayIp: FD00::1/64
remoteGatewayIp: FD00::2/64
Create DcVirtualInterfacePeerV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DcVirtualInterfacePeerV3(name: string, args: DcVirtualInterfacePeerV3Args, opts?: CustomResourceOptions);
@overload
def DcVirtualInterfacePeerV3(resource_name: str,
args: DcVirtualInterfacePeerV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def DcVirtualInterfacePeerV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
local_gateway_ip: Optional[str] = None,
remote_ep_groups: Optional[Sequence[str]] = None,
remote_gateway_ip: Optional[str] = None,
vif_id: Optional[str] = None,
bgp_asn: Optional[float] = None,
bgp_md5: Optional[str] = None,
dc_virtual_interface_peer_v3_id: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
route_mode: Optional[str] = None)
func NewDcVirtualInterfacePeerV3(ctx *Context, name string, args DcVirtualInterfacePeerV3Args, opts ...ResourceOption) (*DcVirtualInterfacePeerV3, error)
public DcVirtualInterfacePeerV3(string name, DcVirtualInterfacePeerV3Args args, CustomResourceOptions? opts = null)
public DcVirtualInterfacePeerV3(String name, DcVirtualInterfacePeerV3Args args)
public DcVirtualInterfacePeerV3(String name, DcVirtualInterfacePeerV3Args args, CustomResourceOptions options)
type: opentelekomcloud:DcVirtualInterfacePeerV3
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 DcVirtualInterfacePeerV3Args
- 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 DcVirtualInterfacePeerV3Args
- 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 DcVirtualInterfacePeerV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DcVirtualInterfacePeerV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DcVirtualInterfacePeerV3Args
- 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 dcVirtualInterfacePeerV3Resource = new Opentelekomcloud.DcVirtualInterfacePeerV3("dcVirtualInterfacePeerV3Resource", new()
{
AddressFamily = "string",
LocalGatewayIp = "string",
RemoteEpGroups = new[]
{
"string",
},
RemoteGatewayIp = "string",
VifId = "string",
BgpAsn = 0,
BgpMd5 = "string",
DcVirtualInterfacePeerV3Id = "string",
Description = "string",
Name = "string",
RouteMode = "string",
});
example, err := opentelekomcloud.NewDcVirtualInterfacePeerV3(ctx, "dcVirtualInterfacePeerV3Resource", &opentelekomcloud.DcVirtualInterfacePeerV3Args{
AddressFamily: pulumi.String("string"),
LocalGatewayIp: pulumi.String("string"),
RemoteEpGroups: pulumi.StringArray{
pulumi.String("string"),
},
RemoteGatewayIp: pulumi.String("string"),
VifId: pulumi.String("string"),
BgpAsn: pulumi.Float64(0),
BgpMd5: pulumi.String("string"),
DcVirtualInterfacePeerV3Id: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
RouteMode: pulumi.String("string"),
})
var dcVirtualInterfacePeerV3Resource = new DcVirtualInterfacePeerV3("dcVirtualInterfacePeerV3Resource", DcVirtualInterfacePeerV3Args.builder()
.addressFamily("string")
.localGatewayIp("string")
.remoteEpGroups("string")
.remoteGatewayIp("string")
.vifId("string")
.bgpAsn(0)
.bgpMd5("string")
.dcVirtualInterfacePeerV3Id("string")
.description("string")
.name("string")
.routeMode("string")
.build());
dc_virtual_interface_peer_v3_resource = opentelekomcloud.DcVirtualInterfacePeerV3("dcVirtualInterfacePeerV3Resource",
address_family="string",
local_gateway_ip="string",
remote_ep_groups=["string"],
remote_gateway_ip="string",
vif_id="string",
bgp_asn=0,
bgp_md5="string",
dc_virtual_interface_peer_v3_id="string",
description="string",
name="string",
route_mode="string")
const dcVirtualInterfacePeerV3Resource = new opentelekomcloud.DcVirtualInterfacePeerV3("dcVirtualInterfacePeerV3Resource", {
addressFamily: "string",
localGatewayIp: "string",
remoteEpGroups: ["string"],
remoteGatewayIp: "string",
vifId: "string",
bgpAsn: 0,
bgpMd5: "string",
dcVirtualInterfacePeerV3Id: "string",
description: "string",
name: "string",
routeMode: "string",
});
type: opentelekomcloud:DcVirtualInterfacePeerV3
properties:
addressFamily: string
bgpAsn: 0
bgpMd5: string
dcVirtualInterfacePeerV3Id: string
description: string
localGatewayIp: string
name: string
remoteEpGroups:
- string
remoteGatewayIp: string
routeMode: string
vifId: string
DcVirtualInterfacePeerV3 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 DcVirtualInterfacePeerV3 resource accepts the following input properties:
- Address
Family string - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Remote
Ep List<string>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- Bgp
Asn double - The ASN of the BGP peer.
- Bgp
Md5 string - The MD5 password of the BGP peer.
- Dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- Description string
- Provides supplementary information about the virtual interface peer.
- Name string
- Specifies the name of the virtual interface peer.
- Route
Mode string - The routing mode, which can be
static
orbgp
.
- Address
Family string - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Remote
Ep []stringGroups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- Bgp
Asn float64 - The ASN of the BGP peer.
- Bgp
Md5 string - The MD5 password of the BGP peer.
- Dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- Description string
- Provides supplementary information about the virtual interface peer.
- Name string
- Specifies the name of the virtual interface peer.
- Route
Mode string - The routing mode, which can be
static
orbgp
.
- address
Family String - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- remote
Ep List<String>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- vif
Id String - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- bgp
Asn Double - The ASN of the BGP peer.
- bgp
Md5 String - The MD5 password of the BGP peer.
- dc
Virtual StringInterface Peer V3Id - The VIF peer resource ID.
- description String
- Provides supplementary information about the virtual interface peer.
- name String
- Specifies the name of the virtual interface peer.
- route
Mode String - The routing mode, which can be
static
orbgp
.
- address
Family string - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- remote
Ep string[]Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- bgp
Asn number - The ASN of the BGP peer.
- bgp
Md5 string - The MD5 password of the BGP peer.
- dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- description string
- Provides supplementary information about the virtual interface peer.
- name string
- Specifies the name of the virtual interface peer.
- route
Mode string - The routing mode, which can be
static
orbgp
.
- address_
family str - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - local_
gateway_ strip - The address of the virtual interface peer used on the cloud.
- remote_
ep_ Sequence[str]groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote_
gateway_ strip - The address of the virtual interface peer used in the on-premises data center.
- vif_
id str - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- bgp_
asn float - The ASN of the BGP peer.
- bgp_
md5 str - The MD5 password of the BGP peer.
- dc_
virtual_ strinterface_ peer_ v3_ id - The VIF peer resource ID.
- description str
- Provides supplementary information about the virtual interface peer.
- name str
- Specifies the name of the virtual interface peer.
- route_
mode str - The routing mode, which can be
static
orbgp
.
- address
Family String - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- remote
Ep List<String>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- vif
Id String - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- bgp
Asn Number - The ASN of the BGP peer.
- bgp
Md5 String - The MD5 password of the BGP peer.
- dc
Virtual StringInterface Peer V3Id - The VIF peer resource ID.
- description String
- Provides supplementary information about the virtual interface peer.
- name String
- Specifies the name of the virtual interface peer.
- route
Mode String - The routing mode, which can be
static
orbgp
.
Outputs
All input properties are implicitly available as output properties. Additionally, the DcVirtualInterfacePeerV3 resource produces the following output properties:
- Bgp
Route doubleLimit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer.
- Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Enable
Bfd bool - BFD status.
- Enable
Nqa bool - NQA status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The project where the virtual interface is located.
- Receive
Route doubleNum - The number of received BGP routes if
bgp
routing is used. - Region string
- The region where the virtual interface is located.
- Service
Ep List<string>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- Status string
- The status of the virtual interface peer.
- Bgp
Route float64Limit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer.
- Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Enable
Bfd bool - BFD status.
- Enable
Nqa bool - NQA status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Id string - The project where the virtual interface is located.
- Receive
Route float64Num - The number of received BGP routes if
bgp
routing is used. - Region string
- The region where the virtual interface is located.
- Service
Ep []stringGroups - The list of public network addresses that can be accessed by the on-premises data center.
- Status string
- The status of the virtual interface peer.
- bgp
Route DoubleLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer.
- device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - BFD status.
- enable
Nqa Boolean - NQA status.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The project where the virtual interface is located.
- receive
Route DoubleNum - The number of received BGP routes if
bgp
routing is used. - region String
- The region where the virtual interface is located.
- service
Ep List<String>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status String
- The status of the virtual interface peer.
- bgp
Route numberLimit - The BGP route configuration.
- bgp
Status string - The BGP protocol status of the virtual interface peer.
- device
Id string - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd boolean - BFD status.
- enable
Nqa boolean - NQA status.
- id string
- The provider-assigned unique ID for this managed resource.
- project
Id string - The project where the virtual interface is located.
- receive
Route numberNum - The number of received BGP routes if
bgp
routing is used. - region string
- The region where the virtual interface is located.
- service
Ep string[]Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status string
- The status of the virtual interface peer.
- bgp_
route_ floatlimit - The BGP route configuration.
- bgp_
status str - The BGP protocol status of the virtual interface peer.
- device_
id str - The ID of the device that the virtual interface peer belongs to.
- enable_
bfd bool - BFD status.
- enable_
nqa bool - NQA status.
- id str
- The provider-assigned unique ID for this managed resource.
- project_
id str - The project where the virtual interface is located.
- receive_
route_ floatnum - The number of received BGP routes if
bgp
routing is used. - region str
- The region where the virtual interface is located.
- service_
ep_ Sequence[str]groups - The list of public network addresses that can be accessed by the on-premises data center.
- status str
- The status of the virtual interface peer.
- bgp
Route NumberLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer.
- device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - BFD status.
- enable
Nqa Boolean - NQA status.
- id String
- The provider-assigned unique ID for this managed resource.
- project
Id String - The project where the virtual interface is located.
- receive
Route NumberNum - The number of received BGP routes if
bgp
routing is used. - region String
- The region where the virtual interface is located.
- service
Ep List<String>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status String
- The status of the virtual interface peer.
Look up Existing DcVirtualInterfacePeerV3 Resource
Get an existing DcVirtualInterfacePeerV3 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?: DcVirtualInterfacePeerV3State, opts?: CustomResourceOptions): DcVirtualInterfacePeerV3
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_family: Optional[str] = None,
bgp_asn: Optional[float] = None,
bgp_md5: Optional[str] = None,
bgp_route_limit: Optional[float] = None,
bgp_status: Optional[str] = None,
dc_virtual_interface_peer_v3_id: Optional[str] = None,
description: Optional[str] = None,
device_id: Optional[str] = None,
enable_bfd: Optional[bool] = None,
enable_nqa: Optional[bool] = None,
local_gateway_ip: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
receive_route_num: Optional[float] = None,
region: Optional[str] = None,
remote_ep_groups: Optional[Sequence[str]] = None,
remote_gateway_ip: Optional[str] = None,
route_mode: Optional[str] = None,
service_ep_groups: Optional[Sequence[str]] = None,
status: Optional[str] = None,
vif_id: Optional[str] = None) -> DcVirtualInterfacePeerV3
func GetDcVirtualInterfacePeerV3(ctx *Context, name string, id IDInput, state *DcVirtualInterfacePeerV3State, opts ...ResourceOption) (*DcVirtualInterfacePeerV3, error)
public static DcVirtualInterfacePeerV3 Get(string name, Input<string> id, DcVirtualInterfacePeerV3State? state, CustomResourceOptions? opts = null)
public static DcVirtualInterfacePeerV3 get(String name, Output<String> id, DcVirtualInterfacePeerV3State state, CustomResourceOptions options)
resources: _: type: opentelekomcloud:DcVirtualInterfacePeerV3 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 - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - Bgp
Asn double - The ASN of the BGP peer.
- Bgp
Md5 string - The MD5 password of the BGP peer.
- Bgp
Route doubleLimit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer.
- Dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- Description string
- Provides supplementary information about the virtual interface peer.
- Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Enable
Bfd bool - BFD status.
- Enable
Nqa bool - NQA status.
- Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface peer.
- Project
Id string - The project where the virtual interface is located.
- Receive
Route doubleNum - The number of received BGP routes if
bgp
routing is used. - Region string
- The region where the virtual interface is located.
- Remote
Ep List<string>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Route
Mode string - The routing mode, which can be
static
orbgp
. - Service
Ep List<string>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- Status string
- The status of the virtual interface peer.
- Vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- Address
Family string - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - Bgp
Asn float64 - The ASN of the BGP peer.
- Bgp
Md5 string - The MD5 password of the BGP peer.
- Bgp
Route float64Limit - The BGP route configuration.
- Bgp
Status string - The BGP protocol status of the virtual interface peer.
- Dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- Description string
- Provides supplementary information about the virtual interface peer.
- Device
Id string - The ID of the device that the virtual interface peer belongs to.
- Enable
Bfd bool - BFD status.
- Enable
Nqa bool - NQA status.
- Local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- Name string
- Specifies the name of the virtual interface peer.
- Project
Id string - The project where the virtual interface is located.
- Receive
Route float64Num - The number of received BGP routes if
bgp
routing is used. - Region string
- The region where the virtual interface is located.
- Remote
Ep []stringGroups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- Remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- Route
Mode string - The routing mode, which can be
static
orbgp
. - Service
Ep []stringGroups - The list of public network addresses that can be accessed by the on-premises data center.
- Status string
- The status of the virtual interface peer.
- Vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- address
Family String - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - bgp
Asn Double - The ASN of the BGP peer.
- bgp
Md5 String - The MD5 password of the BGP peer.
- bgp
Route DoubleLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer.
- dc
Virtual StringInterface Peer V3Id - The VIF peer resource ID.
- description String
- Provides supplementary information about the virtual interface peer.
- device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - BFD status.
- enable
Nqa Boolean - NQA status.
- local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface peer.
- project
Id String - The project where the virtual interface is located.
- receive
Route DoubleNum - The number of received BGP routes if
bgp
routing is used. - region String
- The region where the virtual interface is located.
- remote
Ep List<String>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode String - The routing mode, which can be
static
orbgp
. - service
Ep List<String>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status String
- The status of the virtual interface peer.
- vif
Id String - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- address
Family string - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - bgp
Asn number - The ASN of the BGP peer.
- bgp
Md5 string - The MD5 password of the BGP peer.
- bgp
Route numberLimit - The BGP route configuration.
- bgp
Status string - The BGP protocol status of the virtual interface peer.
- dc
Virtual stringInterface Peer V3Id - The VIF peer resource ID.
- description string
- Provides supplementary information about the virtual interface peer.
- device
Id string - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd boolean - BFD status.
- enable
Nqa boolean - NQA status.
- local
Gateway stringIp - The address of the virtual interface peer used on the cloud.
- name string
- Specifies the name of the virtual interface peer.
- project
Id string - The project where the virtual interface is located.
- receive
Route numberNum - The number of received BGP routes if
bgp
routing is used. - region string
- The region where the virtual interface is located.
- remote
Ep string[]Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway stringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode string - The routing mode, which can be
static
orbgp
. - service
Ep string[]Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status string
- The status of the virtual interface peer.
- vif
Id string - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- address_
family str - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - bgp_
asn float - The ASN of the BGP peer.
- bgp_
md5 str - The MD5 password of the BGP peer.
- bgp_
route_ floatlimit - The BGP route configuration.
- bgp_
status str - The BGP protocol status of the virtual interface peer.
- dc_
virtual_ strinterface_ peer_ v3_ id - The VIF peer resource ID.
- description str
- Provides supplementary information about the virtual interface peer.
- device_
id str - The ID of the device that the virtual interface peer belongs to.
- enable_
bfd bool - BFD status.
- enable_
nqa bool - NQA status.
- local_
gateway_ strip - The address of the virtual interface peer used on the cloud.
- name str
- Specifies the name of the virtual interface peer.
- project_
id str - The project where the virtual interface is located.
- receive_
route_ floatnum - The number of received BGP routes if
bgp
routing is used. - region str
- The region where the virtual interface is located.
- remote_
ep_ Sequence[str]groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote_
gateway_ strip - The address of the virtual interface peer used in the on-premises data center.
- route_
mode str - The routing mode, which can be
static
orbgp
. - service_
ep_ Sequence[str]groups - The list of public network addresses that can be accessed by the on-premises data center.
- status str
- The status of the virtual interface peer.
- vif_
id str - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
- address
Family String - The address family type of the virtual interface, which can be
IPv4
orIPv6
. - bgp
Asn Number - The ASN of the BGP peer.
- bgp
Md5 String - The MD5 password of the BGP peer.
- bgp
Route NumberLimit - The BGP route configuration.
- bgp
Status String - The BGP protocol status of the virtual interface peer.
- dc
Virtual StringInterface Peer V3Id - The VIF peer resource ID.
- description String
- Provides supplementary information about the virtual interface peer.
- device
Id String - The ID of the device that the virtual interface peer belongs to.
- enable
Bfd Boolean - BFD status.
- enable
Nqa Boolean - NQA status.
- local
Gateway StringIp - The address of the virtual interface peer used on the cloud.
- name String
- Specifies the name of the virtual interface peer.
- project
Id String - The project where the virtual interface is located.
- receive
Route NumberNum - The number of received BGP routes if
bgp
routing is used. - region String
- The region where the virtual interface is located.
- remote
Ep List<String>Groups - The remote subnet list, which records the CIDR blocks used in the on-premises data center.
- remote
Gateway StringIp - The address of the virtual interface peer used in the on-premises data center.
- route
Mode String - The routing mode, which can be
static
orbgp
. - service
Ep List<String>Groups - The list of public network addresses that can be accessed by the on-premises data center.
- status String
- The status of the virtual interface peer.
- vif
Id String - Specifies the ID of the virtual interface corresponding to the virtual interface peer.
Import
Virtual interface peers can be imported using their id
, e.g.
$ pulumi import opentelekomcloud:index/dcVirtualInterfacePeerV3:DcVirtualInterfacePeerV3 vi e41748a0-aed9-463e-9817-5c6162265d11
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.