Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.vpn.GatewayRoutes
Explore with Pulumi AI
Use this data source to query detailed information of vpn gateway routes
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
    vpcName: "acc-test-vpc",
    cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
    subnetName: "acc-test-subnet",
    cidrBlock: "172.16.0.0/24",
    zoneId: "cn-beijig-a",
    vpcId: fooVpc.id,
});
const fooGateway = new volcengine.vpn.Gateway("fooGateway", {
    vpcId: fooVpc.id,
    subnetId: fooSubnet.id,
    bandwidth: 20,
    vpnGatewayName: "acc-test",
    description: "acc-test",
    period: 2,
    projectName: "default",
});
const fooCustomerGateway = new volcengine.vpn.CustomerGateway("fooCustomerGateway", {
    ipAddress: "192.0.1.3",
    customerGatewayName: "acc-test",
    description: "acc-test",
    projectName: "default",
});
const fooConnection = new volcengine.vpn.Connection("fooConnection", {
    vpnConnectionName: "acc-tf-test",
    description: "acc-tf-test",
    vpnGatewayId: fooGateway.id,
    customerGatewayId: fooCustomerGateway.id,
    localSubnets: ["192.168.0.0/22"],
    remoteSubnets: ["192.161.0.0/20"],
    dpdAction: "none",
    natTraversal: true,
    ikeConfigPsk: "acctest@!3",
    ikeConfigVersion: "ikev1",
    ikeConfigMode: "main",
    ikeConfigEncAlg: "aes",
    ikeConfigAuthAlg: "md5",
    ikeConfigDhGroup: "group2",
    ikeConfigLifetime: 9000,
    ikeConfigLocalId: "acc_test",
    ikeConfigRemoteId: "acc_test",
    ipsecConfigEncAlg: "aes",
    ipsecConfigAuthAlg: "sha256",
    ipsecConfigDhGroup: "group2",
    ipsecConfigLifetime: 9000,
    projectName: "default",
    logEnabled: false,
});
const fooGatewayRoute = new volcengine.vpn.GatewayRoute("fooGatewayRoute", {
    vpnGatewayId: fooGateway.id,
    destinationCidrBlock: "192.168.0.0/20",
    nextHopId: fooConnection.id,
});
const fooGatewayRoutes = volcengine.vpn.GatewayRoutesOutput({
    ids: [fooGatewayRoute.id],
});
import pulumi
import pulumi_volcengine as volcengine
foo_vpc = volcengine.vpc.Vpc("fooVpc",
    vpc_name="acc-test-vpc",
    cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
    subnet_name="acc-test-subnet",
    cidr_block="172.16.0.0/24",
    zone_id="cn-beijig-a",
    vpc_id=foo_vpc.id)
foo_gateway = volcengine.vpn.Gateway("fooGateway",
    vpc_id=foo_vpc.id,
    subnet_id=foo_subnet.id,
    bandwidth=20,
    vpn_gateway_name="acc-test",
    description="acc-test",
    period=2,
    project_name="default")
foo_customer_gateway = volcengine.vpn.CustomerGateway("fooCustomerGateway",
    ip_address="192.0.1.3",
    customer_gateway_name="acc-test",
    description="acc-test",
    project_name="default")
foo_connection = volcengine.vpn.Connection("fooConnection",
    vpn_connection_name="acc-tf-test",
    description="acc-tf-test",
    vpn_gateway_id=foo_gateway.id,
    customer_gateway_id=foo_customer_gateway.id,
    local_subnets=["192.168.0.0/22"],
    remote_subnets=["192.161.0.0/20"],
    dpd_action="none",
    nat_traversal=True,
    ike_config_psk="acctest@!3",
    ike_config_version="ikev1",
    ike_config_mode="main",
    ike_config_enc_alg="aes",
    ike_config_auth_alg="md5",
    ike_config_dh_group="group2",
    ike_config_lifetime=9000,
    ike_config_local_id="acc_test",
    ike_config_remote_id="acc_test",
    ipsec_config_enc_alg="aes",
    ipsec_config_auth_alg="sha256",
    ipsec_config_dh_group="group2",
    ipsec_config_lifetime=9000,
    project_name="default",
    log_enabled=False)
foo_gateway_route = volcengine.vpn.GatewayRoute("fooGatewayRoute",
    vpn_gateway_id=foo_gateway.id,
    destination_cidr_block="192.168.0.0/20",
    next_hop_id=foo_connection.id)
foo_gateway_routes = volcengine.vpn.gateway_routes_output(ids=[foo_gateway_route.id])
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpn"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
			VpcName:   pulumi.String("acc-test-vpc"),
			CidrBlock: pulumi.String("172.16.0.0/16"),
		})
		if err != nil {
			return err
		}
		fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
			SubnetName: pulumi.String("acc-test-subnet"),
			CidrBlock:  pulumi.String("172.16.0.0/24"),
			ZoneId:     pulumi.String("cn-beijig-a"),
			VpcId:      fooVpc.ID(),
		})
		if err != nil {
			return err
		}
		fooGateway, err := vpn.NewGateway(ctx, "fooGateway", &vpn.GatewayArgs{
			VpcId:          fooVpc.ID(),
			SubnetId:       fooSubnet.ID(),
			Bandwidth:      pulumi.Int(20),
			VpnGatewayName: pulumi.String("acc-test"),
			Description:    pulumi.String("acc-test"),
			Period:         pulumi.Int(2),
			ProjectName:    pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooCustomerGateway, err := vpn.NewCustomerGateway(ctx, "fooCustomerGateway", &vpn.CustomerGatewayArgs{
			IpAddress:           pulumi.String("192.0.1.3"),
			CustomerGatewayName: pulumi.String("acc-test"),
			Description:         pulumi.String("acc-test"),
			ProjectName:         pulumi.String("default"),
		})
		if err != nil {
			return err
		}
		fooConnection, err := vpn.NewConnection(ctx, "fooConnection", &vpn.ConnectionArgs{
			VpnConnectionName: pulumi.String("acc-tf-test"),
			Description:       pulumi.String("acc-tf-test"),
			VpnGatewayId:      fooGateway.ID(),
			CustomerGatewayId: fooCustomerGateway.ID(),
			LocalSubnets: pulumi.StringArray{
				pulumi.String("192.168.0.0/22"),
			},
			RemoteSubnets: pulumi.StringArray{
				pulumi.String("192.161.0.0/20"),
			},
			DpdAction:           pulumi.String("none"),
			NatTraversal:        pulumi.Bool(true),
			IkeConfigPsk:        pulumi.String("acctest@!3"),
			IkeConfigVersion:    pulumi.String("ikev1"),
			IkeConfigMode:       pulumi.String("main"),
			IkeConfigEncAlg:     pulumi.String("aes"),
			IkeConfigAuthAlg:    pulumi.String("md5"),
			IkeConfigDhGroup:    pulumi.String("group2"),
			IkeConfigLifetime:   pulumi.Int(9000),
			IkeConfigLocalId:    pulumi.String("acc_test"),
			IkeConfigRemoteId:   pulumi.String("acc_test"),
			IpsecConfigEncAlg:   pulumi.String("aes"),
			IpsecConfigAuthAlg:  pulumi.String("sha256"),
			IpsecConfigDhGroup:  pulumi.String("group2"),
			IpsecConfigLifetime: pulumi.Int(9000),
			ProjectName:         pulumi.String("default"),
			LogEnabled:          pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		fooGatewayRoute, err := vpn.NewGatewayRoute(ctx, "fooGatewayRoute", &vpn.GatewayRouteArgs{
			VpnGatewayId:         fooGateway.ID(),
			DestinationCidrBlock: pulumi.String("192.168.0.0/20"),
			NextHopId:            fooConnection.ID(),
		})
		if err != nil {
			return err
		}
		_ = vpn.GatewayRoutesOutput(ctx, vpn.GatewayRoutesOutputArgs{
			Ids: pulumi.StringArray{
				fooGatewayRoute.ID(),
			},
		}, nil)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() => 
{
    var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
    {
        VpcName = "acc-test-vpc",
        CidrBlock = "172.16.0.0/16",
    });
    var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
    {
        SubnetName = "acc-test-subnet",
        CidrBlock = "172.16.0.0/24",
        ZoneId = "cn-beijig-a",
        VpcId = fooVpc.Id,
    });
    var fooGateway = new Volcengine.Vpn.Gateway("fooGateway", new()
    {
        VpcId = fooVpc.Id,
        SubnetId = fooSubnet.Id,
        Bandwidth = 20,
        VpnGatewayName = "acc-test",
        Description = "acc-test",
        Period = 2,
        ProjectName = "default",
    });
    var fooCustomerGateway = new Volcengine.Vpn.CustomerGateway("fooCustomerGateway", new()
    {
        IpAddress = "192.0.1.3",
        CustomerGatewayName = "acc-test",
        Description = "acc-test",
        ProjectName = "default",
    });
    var fooConnection = new Volcengine.Vpn.Connection("fooConnection", new()
    {
        VpnConnectionName = "acc-tf-test",
        Description = "acc-tf-test",
        VpnGatewayId = fooGateway.Id,
        CustomerGatewayId = fooCustomerGateway.Id,
        LocalSubnets = new[]
        {
            "192.168.0.0/22",
        },
        RemoteSubnets = new[]
        {
            "192.161.0.0/20",
        },
        DpdAction = "none",
        NatTraversal = true,
        IkeConfigPsk = "acctest@!3",
        IkeConfigVersion = "ikev1",
        IkeConfigMode = "main",
        IkeConfigEncAlg = "aes",
        IkeConfigAuthAlg = "md5",
        IkeConfigDhGroup = "group2",
        IkeConfigLifetime = 9000,
        IkeConfigLocalId = "acc_test",
        IkeConfigRemoteId = "acc_test",
        IpsecConfigEncAlg = "aes",
        IpsecConfigAuthAlg = "sha256",
        IpsecConfigDhGroup = "group2",
        IpsecConfigLifetime = 9000,
        ProjectName = "default",
        LogEnabled = false,
    });
    var fooGatewayRoute = new Volcengine.Vpn.GatewayRoute("fooGatewayRoute", new()
    {
        VpnGatewayId = fooGateway.Id,
        DestinationCidrBlock = "192.168.0.0/20",
        NextHopId = fooConnection.Id,
    });
    var fooGatewayRoutes = Volcengine.Vpn.GatewayRoutes.Invoke(new()
    {
        Ids = new[]
        {
            fooGatewayRoute.Id,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.vpn.Gateway;
import com.pulumi.volcengine.vpn.GatewayArgs;
import com.pulumi.volcengine.vpn.CustomerGateway;
import com.pulumi.volcengine.vpn.CustomerGatewayArgs;
import com.pulumi.volcengine.vpn.Connection;
import com.pulumi.volcengine.vpn.ConnectionArgs;
import com.pulumi.volcengine.vpn.GatewayRoute;
import com.pulumi.volcengine.vpn.GatewayRouteArgs;
import com.pulumi.volcengine.vpn.VpnFunctions;
import com.pulumi.volcengine.vpn.inputs.GatewayRoutesArgs;
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 fooVpc = new Vpc("fooVpc", VpcArgs.builder()        
            .vpcName("acc-test-vpc")
            .cidrBlock("172.16.0.0/16")
            .build());
        var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()        
            .subnetName("acc-test-subnet")
            .cidrBlock("172.16.0.0/24")
            .zoneId("cn-beijig-a")
            .vpcId(fooVpc.id())
            .build());
        var fooGateway = new Gateway("fooGateway", GatewayArgs.builder()        
            .vpcId(fooVpc.id())
            .subnetId(fooSubnet.id())
            .bandwidth(20)
            .vpnGatewayName("acc-test")
            .description("acc-test")
            .period(2)
            .projectName("default")
            .build());
        var fooCustomerGateway = new CustomerGateway("fooCustomerGateway", CustomerGatewayArgs.builder()        
            .ipAddress("192.0.1.3")
            .customerGatewayName("acc-test")
            .description("acc-test")
            .projectName("default")
            .build());
        var fooConnection = new Connection("fooConnection", ConnectionArgs.builder()        
            .vpnConnectionName("acc-tf-test")
            .description("acc-tf-test")
            .vpnGatewayId(fooGateway.id())
            .customerGatewayId(fooCustomerGateway.id())
            .localSubnets("192.168.0.0/22")
            .remoteSubnets("192.161.0.0/20")
            .dpdAction("none")
            .natTraversal(true)
            .ikeConfigPsk("acctest@!3")
            .ikeConfigVersion("ikev1")
            .ikeConfigMode("main")
            .ikeConfigEncAlg("aes")
            .ikeConfigAuthAlg("md5")
            .ikeConfigDhGroup("group2")
            .ikeConfigLifetime(9000)
            .ikeConfigLocalId("acc_test")
            .ikeConfigRemoteId("acc_test")
            .ipsecConfigEncAlg("aes")
            .ipsecConfigAuthAlg("sha256")
            .ipsecConfigDhGroup("group2")
            .ipsecConfigLifetime(9000)
            .projectName("default")
            .logEnabled(false)
            .build());
        var fooGatewayRoute = new GatewayRoute("fooGatewayRoute", GatewayRouteArgs.builder()        
            .vpnGatewayId(fooGateway.id())
            .destinationCidrBlock("192.168.0.0/20")
            .nextHopId(fooConnection.id())
            .build());
        final var fooGatewayRoutes = VpnFunctions.GatewayRoutes(GatewayRoutesArgs.builder()
            .ids(fooGatewayRoute.id())
            .build());
    }
}
resources:
  fooVpc:
    type: volcengine:vpc:Vpc
    properties:
      vpcName: acc-test-vpc
      cidrBlock: 172.16.0.0/16
  fooSubnet:
    type: volcengine:vpc:Subnet
    properties:
      subnetName: acc-test-subnet
      cidrBlock: 172.16.0.0/24
      zoneId: cn-beijig-a
      vpcId: ${fooVpc.id}
  fooGateway:
    type: volcengine:vpn:Gateway
    properties:
      vpcId: ${fooVpc.id}
      subnetId: ${fooSubnet.id}
      bandwidth: 20
      vpnGatewayName: acc-test
      description: acc-test
      period: 2
      projectName: default
  fooCustomerGateway:
    type: volcengine:vpn:CustomerGateway
    properties:
      ipAddress: 192.0.1.3
      customerGatewayName: acc-test
      description: acc-test
      projectName: default
  fooConnection:
    type: volcengine:vpn:Connection
    properties:
      vpnConnectionName: acc-tf-test
      description: acc-tf-test
      vpnGatewayId: ${fooGateway.id}
      customerGatewayId: ${fooCustomerGateway.id}
      localSubnets:
        - 192.168.0.0/22
      remoteSubnets:
        - 192.161.0.0/20
      dpdAction: none
      natTraversal: true
      ikeConfigPsk: acctest@!3
      ikeConfigVersion: ikev1
      ikeConfigMode: main
      ikeConfigEncAlg: aes
      ikeConfigAuthAlg: md5
      ikeConfigDhGroup: group2
      ikeConfigLifetime: 9000
      ikeConfigLocalId: acc_test
      ikeConfigRemoteId: acc_test
      ipsecConfigEncAlg: aes
      ipsecConfigAuthAlg: sha256
      ipsecConfigDhGroup: group2
      ipsecConfigLifetime: 9000
      projectName: default
      logEnabled: false
  fooGatewayRoute:
    type: volcengine:vpn:GatewayRoute
    properties:
      vpnGatewayId: ${fooGateway.id}
      destinationCidrBlock: 192.168.0.0/20
      nextHopId: ${fooConnection.id}
variables:
  fooGatewayRoutes:
    fn::invoke:
      Function: volcengine:vpn:GatewayRoutes
      Arguments:
        ids:
          - ${fooGatewayRoute.id}
Using GatewayRoutes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function gatewayRoutes(args: GatewayRoutesArgs, opts?: InvokeOptions): Promise<GatewayRoutesResult>
function gatewayRoutesOutput(args: GatewayRoutesOutputArgs, opts?: InvokeOptions): Output<GatewayRoutesResult>def gateway_routes(destination_cidr_block: Optional[str] = None,
                   ids: Optional[Sequence[str]] = None,
                   next_hop_id: Optional[str] = None,
                   output_file: Optional[str] = None,
                   route_type: Optional[str] = None,
                   status: Optional[str] = None,
                   vpn_gateway_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GatewayRoutesResult
def gateway_routes_output(destination_cidr_block: Optional[pulumi.Input[str]] = None,
                   ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                   next_hop_id: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   route_type: Optional[pulumi.Input[str]] = None,
                   status: Optional[pulumi.Input[str]] = None,
                   vpn_gateway_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GatewayRoutesResult]func GatewayRoutes(ctx *Context, args *GatewayRoutesArgs, opts ...InvokeOption) (*GatewayRoutesResult, error)
func GatewayRoutesOutput(ctx *Context, args *GatewayRoutesOutputArgs, opts ...InvokeOption) GatewayRoutesResultOutputpublic static class GatewayRoutes 
{
    public static Task<GatewayRoutesResult> InvokeAsync(GatewayRoutesArgs args, InvokeOptions? opts = null)
    public static Output<GatewayRoutesResult> Invoke(GatewayRoutesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GatewayRoutesResult> gatewayRoutes(GatewayRoutesArgs args, InvokeOptions options)
public static Output<GatewayRoutesResult> gatewayRoutes(GatewayRoutesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:vpn:GatewayRoutes
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DestinationCidr stringBlock 
- A destination cidr block.
- Ids List<string>
- A list of VPN gateway route ids.
- NextHop stringId 
- An ID of next hop.
- OutputFile string
- File name where to save data source results.
- RouteType string
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- Status string
- The status of the VPN gateway route.
- VpnGateway stringId 
- An ID of VPN gateway.
- DestinationCidr stringBlock 
- A destination cidr block.
- Ids []string
- A list of VPN gateway route ids.
- NextHop stringId 
- An ID of next hop.
- OutputFile string
- File name where to save data source results.
- RouteType string
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- Status string
- The status of the VPN gateway route.
- VpnGateway stringId 
- An ID of VPN gateway.
- destinationCidr StringBlock 
- A destination cidr block.
- ids List<String>
- A list of VPN gateway route ids.
- nextHop StringId 
- An ID of next hop.
- outputFile String
- File name where to save data source results.
- routeType String
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- status String
- The status of the VPN gateway route.
- vpnGateway StringId 
- An ID of VPN gateway.
- destinationCidr stringBlock 
- A destination cidr block.
- ids string[]
- A list of VPN gateway route ids.
- nextHop stringId 
- An ID of next hop.
- outputFile string
- File name where to save data source results.
- routeType string
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- status string
- The status of the VPN gateway route.
- vpnGateway stringId 
- An ID of VPN gateway.
- destination_cidr_ strblock 
- A destination cidr block.
- ids Sequence[str]
- A list of VPN gateway route ids.
- next_hop_ strid 
- An ID of next hop.
- output_file str
- File name where to save data source results.
- route_type str
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- status str
- The status of the VPN gateway route.
- vpn_gateway_ strid 
- An ID of VPN gateway.
- destinationCidr StringBlock 
- A destination cidr block.
- ids List<String>
- A list of VPN gateway route ids.
- nextHop StringId 
- An ID of next hop.
- outputFile String
- File name where to save data source results.
- routeType String
- The type of the VPN gateway route. Valid values: Static,BGP,Cloud.
- status String
- The status of the VPN gateway route.
- vpnGateway StringId 
- An ID of VPN gateway.
GatewayRoutes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of VPN gateway route query.
- VpnGateway List<GatewayRoutes Routes Vpn Gateway Route> 
- The collection of VPN gateway route query.
- DestinationCidr stringBlock 
- The destination cidr block of the VPN gateway route.
- Ids List<string>
- NextHop stringId 
- The next hop id of the VPN gateway route.
- OutputFile string
- RouteType string
- Status string
- The status of the VPN gateway route.
- VpnGateway stringId 
- The ID of the VPN gateway of the VPN gateway route.
- Id string
- The provider-assigned unique ID for this managed resource.
- TotalCount int
- The total count of VPN gateway route query.
- VpnGateway []GatewayRoutes Routes Vpn Gateway Route 
- The collection of VPN gateway route query.
- DestinationCidr stringBlock 
- The destination cidr block of the VPN gateway route.
- Ids []string
- NextHop stringId 
- The next hop id of the VPN gateway route.
- OutputFile string
- RouteType string
- Status string
- The status of the VPN gateway route.
- VpnGateway stringId 
- The ID of the VPN gateway of the VPN gateway route.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Integer
- The total count of VPN gateway route query.
- vpnGateway List<GatewayRoutes Routes Vpn Gateway Route> 
- The collection of VPN gateway route query.
- destinationCidr StringBlock 
- The destination cidr block of the VPN gateway route.
- ids List<String>
- nextHop StringId 
- The next hop id of the VPN gateway route.
- outputFile String
- routeType String
- status String
- The status of the VPN gateway route.
- vpnGateway StringId 
- The ID of the VPN gateway of the VPN gateway route.
- id string
- The provider-assigned unique ID for this managed resource.
- totalCount number
- The total count of VPN gateway route query.
- vpnGateway GatewayRoutes Routes Vpn Gateway Route[] 
- The collection of VPN gateway route query.
- destinationCidr stringBlock 
- The destination cidr block of the VPN gateway route.
- ids string[]
- nextHop stringId 
- The next hop id of the VPN gateway route.
- outputFile string
- routeType string
- status string
- The status of the VPN gateway route.
- vpnGateway stringId 
- The ID of the VPN gateway of the VPN gateway route.
- id str
- The provider-assigned unique ID for this managed resource.
- total_count int
- The total count of VPN gateway route query.
- vpn_gateway_ Sequence[Gatewayroutes Routes Vpn Gateway Route] 
- The collection of VPN gateway route query.
- destination_cidr_ strblock 
- The destination cidr block of the VPN gateway route.
- ids Sequence[str]
- next_hop_ strid 
- The next hop id of the VPN gateway route.
- output_file str
- route_type str
- status str
- The status of the VPN gateway route.
- vpn_gateway_ strid 
- The ID of the VPN gateway of the VPN gateway route.
- id String
- The provider-assigned unique ID for this managed resource.
- totalCount Number
- The total count of VPN gateway route query.
- vpnGateway List<Property Map>Routes 
- The collection of VPN gateway route query.
- destinationCidr StringBlock 
- The destination cidr block of the VPN gateway route.
- ids List<String>
- nextHop StringId 
- The next hop id of the VPN gateway route.
- outputFile String
- routeType String
- status String
- The status of the VPN gateway route.
- vpnGateway StringId 
- The ID of the VPN gateway of the VPN gateway route.
Supporting Types
GatewayRoutesVpnGatewayRoute    
- CreationTime string
- The create time of VPN gateway route.
- DestinationCidr stringBlock 
- A destination cidr block.
- Id string
- The ID of the VPN gateway route.
- NextHop stringId 
- An ID of next hop.
- Status string
- The status of the VPN gateway route.
- UpdateTime string
- The update time of VPN gateway route.
- VpnGateway stringId 
- An ID of VPN gateway.
- VpnGateway stringRoute Id 
- The ID of the VPN gateway route.
- CreationTime string
- The create time of VPN gateway route.
- DestinationCidr stringBlock 
- A destination cidr block.
- Id string
- The ID of the VPN gateway route.
- NextHop stringId 
- An ID of next hop.
- Status string
- The status of the VPN gateway route.
- UpdateTime string
- The update time of VPN gateway route.
- VpnGateway stringId 
- An ID of VPN gateway.
- VpnGateway stringRoute Id 
- The ID of the VPN gateway route.
- creationTime String
- The create time of VPN gateway route.
- destinationCidr StringBlock 
- A destination cidr block.
- id String
- The ID of the VPN gateway route.
- nextHop StringId 
- An ID of next hop.
- status String
- The status of the VPN gateway route.
- updateTime String
- The update time of VPN gateway route.
- vpnGateway StringId 
- An ID of VPN gateway.
- vpnGateway StringRoute Id 
- The ID of the VPN gateway route.
- creationTime string
- The create time of VPN gateway route.
- destinationCidr stringBlock 
- A destination cidr block.
- id string
- The ID of the VPN gateway route.
- nextHop stringId 
- An ID of next hop.
- status string
- The status of the VPN gateway route.
- updateTime string
- The update time of VPN gateway route.
- vpnGateway stringId 
- An ID of VPN gateway.
- vpnGateway stringRoute Id 
- The ID of the VPN gateway route.
- creation_time str
- The create time of VPN gateway route.
- destination_cidr_ strblock 
- A destination cidr block.
- id str
- The ID of the VPN gateway route.
- next_hop_ strid 
- An ID of next hop.
- status str
- The status of the VPN gateway route.
- update_time str
- The update time of VPN gateway route.
- vpn_gateway_ strid 
- An ID of VPN gateway.
- vpn_gateway_ strroute_ id 
- The ID of the VPN gateway route.
- creationTime String
- The create time of VPN gateway route.
- destinationCidr StringBlock 
- A destination cidr block.
- id String
- The ID of the VPN gateway route.
- nextHop StringId 
- An ID of next hop.
- status String
- The status of the VPN gateway route.
- updateTime String
- The update time of VPN gateway route.
- vpnGateway StringId 
- An ID of VPN gateway.
- vpnGateway StringRoute Id 
- The ID of the VPN gateway route.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.