UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

118 lines 4.19 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.getAppsOutput = exports.getApps = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Provides an easy way to retrieve all Sumo Logic v2 apps. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const test = sumologic.getApps({}); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const test = sumologic.getApps({ * name: "MySQL - OpenTelemetry", * author: "Sumo Logic", * }); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `uuid` - UUID of the app. * - `name` - Name of the app. * - `description` - Description of the app. * - `latestVersion` - Latest version of the app. * - `icon` - URL of the icon for the app. * - `author` - Author of the app. * - `accountTypes` - URL of the icon for the app * - `logAnalyticsFilter` - The search filter which would be applied on partitions which belong to Log Analytics product area. * - `beta` - URL of the icon for the app. * - `installs` - Number of times the app was installed. * - `appType` - Type of an app. * - `attributes` - A map of attributes for this app. Attributes allow to group apps based on different criteria. * ### Values in attributes type are : * - `category` * - `useCase` * - `collection` * - `family` - Provides a mechanism to link different apps. * - `installable` - Whether the app is installable or not as not all apps are installable. * - `showOnMarketplace` - Whether the app should show up on sumologic.com/applications webpage. */ function getApps(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("sumologic:index/getApps:getApps", { "author": args.author, "name": args.name, }, opts); } exports.getApps = getApps; /** * Provides an easy way to retrieve all Sumo Logic v2 apps. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const test = sumologic.getApps({}); * ``` * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const test = sumologic.getApps({ * name: "MySQL - OpenTelemetry", * author: "Sumo Logic", * }); * ``` * * ## Attributes reference * * The following attributes are exported: * * - `uuid` - UUID of the app. * - `name` - Name of the app. * - `description` - Description of the app. * - `latestVersion` - Latest version of the app. * - `icon` - URL of the icon for the app. * - `author` - Author of the app. * - `accountTypes` - URL of the icon for the app * - `logAnalyticsFilter` - The search filter which would be applied on partitions which belong to Log Analytics product area. * - `beta` - URL of the icon for the app. * - `installs` - Number of times the app was installed. * - `appType` - Type of an app. * - `attributes` - A map of attributes for this app. Attributes allow to group apps based on different criteria. * ### Values in attributes type are : * - `category` * - `useCase` * - `collection` * - `family` - Provides a mechanism to link different apps. * - `installable` - Whether the app is installable or not as not all apps are installable. * - `showOnMarketplace` - Whether the app should show up on sumologic.com/applications webpage. */ function getAppsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("sumologic:index/getApps:getApps", { "author": args.author, "name": args.name, }, opts); } exports.getAppsOutput = getAppsOutput; //# sourceMappingURL=getApps.js.map