1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. VpcRoutePolicyEntries
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack

    Provides a resource to create a VPC route policy entries

    NOTE: This resource must exclusive in one route policy ID, do not declare additional route policy entries resources of this route policy ID elsewhere.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.VpcRoutePolicyEntries("example", {
        routePolicyId: exampleTencentcloudVpcRoutePolicy.id,
        routePolicyEntrySets: [
            {
                cidrBlock: "10.10.0.0/16",
                routeType: "ANY",
                gatewayType: "VPN",
                gatewayId: "vpngw-may3cb0m",
                action: "ACCEPT",
            },
            {
                cidrBlock: "172.16.0.0/16",
                description: "remark",
                routeType: "ANY",
                gatewayType: "EIP",
                priority: 10,
                action: "ACCEPT",
            },
            {
                cidrBlock: "192.168.0.0/16",
                description: "remark",
                routeType: "ANY",
                gatewayType: "HAVIP",
                gatewayId: "havip-r3ar5p86",
                priority: 1,
                action: "ACCEPT",
            },
        ],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.VpcRoutePolicyEntries("example",
        route_policy_id=example_tencentcloud_vpc_route_policy["id"],
        route_policy_entry_sets=[
            {
                "cidr_block": "10.10.0.0/16",
                "route_type": "ANY",
                "gateway_type": "VPN",
                "gateway_id": "vpngw-may3cb0m",
                "action": "ACCEPT",
            },
            {
                "cidr_block": "172.16.0.0/16",
                "description": "remark",
                "route_type": "ANY",
                "gateway_type": "EIP",
                "priority": 10,
                "action": "ACCEPT",
            },
            {
                "cidr_block": "192.168.0.0/16",
                "description": "remark",
                "route_type": "ANY",
                "gateway_type": "HAVIP",
                "gateway_id": "havip-r3ar5p86",
                "priority": 1,
                "action": "ACCEPT",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewVpcRoutePolicyEntries(ctx, "example", &tencentcloud.VpcRoutePolicyEntriesArgs{
    			RoutePolicyId: pulumi.Any(exampleTencentcloudVpcRoutePolicy.Id),
    			RoutePolicyEntrySets: tencentcloud.VpcRoutePolicyEntriesRoutePolicyEntrySetArray{
    				&tencentcloud.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs{
    					CidrBlock:   pulumi.String("10.10.0.0/16"),
    					RouteType:   pulumi.String("ANY"),
    					GatewayType: pulumi.String("VPN"),
    					GatewayId:   pulumi.String("vpngw-may3cb0m"),
    					Action:      pulumi.String("ACCEPT"),
    				},
    				&tencentcloud.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs{
    					CidrBlock:   pulumi.String("172.16.0.0/16"),
    					Description: pulumi.String("remark"),
    					RouteType:   pulumi.String("ANY"),
    					GatewayType: pulumi.String("EIP"),
    					Priority:    pulumi.Float64(10),
    					Action:      pulumi.String("ACCEPT"),
    				},
    				&tencentcloud.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs{
    					CidrBlock:   pulumi.String("192.168.0.0/16"),
    					Description: pulumi.String("remark"),
    					RouteType:   pulumi.String("ANY"),
    					GatewayType: pulumi.String("HAVIP"),
    					GatewayId:   pulumi.String("havip-r3ar5p86"),
    					Priority:    pulumi.Float64(1),
    					Action:      pulumi.String("ACCEPT"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.VpcRoutePolicyEntries("example", new()
        {
            RoutePolicyId = exampleTencentcloudVpcRoutePolicy.Id,
            RoutePolicyEntrySets = new[]
            {
                new Tencentcloud.Inputs.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs
                {
                    CidrBlock = "10.10.0.0/16",
                    RouteType = "ANY",
                    GatewayType = "VPN",
                    GatewayId = "vpngw-may3cb0m",
                    Action = "ACCEPT",
                },
                new Tencentcloud.Inputs.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs
                {
                    CidrBlock = "172.16.0.0/16",
                    Description = "remark",
                    RouteType = "ANY",
                    GatewayType = "EIP",
                    Priority = 10,
                    Action = "ACCEPT",
                },
                new Tencentcloud.Inputs.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs
                {
                    CidrBlock = "192.168.0.0/16",
                    Description = "remark",
                    RouteType = "ANY",
                    GatewayType = "HAVIP",
                    GatewayId = "havip-r3ar5p86",
                    Priority = 1,
                    Action = "ACCEPT",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.VpcRoutePolicyEntries;
    import com.pulumi.tencentcloud.VpcRoutePolicyEntriesArgs;
    import com.pulumi.tencentcloud.inputs.VpcRoutePolicyEntriesRoutePolicyEntrySetArgs;
    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 example = new VpcRoutePolicyEntries("example", VpcRoutePolicyEntriesArgs.builder()
                .routePolicyId(exampleTencentcloudVpcRoutePolicy.id())
                .routePolicyEntrySets(            
                    VpcRoutePolicyEntriesRoutePolicyEntrySetArgs.builder()
                        .cidrBlock("10.10.0.0/16")
                        .routeType("ANY")
                        .gatewayType("VPN")
                        .gatewayId("vpngw-may3cb0m")
                        .action("ACCEPT")
                        .build(),
                    VpcRoutePolicyEntriesRoutePolicyEntrySetArgs.builder()
                        .cidrBlock("172.16.0.0/16")
                        .description("remark")
                        .routeType("ANY")
                        .gatewayType("EIP")
                        .priority(10.0)
                        .action("ACCEPT")
                        .build(),
                    VpcRoutePolicyEntriesRoutePolicyEntrySetArgs.builder()
                        .cidrBlock("192.168.0.0/16")
                        .description("remark")
                        .routeType("ANY")
                        .gatewayType("HAVIP")
                        .gatewayId("havip-r3ar5p86")
                        .priority(1.0)
                        .action("ACCEPT")
                        .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:VpcRoutePolicyEntries
        properties:
          routePolicyId: ${exampleTencentcloudVpcRoutePolicy.id}
          routePolicyEntrySets:
            - cidrBlock: 10.10.0.0/16
              routeType: ANY
              gatewayType: VPN
              gatewayId: vpngw-may3cb0m
              action: ACCEPT
            - cidrBlock: 172.16.0.0/16
              description: remark
              routeType: ANY
              gatewayType: EIP
              priority: 10
              action: ACCEPT
            - cidrBlock: 192.168.0.0/16
              description: remark
              routeType: ANY
              gatewayType: HAVIP
              gatewayId: havip-r3ar5p86
              priority: 1
              action: ACCEPT
    

    Create VpcRoutePolicyEntries Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcRoutePolicyEntries(name: string, args: VpcRoutePolicyEntriesArgs, opts?: CustomResourceOptions);
    @overload
    def VpcRoutePolicyEntries(resource_name: str,
                              args: VpcRoutePolicyEntriesArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcRoutePolicyEntries(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              route_policy_entry_sets: Optional[Sequence[VpcRoutePolicyEntriesRoutePolicyEntrySetArgs]] = None,
                              route_policy_id: Optional[str] = None,
                              vpc_route_policy_entries_id: Optional[str] = None)
    func NewVpcRoutePolicyEntries(ctx *Context, name string, args VpcRoutePolicyEntriesArgs, opts ...ResourceOption) (*VpcRoutePolicyEntries, error)
    public VpcRoutePolicyEntries(string name, VpcRoutePolicyEntriesArgs args, CustomResourceOptions? opts = null)
    public VpcRoutePolicyEntries(String name, VpcRoutePolicyEntriesArgs args)
    public VpcRoutePolicyEntries(String name, VpcRoutePolicyEntriesArgs args, CustomResourceOptions options)
    
    type: tencentcloud:VpcRoutePolicyEntries
    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 VpcRoutePolicyEntriesArgs
    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 VpcRoutePolicyEntriesArgs
    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 VpcRoutePolicyEntriesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcRoutePolicyEntriesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcRoutePolicyEntriesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VpcRoutePolicyEntries 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 VpcRoutePolicyEntries resource accepts the following input properties:

    RoutePolicyEntrySets List<VpcRoutePolicyEntriesRoutePolicyEntrySet>
    Route reception policy entry list.
    RoutePolicyId string
    Specifies the instance ID of the route reception policy.
    VpcRoutePolicyEntriesId string
    ID of the resource.
    RoutePolicyEntrySets []VpcRoutePolicyEntriesRoutePolicyEntrySetArgs
    Route reception policy entry list.
    RoutePolicyId string
    Specifies the instance ID of the route reception policy.
    VpcRoutePolicyEntriesId string
    ID of the resource.
    routePolicyEntrySets List<VpcRoutePolicyEntriesRoutePolicyEntrySet>
    Route reception policy entry list.
    routePolicyId String
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId String
    ID of the resource.
    routePolicyEntrySets VpcRoutePolicyEntriesRoutePolicyEntrySet[]
    Route reception policy entry list.
    routePolicyId string
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId string
    ID of the resource.
    route_policy_entry_sets Sequence[VpcRoutePolicyEntriesRoutePolicyEntrySetArgs]
    Route reception policy entry list.
    route_policy_id str
    Specifies the instance ID of the route reception policy.
    vpc_route_policy_entries_id str
    ID of the resource.
    routePolicyEntrySets List<Property Map>
    Route reception policy entry list.
    routePolicyId String
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcRoutePolicyEntries resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VpcRoutePolicyEntries Resource

    Get an existing VpcRoutePolicyEntries 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?: VpcRoutePolicyEntriesState, opts?: CustomResourceOptions): VpcRoutePolicyEntries
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            route_policy_entry_sets: Optional[Sequence[VpcRoutePolicyEntriesRoutePolicyEntrySetArgs]] = None,
            route_policy_id: Optional[str] = None,
            vpc_route_policy_entries_id: Optional[str] = None) -> VpcRoutePolicyEntries
    func GetVpcRoutePolicyEntries(ctx *Context, name string, id IDInput, state *VpcRoutePolicyEntriesState, opts ...ResourceOption) (*VpcRoutePolicyEntries, error)
    public static VpcRoutePolicyEntries Get(string name, Input<string> id, VpcRoutePolicyEntriesState? state, CustomResourceOptions? opts = null)
    public static VpcRoutePolicyEntries get(String name, Output<String> id, VpcRoutePolicyEntriesState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:VpcRoutePolicyEntries    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.
    The following state arguments are supported:
    RoutePolicyEntrySets List<VpcRoutePolicyEntriesRoutePolicyEntrySet>
    Route reception policy entry list.
    RoutePolicyId string
    Specifies the instance ID of the route reception policy.
    VpcRoutePolicyEntriesId string
    ID of the resource.
    RoutePolicyEntrySets []VpcRoutePolicyEntriesRoutePolicyEntrySetArgs
    Route reception policy entry list.
    RoutePolicyId string
    Specifies the instance ID of the route reception policy.
    VpcRoutePolicyEntriesId string
    ID of the resource.
    routePolicyEntrySets List<VpcRoutePolicyEntriesRoutePolicyEntrySet>
    Route reception policy entry list.
    routePolicyId String
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId String
    ID of the resource.
    routePolicyEntrySets VpcRoutePolicyEntriesRoutePolicyEntrySet[]
    Route reception policy entry list.
    routePolicyId string
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId string
    ID of the resource.
    route_policy_entry_sets Sequence[VpcRoutePolicyEntriesRoutePolicyEntrySetArgs]
    Route reception policy entry list.
    route_policy_id str
    Specifies the instance ID of the route reception policy.
    vpc_route_policy_entries_id str
    ID of the resource.
    routePolicyEntrySets List<Property Map>
    Route reception policy entry list.
    routePolicyId String
    Specifies the instance ID of the route reception policy.
    vpcRoutePolicyEntriesId String
    ID of the resource.

    Supporting Types

    VpcRoutePolicyEntriesRoutePolicyEntrySet, VpcRoutePolicyEntriesRoutePolicyEntrySetArgs

    Action string
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    CidrBlock string
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    CreatedTime string

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    Description string
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    GatewayId string
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    GatewayType string
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    Priority double
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    Region string
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    RoutePolicyEntryId string
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    RouteType string

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    Action string
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    CidrBlock string
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    CreatedTime string

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    Description string
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    GatewayId string
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    GatewayType string
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    Priority float64
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    Region string
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    RoutePolicyEntryId string
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    RouteType string

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    action String
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    cidrBlock String
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    createdTime String

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    description String
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    gatewayId String
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    gatewayType String
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    priority Double
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    region String
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    routePolicyEntryId String
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    routeType String

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    action string
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    cidrBlock string
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    createdTime string

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    description string
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    gatewayId string
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    gatewayType string
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    priority number
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    region string
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    routePolicyEntryId string
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    routeType string

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    action str
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    cidr_block str
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    created_time str

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    description str
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    gateway_id str
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    gateway_type str
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    priority float
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    region str
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    route_policy_entry_id str
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    route_type str

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    action String
    Action. DROP: drop. DISABLE: receive and disable. ACCEPT: receive and enable. Note: This field may return null, indicating that no valid value was found.
    cidrBlock String
    Destination ip range. Note: This field may return null, indicating that no valid value was found.
    createdTime String

    Creation time.

    Note: This field may return null, indicating that no valid value was found.

    description String
    Describes the routing strategy rule. Note: This field may return null, indicating that no valid value was found.
    gatewayId String
    Gateway unique ID. Note: This field may return null, indicating that no valid value was found.
    gatewayType String
    Next hop type. types currently supported:. CVM: cloud virtual machine with public network gateway type. VPN: vpn gateway. DIRECTCONNECT: direct connect gateway. PEERCONNECTION: peering connection. HAVIP: high availability virtual ip. NAT: specifies the nat gateway. EIP: specifies the public ip address of the cloud virtual machine. LOCAL_GATEWAY: specifies the local gateway. PVGW: pvgw gateway. Note: This field may return null, indicating that no valid value was found.
    priority Number
    Priority. a smaller value indicates a higher priority. Note: This field may return null, indicating that no valid value was found.
    region String
    Specifies the region. Note: This field may return null, indicating that no valid value was found.
    routePolicyEntryId String
    Specifies the unique ID of the IPv4 routing strategy entry. Note: This field may return null, indicating that no valid value was found.
    routeType String

    Routing Type

    Specifies the USER-customized data type. NETD: specifies the route for network detection. CCN: CCN route. Note: This field may return null, indicating that no valid value was found.

    Import

    VPC route policy entries can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/vpcRoutePolicyEntries:VpcRoutePolicyEntries example rrp-lpv8rjp8
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.50 published on Tuesday, Dec 30, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate