UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

111 lines (110 loc) 3.96 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides the Sumologic CSE Insights Configuration for the whole organization. There can be only one configuration per organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const insightsConfiguration = new sumologic.CseInsightsConfiguration("insights_configuration", { * lookbackDays: 13, * threshold: 12, * globalSignalSuppressionWindow: 48, * }); * ``` * * ## Import * * Insights Configuration can be imported using the id `cse-insights-configuration`: * * hcl * * ```sh * $ pulumi import sumologic:index/cseInsightsConfiguration:CseInsightsConfiguration insights_configuration cse-insights-configuration * ``` */ export declare class CseInsightsConfiguration extends pulumi.CustomResource { /** * Get an existing CseInsightsConfiguration resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CseInsightsConfigurationState, opts?: pulumi.CustomResourceOptions): CseInsightsConfiguration; /** * Returns true if the given object is an instance of CseInsightsConfiguration. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CseInsightsConfiguration; /** * Detection global signal suppression window expressed in hours. * * The following attributes are exported: * * - `ID` - The internal ID of the insights configuration. */ readonly globalSignalSuppressionWindow: pulumi.Output<number | undefined>; /** * Detection window expressed in days. */ readonly lookbackDays: pulumi.Output<number | undefined>; /** * Detection threshold activity score. */ readonly threshold: pulumi.Output<number | undefined>; /** * Create a CseInsightsConfiguration resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: CseInsightsConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CseInsightsConfiguration resources. */ export interface CseInsightsConfigurationState { /** * Detection global signal suppression window expressed in hours. * * The following attributes are exported: * * - `ID` - The internal ID of the insights configuration. */ globalSignalSuppressionWindow?: pulumi.Input<number>; /** * Detection window expressed in days. */ lookbackDays?: pulumi.Input<number>; /** * Detection threshold activity score. */ threshold?: pulumi.Input<number>; } /** * The set of arguments for constructing a CseInsightsConfiguration resource. */ export interface CseInsightsConfigurationArgs { /** * Detection global signal suppression window expressed in hours. * * The following attributes are exported: * * - `ID` - The internal ID of the insights configuration. */ globalSignalSuppressionWindow?: pulumi.Input<number>; /** * Detection window expressed in days. */ lookbackDays?: pulumi.Input<number>; /** * Detection threshold activity score. */ threshold?: pulumi.Input<number>; }