UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

48 lines (47 loc) 2.17 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides an easy way to retrieve a folder. * * You must specify the absolute path of the folder to retrieve. The content library has "Library" * folder at the root level. For items in "Personal" folder, the base path is "/Library/Users/user@sumologic.com" * where "user@sumologic.com" is the email address of the user. For example, if a user with email address * `wile@acme.com` has `Rockets` folder inside Personal folder, the path of Rockets folder will be * `/Library/Users/wile@acme.com/Rockets`. * * For items in "Admin Recommended" folder, the base path is "/Library/Admin Recommended". For example, * given a folder `Acme` in Admin Recommended folder, the path will be `/Library/Admin Recommended/Acme`. */ export declare function getFolder(args: GetFolderArgs, opts?: pulumi.InvokeOptions): Promise<GetFolderResult>; /** * A collection of arguments for invoking getFolder. */ export interface GetFolderArgs { path: string; } /** * A collection of values returned by getFolder. */ export interface GetFolderResult { readonly id: string; readonly name: string; readonly path: string; } /** * Provides an easy way to retrieve a folder. * * You must specify the absolute path of the folder to retrieve. The content library has "Library" * folder at the root level. For items in "Personal" folder, the base path is "/Library/Users/user@sumologic.com" * where "user@sumologic.com" is the email address of the user. For example, if a user with email address * `wile@acme.com` has `Rockets` folder inside Personal folder, the path of Rockets folder will be * `/Library/Users/wile@acme.com/Rockets`. * * For items in "Admin Recommended" folder, the base path is "/Library/Admin Recommended". For example, * given a folder `Acme` in Admin Recommended folder, the path will be `/Library/Admin Recommended/Acme`. */ export declare function getFolderOutput(args: GetFolderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFolderResult>; /** * A collection of arguments for invoking getFolder. */ export interface GetFolderOutputArgs { path: pulumi.Input<string>; }