UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

58 lines 1.99 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getTablesOutput = exports.getTables = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get a list of tables in a BigQuery dataset. For more information see * the [official documentation](https://cloud.google.com/bigquery/docs) * and [API](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const tables = gcp.bigquery.getTables({ * datasetId: "my-bq-dataset", * project: "my-project", * }); * ``` */ function getTables(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:bigquery/getTables:getTables", { "datasetId": args.datasetId, "project": args.project, }, opts); } exports.getTables = getTables; /** * Get a list of tables in a BigQuery dataset. For more information see * the [official documentation](https://cloud.google.com/bigquery/docs) * and [API](https://cloud.google.com/bigquery/docs/reference/rest/v2/tables). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const tables = gcp.bigquery.getTables({ * datasetId: "my-bq-dataset", * project: "my-project", * }); * ``` */ function getTablesOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:bigquery/getTables:getTables", { "datasetId": args.datasetId, "project": args.project, }, opts); } exports.getTablesOutput = getTablesOutput; //# sourceMappingURL=getTables.js.map