UNPKG

@pulumi/gcp

Version:

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

56 lines 2.36 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.getControlFolderIntelligenceConfigOutput = exports.getControlFolderIntelligenceConfig = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get information about a Folder Storage Intelligence config resource. * See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource) * and * [API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const sample_config = gcp.storage.getControlFolderIntelligenceConfig({ * name: "123456789", * }); * ``` */ function getControlFolderIntelligenceConfig(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("gcp:storage/getControlFolderIntelligenceConfig:getControlFolderIntelligenceConfig", { "name": args.name, }, opts); } exports.getControlFolderIntelligenceConfig = getControlFolderIntelligenceConfig; /** * Use this data source to get information about a Folder Storage Intelligence config resource. * See [the official documentation](https://cloud.google.com/storage/docs/storage-intelligence/overview#resource) * and * [API](https://cloud.google.com/storage/docs/json_api/v1/intelligenceConfig). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const sample_config = gcp.storage.getControlFolderIntelligenceConfig({ * name: "123456789", * }); * ``` */ function getControlFolderIntelligenceConfigOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("gcp:storage/getControlFolderIntelligenceConfig:getControlFolderIntelligenceConfig", { "name": args.name, }, opts); } exports.getControlFolderIntelligenceConfigOutput = getControlFolderIntelligenceConfigOutput; //# sourceMappingURL=getControlFolderIntelligenceConfig.js.map