UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

54 lines 1.93 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getRouteEntriesOutput = exports.getRouteEntries = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of route entries * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getRouteEntries({ * ids: [], * routeTableId: "vtb-274e19skkuhog7fap8u4i8ird", * }); * ``` */ function getRouteEntries(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:vpc/getRouteEntries:getRouteEntries", { "destinationCidrBlock": args.destinationCidrBlock, "ids": args.ids, "nextHopId": args.nextHopId, "nextHopType": args.nextHopType, "outputFile": args.outputFile, "routeEntryName": args.routeEntryName, "routeEntryType": args.routeEntryType, "routeTableId": args.routeTableId, }, opts); } exports.getRouteEntries = getRouteEntries; /** * Use this data source to query detailed information of route entries * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.vpc.getRouteEntries({ * ids: [], * routeTableId: "vtb-274e19skkuhog7fap8u4i8ird", * }); * ``` */ function getRouteEntriesOutput(args, opts) { return pulumi.output(args).apply((a) => getRouteEntries(a, opts)); } exports.getRouteEntriesOutput = getRouteEntriesOutput; //# sourceMappingURL=getRouteEntries.js.map