UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

97 lines (96 loc) 3.19 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a Sumologic CSE Insights Status. Preconfigured Insight statuses cannot be edited or deleted; you can however create custom statuses. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const insightsStatus = new sumologic.CseInsightsStatus("insights_status", { * name: "New Name", * description: "New description", * }); * ``` * * ## Import * * Insights Status can be imported using the field id, e.g.: * * hcl * * ```sh * $ pulumi import sumologic:index/cseInsightsStatus:CseInsightsStatus insights_status id * ``` */ export declare class CseInsightsStatus extends pulumi.CustomResource { /** * Get an existing CseInsightsStatus 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?: CseInsightsStatusState, opts?: pulumi.CustomResourceOptions): CseInsightsStatus; /** * Returns true if the given object is an instance of CseInsightsStatus. 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 CseInsightsStatus; /** * The description of the insights status. * * * The following attributes are exported: */ readonly description: pulumi.Output<string | undefined>; readonly displayName: pulumi.Output<string>; /** * The name of the insights status. */ readonly name: pulumi.Output<string>; /** * Create a CseInsightsStatus 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?: CseInsightsStatusArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CseInsightsStatus resources. */ export interface CseInsightsStatusState { /** * The description of the insights status. * * * The following attributes are exported: */ description?: pulumi.Input<string>; displayName?: pulumi.Input<string>; /** * The name of the insights status. */ name?: pulumi.Input<string>; } /** * The set of arguments for constructing a CseInsightsStatus resource. */ export interface CseInsightsStatusArgs { /** * The description of the insights status. * * * The following attributes are exported: */ description?: pulumi.Input<string>; /** * The name of the insights status. */ name?: pulumi.Input<string>; }