Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.securityinsights;
import com.pulumi.azurenative.Utilities;
import com.pulumi.azurenative.securityinsights.WatchlistItemArgs;
import com.pulumi.azurenative.securityinsights.outputs.SystemDataResponse;
import com.pulumi.azurenative.securityinsights.outputs.WatchlistUserInfoResponse;
import com.pulumi.core.Alias;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Boolean;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Represents a Watchlist Item in Azure Security Insights.
* Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2021-03-01-preview.
*
* Other available API versions: 2021-04-01, 2023-06-01-preview, 2023-07-01-preview, 2023-08-01-preview, 2023-09-01-preview, 2023-10-01-preview, 2023-11-01, 2023-12-01-preview, 2024-01-01-preview, 2024-03-01.
*
* ## Example Usage
* ### Create or update a watchlist item.
*
*
*
* ## Import
*
* An existing resource can be imported using its type token, name, and identifier, e.g.
*
* ```sh
* $ pulumi import azure-native:securityinsights:WatchlistItem myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}
* ```
*
*/
@ResourceType(type="azure-native:securityinsights:WatchlistItem")
public class WatchlistItem extends com.pulumi.resources.CustomResource {
/**
* The time the watchlist item was created
*
*/
@Export(name="created", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> created;
/**
* @return The time the watchlist item was created
*
*/
public Output> created() {
return Codegen.optional(this.created);
}
/**
* Describes a user that created the watchlist item
*
*/
@Export(name="createdBy", refs={WatchlistUserInfoResponse.class}, tree="[0]")
private Output* @Nullable */ WatchlistUserInfoResponse> createdBy;
/**
* @return Describes a user that created the watchlist item
*
*/
public Output> createdBy() {
return Codegen.optional(this.createdBy);
}
/**
* key-value pairs for a watchlist item entity mapping
*
*/
@Export(name="entityMapping", refs={Object.class}, tree="[0]")
private Output* @Nullable */ Object> entityMapping;
/**
* @return key-value pairs for a watchlist item entity mapping
*
*/
public Output> entityMapping() {
return Codegen.optional(this.entityMapping);
}
/**
* Etag of the azure resource
*
*/
@Export(name="etag", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> etag;
/**
* @return Etag of the azure resource
*
*/
public Output> etag() {
return Codegen.optional(this.etag);
}
/**
* A flag that indicates if the watchlist item is deleted or not
*
*/
@Export(name="isDeleted", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> isDeleted;
/**
* @return A flag that indicates if the watchlist item is deleted or not
*
*/
public Output> isDeleted() {
return Codegen.optional(this.isDeleted);
}
/**
* key-value pairs for a watchlist item
*
*/
@Export(name="itemsKeyValue", refs={Object.class}, tree="[0]")
private Output