azure-native.securityinsights.getWatchlist
Explore with Pulumi AI
Get a watchlist, without its watchlist items. Azure REST API version: 2023-02-01.
Other available API versions: 2019-01-01-preview, 2021-03-01-preview, 2021-04-01, 2021-10-01-preview, 2022-01-01-preview, 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, 2024-04-01-preview, 2024-09-01, 2024-10-01-preview, 2025-01-01-preview.
Using getWatchlist
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWatchlist(args: GetWatchlistArgs, opts?: InvokeOptions): Promise<GetWatchlistResult>
function getWatchlistOutput(args: GetWatchlistOutputArgs, opts?: InvokeOptions): Output<GetWatchlistResult>def get_watchlist(resource_group_name: Optional[str] = None,
                  watchlist_alias: Optional[str] = None,
                  workspace_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetWatchlistResult
def get_watchlist_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                  watchlist_alias: Optional[pulumi.Input[str]] = None,
                  workspace_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetWatchlistResult]func LookupWatchlist(ctx *Context, args *LookupWatchlistArgs, opts ...InvokeOption) (*LookupWatchlistResult, error)
func LookupWatchlistOutput(ctx *Context, args *LookupWatchlistOutputArgs, opts ...InvokeOption) LookupWatchlistResultOutput> Note: This function is named LookupWatchlist in the Go SDK.
public static class GetWatchlist 
{
    public static Task<GetWatchlistResult> InvokeAsync(GetWatchlistArgs args, InvokeOptions? opts = null)
    public static Output<GetWatchlistResult> Invoke(GetWatchlistInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetWatchlistResult> getWatchlist(GetWatchlistArgs args, InvokeOptions options)
public static Output<GetWatchlistResult> getWatchlist(GetWatchlistArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:securityinsights:getWatchlist
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WatchlistAlias string
- The watchlist alias
- WorkspaceName string
- The name of the workspace.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- WatchlistAlias string
- The watchlist alias
- WorkspaceName string
- The name of the workspace.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- watchlistAlias String
- The watchlist alias
- workspaceName String
- The name of the workspace.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- watchlistAlias string
- The watchlist alias
- workspaceName string
- The name of the workspace.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- watchlist_alias str
- The watchlist alias
- workspace_name str
- The name of the workspace.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- watchlistAlias String
- The watchlist alias
- workspaceName String
- The name of the workspace.
getWatchlist Result
The following output properties are available:
- DisplayName string
- The display name of the watchlist
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- ItemsSearch stringKey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- Name string
- The name of the resource
- Provider string
- The provider of the watchlist
- Source string
- The source of the watchlist
- SystemData Pulumi.Azure Native. Security Insights. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ContentType string
- The content type of the raw content. For now, only text/csv is valid
- Created string
- The time the watchlist was created
- CreatedBy Pulumi.Azure Native. Security Insights. Outputs. Watchlist User Info Response 
- Describes a user that created the watchlist
- DefaultDuration string
- The default duration of a watchlist (in ISO 8601 duration format)
- Description string
- A description of the watchlist
- Etag string
- Etag of the azure resource
- IsDeleted bool
- A flag that indicates if the watchlist is deleted or not
- Labels List<string>
- List of labels relevant to this watchlist
- NumberOf intLines To Skip 
- The number of lines in a csv content to skip before the header
- RawContent string
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- TenantId string
- The tenantId where the watchlist belongs to
- Updated string
- The last time the watchlist was updated
- UpdatedBy Pulumi.Azure Native. Security Insights. Outputs. Watchlist User Info Response 
- Describes a user that updated the watchlist
- UploadStatus string
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- WatchlistAlias string
- The alias of the watchlist
- WatchlistId string
- The id (a Guid) of the watchlist
- WatchlistType string
- The type of the watchlist
- DisplayName string
- The display name of the watchlist
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- ItemsSearch stringKey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- Name string
- The name of the resource
- Provider string
- The provider of the watchlist
- Source string
- The source of the watchlist
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ContentType string
- The content type of the raw content. For now, only text/csv is valid
- Created string
- The time the watchlist was created
- CreatedBy WatchlistUser Info Response 
- Describes a user that created the watchlist
- DefaultDuration string
- The default duration of a watchlist (in ISO 8601 duration format)
- Description string
- A description of the watchlist
- Etag string
- Etag of the azure resource
- IsDeleted bool
- A flag that indicates if the watchlist is deleted or not
- Labels []string
- List of labels relevant to this watchlist
- NumberOf intLines To Skip 
- The number of lines in a csv content to skip before the header
- RawContent string
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- TenantId string
- The tenantId where the watchlist belongs to
- Updated string
- The last time the watchlist was updated
- UpdatedBy WatchlistUser Info Response 
- Describes a user that updated the watchlist
- UploadStatus string
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- WatchlistAlias string
- The alias of the watchlist
- WatchlistId string
- The id (a Guid) of the watchlist
- WatchlistType string
- The type of the watchlist
- displayName String
- The display name of the watchlist
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- itemsSearch StringKey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- name String
- The name of the resource
- provider String
- The provider of the watchlist
- source String
- The source of the watchlist
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- contentType String
- The content type of the raw content. For now, only text/csv is valid
- created String
- The time the watchlist was created
- createdBy WatchlistUser Info Response 
- Describes a user that created the watchlist
- defaultDuration String
- The default duration of a watchlist (in ISO 8601 duration format)
- description String
- A description of the watchlist
- etag String
- Etag of the azure resource
- isDeleted Boolean
- A flag that indicates if the watchlist is deleted or not
- labels List<String>
- List of labels relevant to this watchlist
- numberOf IntegerLines To Skip 
- The number of lines in a csv content to skip before the header
- rawContent String
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenantId String
- The tenantId where the watchlist belongs to
- updated String
- The last time the watchlist was updated
- updatedBy WatchlistUser Info Response 
- Describes a user that updated the watchlist
- uploadStatus String
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlistAlias String
- The alias of the watchlist
- watchlistId String
- The id (a Guid) of the watchlist
- watchlistType String
- The type of the watchlist
- displayName string
- The display name of the watchlist
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- itemsSearch stringKey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- name string
- The name of the resource
- provider string
- The provider of the watchlist
- source string
- The source of the watchlist
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- contentType string
- The content type of the raw content. For now, only text/csv is valid
- created string
- The time the watchlist was created
- createdBy WatchlistUser Info Response 
- Describes a user that created the watchlist
- defaultDuration string
- The default duration of a watchlist (in ISO 8601 duration format)
- description string
- A description of the watchlist
- etag string
- Etag of the azure resource
- isDeleted boolean
- A flag that indicates if the watchlist is deleted or not
- labels string[]
- List of labels relevant to this watchlist
- numberOf numberLines To Skip 
- The number of lines in a csv content to skip before the header
- rawContent string
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenantId string
- The tenantId where the watchlist belongs to
- updated string
- The last time the watchlist was updated
- updatedBy WatchlistUser Info Response 
- Describes a user that updated the watchlist
- uploadStatus string
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlistAlias string
- The alias of the watchlist
- watchlistId string
- The id (a Guid) of the watchlist
- watchlistType string
- The type of the watchlist
- display_name str
- The display name of the watchlist
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- items_search_ strkey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- name str
- The name of the resource
- provider str
- The provider of the watchlist
- source str
- The source of the watchlist
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- content_type str
- The content type of the raw content. For now, only text/csv is valid
- created str
- The time the watchlist was created
- created_by WatchlistUser Info Response 
- Describes a user that created the watchlist
- default_duration str
- The default duration of a watchlist (in ISO 8601 duration format)
- description str
- A description of the watchlist
- etag str
- Etag of the azure resource
- is_deleted bool
- A flag that indicates if the watchlist is deleted or not
- labels Sequence[str]
- List of labels relevant to this watchlist
- number_of_ intlines_ to_ skip 
- The number of lines in a csv content to skip before the header
- raw_content str
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenant_id str
- The tenantId where the watchlist belongs to
- updated str
- The last time the watchlist was updated
- updated_by WatchlistUser Info Response 
- Describes a user that updated the watchlist
- upload_status str
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlist_alias str
- The alias of the watchlist
- watchlist_id str
- The id (a Guid) of the watchlist
- watchlist_type str
- The type of the watchlist
- displayName String
- The display name of the watchlist
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- itemsSearch StringKey 
- The search key is used to optimize query performance when using watchlists for joins with other data. For example, enable a column with IP addresses to be the designated SearchKey field, then use this field as the key field when joining to other event data by IP address.
- name String
- The name of the resource
- provider String
- The provider of the watchlist
- source String
- The source of the watchlist
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- contentType String
- The content type of the raw content. For now, only text/csv is valid
- created String
- The time the watchlist was created
- createdBy Property Map
- Describes a user that created the watchlist
- defaultDuration String
- The default duration of a watchlist (in ISO 8601 duration format)
- description String
- A description of the watchlist
- etag String
- Etag of the azure resource
- isDeleted Boolean
- A flag that indicates if the watchlist is deleted or not
- labels List<String>
- List of labels relevant to this watchlist
- numberOf NumberLines To Skip 
- The number of lines in a csv content to skip before the header
- rawContent String
- The raw content that represents to watchlist items to create. Example : This line will be skipped header1,header2 value1,value2
- tenantId String
- The tenantId where the watchlist belongs to
- updated String
- The last time the watchlist was updated
- updatedBy Property Map
- Describes a user that updated the watchlist
- uploadStatus String
- The status of the Watchlist upload : New, InProgress or Complete. Note : When a Watchlist upload status is InProgress, the Watchlist cannot be deleted
- watchlistAlias String
- The alias of the watchlist
- watchlistId String
- The id (a Guid) of the watchlist
- watchlistType String
- The type of the watchlist
Supporting Types
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
WatchlistUserInfoResponse   
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0