UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

130 lines (129 loc) 4.68 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Sumologic CSE Match List. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const matchList = new sumologic.CseMatchList("match_list", { * defaultTtl: 10800, * description: "Match list description", * name: "Match list name", * targetColumn: "SrcIp", * items: [{ * description: "IP address", * value: "192.168.0.1", * expiration: "2022-02-27T04:00:00", * }], * }); * ``` * * ## Import * * Match List can be imported using the field id, e.g.: * * hcl * * ```sh * $ pulumi import sumologic:index/cseMatchList:CseMatchList match_list id * ``` */ export declare class CseMatchList extends pulumi.CustomResource { /** * Get an existing CseMatchList 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?: CseMatchListState, opts?: pulumi.CustomResourceOptions): CseMatchList; /** * Returns true if the given object is an instance of CseMatchList. 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 CseMatchList; readonly created: pulumi.Output<string>; readonly createdBy: pulumi.Output<string>; /** * The default time to live for match list items added through the UI. Specified in seconds. */ readonly defaultTtl: pulumi.Output<number | undefined>; /** * Match list description. */ readonly description: pulumi.Output<string>; readonly items: pulumi.Output<outputs.CseMatchListItem[] | undefined>; readonly lastUpdated: pulumi.Output<string>; readonly lastUpdatedBy: pulumi.Output<string>; /** * Match list name. */ readonly name: pulumi.Output<string>; /** * Target column. (possible values: Hostname, FileHash, Url, SrcIp, DstIp, Domain, Username, Ip, Asn, Isp, Org, SrcAsn, SrcIsp, SrcOrg, DstAsn, DstIsp, DstOrg or any custom column.) */ readonly targetColumn: pulumi.Output<string>; /** * Create a CseMatchList 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: CseMatchListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CseMatchList resources. */ export interface CseMatchListState { created?: pulumi.Input<string>; createdBy?: pulumi.Input<string>; /** * The default time to live for match list items added through the UI. Specified in seconds. */ defaultTtl?: pulumi.Input<number>; /** * Match list description. */ description?: pulumi.Input<string>; items?: pulumi.Input<pulumi.Input<inputs.CseMatchListItem>[]>; lastUpdated?: pulumi.Input<string>; lastUpdatedBy?: pulumi.Input<string>; /** * Match list name. */ name?: pulumi.Input<string>; /** * Target column. (possible values: Hostname, FileHash, Url, SrcIp, DstIp, Domain, Username, Ip, Asn, Isp, Org, SrcAsn, SrcIsp, SrcOrg, DstAsn, DstIsp, DstOrg or any custom column.) */ targetColumn?: pulumi.Input<string>; } /** * The set of arguments for constructing a CseMatchList resource. */ export interface CseMatchListArgs { /** * The default time to live for match list items added through the UI. Specified in seconds. */ defaultTtl?: pulumi.Input<number>; /** * Match list description. */ description: pulumi.Input<string>; items?: pulumi.Input<pulumi.Input<inputs.CseMatchListItem>[]>; /** * Match list name. */ name?: pulumi.Input<string>; /** * Target column. (possible values: Hostname, FileHash, Url, SrcIp, DstIp, Domain, Username, Ip, Asn, Isp, Org, SrcAsn, SrcIsp, SrcOrg, DstAsn, DstIsp, DstOrg or any custom column.) */ targetColumn: pulumi.Input<string>; }