@pulumi/sumologic
Version:
A Pulumi package for creating and managing sumologic cloud resources.
120 lines (119 loc) • 3.98 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* 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.
*/
export declare function getApps(args?: GetAppsArgs, opts?: pulumi.InvokeOptions): Promise<GetAppsResult>;
/**
* A collection of arguments for invoking getApps.
*/
export interface GetAppsArgs {
author?: string;
name?: string;
}
/**
* A collection of values returned by getApps.
*/
export interface GetAppsResult {
readonly apps: outputs.GetAppsApp[];
readonly author?: string;
readonly id: string;
readonly name?: string;
}
/**
* 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.
*/
export declare function getAppsOutput(args?: GetAppsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsResult>;
/**
* A collection of arguments for invoking getApps.
*/
export interface GetAppsOutputArgs {
author?: pulumi.Input<string>;
name?: pulumi.Input<string>;
}