import * as pulumi from "@pulumi/pulumi"; /** * Manages a Sentinel Watchlist Item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "West Europe", * }); * const exampleAnalyticsWorkspace = new azure.operationalinsights.AnalyticsWorkspace("example", { * name: "example-workspace", * location: example.location, * resourceGroupName: example.name, * sku: "PerGB2018", * }); * const exampleLogAnalyticsWorkspaceOnboarding = new azure.sentinel.LogAnalyticsWorkspaceOnboarding("example", {workspaceId: exampleAnalyticsWorkspace.id}); * const exampleWatchlist = new azure.sentinel.Watchlist("example", { * name: "example-watchlist", * logAnalyticsWorkspaceId: exampleLogAnalyticsWorkspaceOnboarding.workspaceId, * displayName: "example-wl", * itemSearchKey: "Key", * }); * const exampleWatchlistItem = new azure.sentinel.WatchlistItem("example", { * name: "0aac6fa5-223e-49cf-9bfd-3554dc9d2b76", * watchlistId: exampleWatchlist.id, * properties: { * k1: "v1", * k2: "v2", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.OperationalInsights` - 2022-11-01 * * ## Import * * Sentinel Watchlist Items can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:sentinel/watchlistItem:WatchlistItem example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.OperationalInsights/workspaces/workspace1/providers/Microsoft.SecurityInsights/watchlists/list1/watchlistItems/item1 * ``` */ export declare class WatchlistItem extends pulumi.CustomResource { /** * Get an existing WatchlistItem 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, state?: WatchlistItemState, opts?: pulumi.CustomResourceOptions): WatchlistItem; /** * Returns true if the given object is an instance of WatchlistItem. 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 WatchlistItem; /** * The name in UUID format which should be used for this Sentinel Watchlist Item. Changing this forces a new Sentinel Watchlist Item to be created. */ readonly name: pulumi.Output; /** * The key value pairs of the Sentinel Watchlist Item. */ readonly properties: pulumi.Output<{ [key: string]: string; }>; /** * The ID of the Sentinel Watchlist that this Item resides in. Changing this forces a new Sentinel Watchlist Item to be created. */ readonly watchlistId: pulumi.Output; /** * Create a WatchlistItem 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: WatchlistItemArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering WatchlistItem resources. */ export interface WatchlistItemState { /** * The name in UUID format which should be used for this Sentinel Watchlist Item. Changing this forces a new Sentinel Watchlist Item to be created. */ name?: pulumi.Input; /** * The key value pairs of the Sentinel Watchlist Item. */ properties?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of the Sentinel Watchlist that this Item resides in. Changing this forces a new Sentinel Watchlist Item to be created. */ watchlistId?: pulumi.Input; } /** * The set of arguments for constructing a WatchlistItem resource. */ export interface WatchlistItemArgs { /** * The name in UUID format which should be used for this Sentinel Watchlist Item. Changing this forces a new Sentinel Watchlist Item to be created. */ name?: pulumi.Input; /** * The key value pairs of the Sentinel Watchlist Item. */ properties: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The ID of the Sentinel Watchlist that this Item resides in. Changing this forces a new Sentinel Watchlist Item to be created. */ watchlistId: pulumi.Input; }