Interface Watchlist
public interface Watchlist
An immutable client-side representation of Watchlist.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the Watchlist definition.static interface
The Watchlist definition stages.static interface
The template for Watchlist update.static interface
The Watchlist update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the contentType property: The content type of the raw content.created()
Gets the created property: The time the watchlist was created.Gets the createdBy property: Describes a user that created the watchlist.Gets the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).Gets the description property: A description of the watchlist.Gets the displayName property: The display name of the watchlist.etag()
Gets the etag property: Etag of the azure resource.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.WatchlistInner object.Gets the isDeleted property: A flag that indicates if the watchlist is deleted or not.Gets the itemsSearchKey property: The search key is used to optimize query performance when using watchlists for joins with other data.labels()
Gets the labels property: List of labels relevant to this watchlist.name()
Gets the name property: The name of the resource.Gets the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.provider()
Gets the provider property: The provider of the watchlist.Gets the rawContent property: The raw content that represents to watchlist items to create.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.source()
Gets the source property: The filename of the watchlist, called 'source'.Gets the sourceType property: The sourceType of the watchlist.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tenantId()
Gets the tenantId property: The tenantId where the watchlist belongs to.type()
Gets the type property: The type of the resource.update()
Begins update for the Watchlist resource.updated()
Gets the updated property: The last time the watchlist was updated.Gets the updatedBy property: Describes a user that updated the watchlist.Gets the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete.Gets the watchlistAlias property: The alias of the watchlist.Gets the watchlistId property: The id (a Guid) of the watchlist.Gets the watchlistType property: The type of the watchlist.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
etag
String etag()Gets the etag property: Etag of the azure resource.- Returns:
- the etag value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
watchlistId
String watchlistId()Gets the watchlistId property: The id (a Guid) of the watchlist.- Returns:
- the watchlistId value.
-
displayName
String displayName()Gets the displayName property: The display name of the watchlist.- Returns:
- the displayName value.
-
provider
String provider()Gets the provider property: The provider of the watchlist.- Returns:
- the provider value.
-
source
String source()Gets the source property: The filename of the watchlist, called 'source'.- Returns:
- the source value.
-
sourceType
SourceType sourceType()Gets the sourceType property: The sourceType of the watchlist.- Returns:
- the sourceType value.
-
created
OffsetDateTime created()Gets the created property: The time the watchlist was created.- Returns:
- the created value.
-
updated
OffsetDateTime updated()Gets the updated property: The last time the watchlist was updated.- Returns:
- the updated value.
-
createdBy
UserInfo createdBy()Gets the createdBy property: Describes a user that created the watchlist.- Returns:
- the createdBy value.
-
updatedBy
UserInfo updatedBy()Gets the updatedBy property: Describes a user that updated the watchlist.- Returns:
- the updatedBy value.
-
description
String description()Gets the description property: A description of the watchlist.- Returns:
- the description value.
-
watchlistType
String watchlistType()Gets the watchlistType property: The type of the watchlist.- Returns:
- the watchlistType value.
-
watchlistAlias
String watchlistAlias()Gets the watchlistAlias property: The alias of the watchlist.- Returns:
- the watchlistAlias value.
-
isDeleted
Boolean isDeleted()Gets the isDeleted property: A flag that indicates if the watchlist is deleted or not.- Returns:
- the isDeleted value.
-
labels
Gets the labels property: List of labels relevant to this watchlist.- Returns:
- the labels value.
-
defaultDuration
Duration defaultDuration()Gets the defaultDuration property: The default duration of a watchlist (in ISO 8601 duration format).- Returns:
- the defaultDuration value.
-
tenantId
String tenantId()Gets the tenantId property: The tenantId where the watchlist belongs to.- Returns:
- the tenantId value.
-
numberOfLinesToSkip
Integer numberOfLinesToSkip()Gets the numberOfLinesToSkip property: The number of lines in a csv/tsv content to skip before the header.- Returns:
- the numberOfLinesToSkip value.
-
rawContent
String rawContent()Gets the rawContent property: The raw content that represents to watchlist items to create. In case of csv/tsv content type, it's the content of the file that will parsed by the endpoint.- Returns:
- the rawContent value.
-
itemsSearchKey
String itemsSearchKey()Gets the itemsSearchKey property: 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.- Returns:
- the itemsSearchKey value.
-
contentType
String contentType()Gets the contentType property: The content type of the raw content. Example : text/csv or text/tsv.- Returns:
- the contentType value.
-
uploadStatus
String uploadStatus()Gets the uploadStatus property: The status of the Watchlist upload : New, InProgress or Complete. Pls note : When a Watchlist upload status is equal to InProgress, the Watchlist cannot be deleted.- Returns:
- the uploadStatus value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
WatchlistInner innerModel()Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.WatchlistInner object.- Returns:
- the inner object.
-
update
Watchlist.Update update()Begins update for the Watchlist resource.- Returns:
- the stage of resource update.
-
refresh
Watchlist refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-