UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

68 lines 2.25 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.getPersonalFolderOutput = exports.getPersonalFolder = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides an easy way to retrieve the Personal Folder. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const personalFolder = sumologic.getPersonalFolder({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `id` - The ID of the Personal Folder. * - `name` - The name of the Personal Folder. * - `description` - The description of the Personal Folder. */ function getPersonalFolder(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sumologic:index/getPersonalFolder:getPersonalFolder", { "description": args.description, "id": args.id, "name": args.name, }, opts); } exports.getPersonalFolder = getPersonalFolder; /** * Provides an easy way to retrieve the Personal Folder. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const personalFolder = sumologic.getPersonalFolder({}); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `id` - The ID of the Personal Folder. * - `name` - The name of the Personal Folder. * - `description` - The description of the Personal Folder. */ function getPersonalFolderOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sumologic:index/getPersonalFolder:getPersonalFolder", { "description": args.description, "id": args.id, "name": args.name, }, opts); } exports.getPersonalFolderOutput = getPersonalFolderOutput; //# sourceMappingURL=getPersonalFolder.js.map