@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
62 lines • 2.28 kB
JavaScript
;
// *** 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.routeTablesOutput = exports.routeTables = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to query detailed information of route tables
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.vpc.getRouteTables({
* ids: [
* "vtb-274e19skkuhog7fap8u4i8ird",
* "vtb-2744hslq5b7r47fap8tjomgnj",
* ],
* routeTableName: "vpc-fast",
* });
* ```
*/
/** @deprecated volcengine.vpc.RouteTables has been deprecated in favor of volcengine.vpc.getRouteTables */
function routeTables(args, opts) {
pulumi.log.warn("routeTables is deprecated: volcengine.vpc.RouteTables has been deprecated in favor of volcengine.vpc.getRouteTables");
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("volcengine:vpc/routeTables:RouteTables", {
"ids": args.ids,
"outputFile": args.outputFile,
"projectName": args.projectName,
"routeTableName": args.routeTableName,
"tags": args.tags,
"vpcId": args.vpcId,
}, opts);
}
exports.routeTables = routeTables;
/**
* Use this data source to query detailed information of route tables
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.vpc.getRouteTables({
* ids: [
* "vtb-274e19skkuhog7fap8u4i8ird",
* "vtb-2744hslq5b7r47fap8tjomgnj",
* ],
* routeTableName: "vpc-fast",
* });
* ```
*/
/** @deprecated volcengine.vpc.RouteTables has been deprecated in favor of volcengine.vpc.getRouteTables */
function routeTablesOutput(args, opts) {
return pulumi.output(args).apply((a) => routeTables(a, opts));
}
exports.routeTablesOutput = routeTablesOutput;
//# sourceMappingURL=routeTables.js.map