published on Monday, May 25, 2026 by Volcengine
published on Monday, May 25, 2026 by Volcengine
Add a route entry to the VPN gateway.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const vpnGatewayRouteDemo = new volcenginecc.vpn.VpnGatewayRoute("VpnGatewayRouteDemo", {
destinationCidrBlock: "192.168.0.0/25",
nextHopId: "vgc-****",
vpnGatewayId: "vgw-****",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
vpn_gateway_route_demo = volcenginecc.vpn.VpnGatewayRoute("VpnGatewayRouteDemo",
destination_cidr_block="192.168.0.0/25",
next_hop_id="vgc-****",
vpn_gateway_id="vgw-****")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpn"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpn.NewVpnGatewayRoute(ctx, "VpnGatewayRouteDemo", &vpn.VpnGatewayRouteArgs{
DestinationCidrBlock: pulumi.String("192.168.0.0/25"),
NextHopId: pulumi.String("vgc-****"),
VpnGatewayId: pulumi.String("vgw-****"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var vpnGatewayRouteDemo = new Volcenginecc.Vpn.VpnGatewayRoute("VpnGatewayRouteDemo", new()
{
DestinationCidrBlock = "192.168.0.0/25",
NextHopId = "vgc-****",
VpnGatewayId = "vgw-****",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpn.VpnGatewayRoute;
import com.volcengine.volcenginecc.vpn.VpnGatewayRouteArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vpnGatewayRouteDemo = new VpnGatewayRoute("vpnGatewayRouteDemo", VpnGatewayRouteArgs.builder()
.destinationCidrBlock("192.168.0.0/25")
.nextHopId("vgc-****")
.vpnGatewayId("vgw-****")
.build());
}
}
resources:
vpnGatewayRouteDemo:
type: volcenginecc:vpn:VpnGatewayRoute
name: VpnGatewayRouteDemo
properties:
destinationCidrBlock: 192.168.0.0/25
nextHopId: vgc-****
vpnGatewayId: vgw-****
Example coming soon!
Create VpnGatewayRoute Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpnGatewayRoute(name: string, args: VpnGatewayRouteArgs, opts?: CustomResourceOptions);@overload
def VpnGatewayRoute(resource_name: str,
args: VpnGatewayRouteArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpnGatewayRoute(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_cidr_block: Optional[str] = None,
next_hop_id: Optional[str] = None,
vpn_gateway_id: Optional[str] = None)func NewVpnGatewayRoute(ctx *Context, name string, args VpnGatewayRouteArgs, opts ...ResourceOption) (*VpnGatewayRoute, error)public VpnGatewayRoute(string name, VpnGatewayRouteArgs args, CustomResourceOptions? opts = null)
public VpnGatewayRoute(String name, VpnGatewayRouteArgs args)
public VpnGatewayRoute(String name, VpnGatewayRouteArgs args, CustomResourceOptions options)
type: volcenginecc:vpn:VpnGatewayRoute
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_vpn_vpngatewayroute" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpnGatewayRouteArgs
- 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 VpnGatewayRouteArgs
- 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 VpnGatewayRouteArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpnGatewayRouteArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpnGatewayRouteArgs
- 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 vpnGatewayRouteResource = new Volcenginecc.Vpn.VpnGatewayRoute("vpnGatewayRouteResource", new()
{
DestinationCidrBlock = "string",
NextHopId = "string",
VpnGatewayId = "string",
});
example, err := vpn.NewVpnGatewayRoute(ctx, "vpnGatewayRouteResource", &vpn.VpnGatewayRouteArgs{
DestinationCidrBlock: pulumi.String("string"),
NextHopId: pulumi.String("string"),
VpnGatewayId: pulumi.String("string"),
})
resource "volcenginecc_vpn_vpngatewayroute" "vpnGatewayRouteResource" {
destination_cidr_block = "string"
next_hop_id = "string"
vpn_gateway_id = "string"
}
var vpnGatewayRouteResource = new VpnGatewayRoute("vpnGatewayRouteResource", VpnGatewayRouteArgs.builder()
.destinationCidrBlock("string")
.nextHopId("string")
.vpnGatewayId("string")
.build());
vpn_gateway_route_resource = volcenginecc.vpn.VpnGatewayRoute("vpnGatewayRouteResource",
destination_cidr_block="string",
next_hop_id="string",
vpn_gateway_id="string")
const vpnGatewayRouteResource = new volcenginecc.vpn.VpnGatewayRoute("vpnGatewayRouteResource", {
destinationCidrBlock: "string",
nextHopId: "string",
vpnGatewayId: "string",
});
type: volcenginecc:vpn:VpnGatewayRoute
properties:
destinationCidrBlock: string
nextHopId: string
vpnGatewayId: string
VpnGatewayRoute 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 VpnGatewayRoute resource accepts the following input properties:
- Destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- Next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- Vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- Destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- Next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- Vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- destination_
cidr_ stringblock - Destination network segment of the VPN gateway route entry.
- next_
hop_ stringid - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- vpn_
gateway_ stringid - ID of the VPN gateway for the route entry to be added.
- destination
Cidr StringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop StringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- vpn
Gateway StringId - ID of the VPN gateway for the route entry to be added.
- destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- destination_
cidr_ strblock - Destination network segment of the VPN gateway route entry.
- next_
hop_ strid - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- vpn_
gateway_ strid - ID of the VPN gateway for the route entry to be added.
- destination
Cidr StringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop StringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- vpn
Gateway StringId - ID of the VPN gateway for the route entry to be added.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpnGatewayRoute resource produces the following output properties:
- As
Paths List<Volcengine.Vpn Gateway Route As Path> - Creation
Time string - Time when the VPN gateway route entry was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- Route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- Status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- Update
Time string - Time when the VPN gateway route entry was modified.
- Vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- As
Paths []VpnGateway Route As Path - Creation
Time string - Time when the VPN gateway route entry was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- Route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- Status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- Update
Time string - Time when the VPN gateway route entry was modified.
- Vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- as_
paths list(object) - creation_
time string - Time when the VPN gateway route entry was created.
- id string
- The provider-assigned unique ID for this managed resource.
- next_
tunnel_ stringid - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route_
type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update_
time string - Time when the VPN gateway route entry was modified.
- vpn_
gateway_ stringroute_ id - ID of the VPN gateway route entry.
- as
Paths List<VpnGateway Route As Path> - creation
Time String - Time when the VPN gateway route entry was created.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Tunnel StringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type String - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status String
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time String - Time when the VPN gateway route entry was modified.
- vpn
Gateway StringRoute Id - ID of the VPN gateway route entry.
- as
Paths VpnGateway Route As Path[] - creation
Time string - Time when the VPN gateway route entry was created.
- id string
- The provider-assigned unique ID for this managed resource.
- next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time string - Time when the VPN gateway route entry was modified.
- vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- as_
paths Sequence[VpnGateway Route As Path] - creation_
time str - Time when the VPN gateway route entry was created.
- id str
- The provider-assigned unique ID for this managed resource.
- next_
tunnel_ strid - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route_
type str - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status str
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update_
time str - Time when the VPN gateway route entry was modified.
- vpn_
gateway_ strroute_ id - ID of the VPN gateway route entry.
- as
Paths List<Property Map> - creation
Time String - Time when the VPN gateway route entry was created.
- id String
- The provider-assigned unique ID for this managed resource.
- next
Tunnel StringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type String - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status String
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time String - Time when the VPN gateway route entry was modified.
- vpn
Gateway StringRoute Id - ID of the VPN gateway route entry.
Look up Existing VpnGatewayRoute Resource
Get an existing VpnGatewayRoute 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?: VpnGatewayRouteState, opts?: CustomResourceOptions): VpnGatewayRoute@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
as_paths: Optional[Sequence[VpnGatewayRouteAsPathArgs]] = None,
creation_time: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
next_hop_id: Optional[str] = None,
next_tunnel_id: Optional[str] = None,
route_type: Optional[str] = None,
status: Optional[str] = None,
update_time: Optional[str] = None,
vpn_gateway_id: Optional[str] = None,
vpn_gateway_route_id: Optional[str] = None) -> VpnGatewayRoutefunc GetVpnGatewayRoute(ctx *Context, name string, id IDInput, state *VpnGatewayRouteState, opts ...ResourceOption) (*VpnGatewayRoute, error)public static VpnGatewayRoute Get(string name, Input<string> id, VpnGatewayRouteState? state, CustomResourceOptions? opts = null)public static VpnGatewayRoute get(String name, Output<String> id, VpnGatewayRouteState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpn:VpnGatewayRoute get: id: ${id}import {
to = volcenginecc_vpn_vpngatewayroute.example
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.
- As
Paths List<Volcengine.Vpn Gateway Route As Path> - Creation
Time string - Time when the VPN gateway route entry was created.
- Destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- Next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- Next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- Route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- Status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- Update
Time string - Time when the VPN gateway route entry was modified.
- Vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- Vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- As
Paths []VpnGateway Route As Path Args - Creation
Time string - Time when the VPN gateway route entry was created.
- Destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- Next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- Next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- Route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- Status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- Update
Time string - Time when the VPN gateway route entry was modified.
- Vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- Vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- as_
paths list(object) - creation_
time string - Time when the VPN gateway route entry was created.
- destination_
cidr_ stringblock - Destination network segment of the VPN gateway route entry.
- next_
hop_ stringid - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- next_
tunnel_ stringid - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route_
type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update_
time string - Time when the VPN gateway route entry was modified.
- vpn_
gateway_ stringid - ID of the VPN gateway for the route entry to be added.
- vpn_
gateway_ stringroute_ id - ID of the VPN gateway route entry.
- as
Paths List<VpnGateway Route As Path> - creation
Time String - Time when the VPN gateway route entry was created.
- destination
Cidr StringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop StringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- next
Tunnel StringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type String - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status String
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time String - Time when the VPN gateway route entry was modified.
- vpn
Gateway StringId - ID of the VPN gateway for the route entry to be added.
- vpn
Gateway StringRoute Id - ID of the VPN gateway route entry.
- as
Paths VpnGateway Route As Path[] - creation
Time string - Time when the VPN gateway route entry was created.
- destination
Cidr stringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop stringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- next
Tunnel stringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type string - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status string
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time string - Time when the VPN gateway route entry was modified.
- vpn
Gateway stringId - ID of the VPN gateway for the route entry to be added.
- vpn
Gateway stringRoute Id - ID of the VPN gateway route entry.
- as_
paths Sequence[VpnGateway Route As Path Args] - creation_
time str - Time when the VPN gateway route entry was created.
- destination_
cidr_ strblock - Destination network segment of the VPN gateway route entry.
- next_
hop_ strid - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- next_
tunnel_ strid - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route_
type str - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status str
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update_
time str - Time when the VPN gateway route entry was modified.
- vpn_
gateway_ strid - ID of the VPN gateway for the route entry to be added.
- vpn_
gateway_ strroute_ id - ID of the VPN gateway route entry.
- as
Paths List<Property Map> - creation
Time String - Time when the VPN gateway route entry was created.
- destination
Cidr StringBlock - Destination network segment of the VPN gateway route entry.
- next
Hop StringId - ID of the IPsec connection for the route's next hop. You can call DescribeVpnConnections to query the IPsec connection ID.
- next
Tunnel StringId - Next hop tunnel ID. This parameter is returned only for VPN gateways in dual-tunnel mode.
- route
Type String - Route type. Static: static route; BGP: BGP route; Cloud: VPC route in the cloud. Note: Route types synchronized from transit routers (TR) are not currently supported for display.
- status String
- Status of the VPN gateway route entry. Creating: being created; Deleting: being deleted; Pending: being configured; Available: preferred route in effect; Conflicted: not preferred or not in effect. Note: When route prefixes are the same, the route priority is Cloud > Static route > BGP route. Therefore, there may be multiple routes with the same prefix, some with status Available and others with status Conflicted.
- update
Time String - Time when the VPN gateway route entry was modified.
- vpn
Gateway StringId - ID of the VPN gateway for the route entry to be added.
- vpn
Gateway StringRoute Id - ID of the VPN gateway route entry.
Supporting Types
VpnGatewayRouteAsPath, VpnGatewayRouteAsPathArgs
- Numbers List<int>
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- Type string
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- Numbers []int
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- Type string
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- numbers list(number)
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- type string
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- numbers List<Integer>
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- type String
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- numbers number[]
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- type string
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- numbers Sequence[int]
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- type str
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
- numbers List<Number>
- AS path sequence. If the AS path type is Sequence, the returned data is the original ASN sequence, such as [65533]. If the AS path type is Set, it indicates that the AS path has been aggregated, and the returned data is the aggregated ASN sequence, such as [4,5].
- type String
- AS path type. Sequence: normal ordered sequence; Set: aggregated sequence.
Import
$ pulumi import volcenginecc:vpn/vpnGatewayRoute:VpnGatewayRoute example "vpn_gateway_route_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Monday, May 25, 2026 by Volcengine