Class WorkspacePurgeBodyFilters
java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspacePurgeBodyFilters
User-defined filters to return data which will be purged from the table.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncolumn()
Get the column property: The column of the table over which the given query should run.key()
Get the key property: When filtering over custom dimensions, this key will be used as the name of the custom dimension.operator()
Get the operator property: A query operator to evaluate over the provided column and value(s).void
validate()
Validates the instance.value()
Get the value property: the value for the operator to function over.withColumn
(String column) Set the column property: The column of the table over which the given query should run.Set the key property: When filtering over custom dimensions, this key will be used as the name of the custom dimension.withOperator
(String operator) Set the operator property: A query operator to evaluate over the provided column and value(s).Set the value property: the value for the operator to function over.
-
Constructor Details
-
WorkspacePurgeBodyFilters
public WorkspacePurgeBodyFilters()
-
-
Method Details
-
column
Get the column property: The column of the table over which the given query should run.- Returns:
- the column value.
-
withColumn
Set the column property: The column of the table over which the given query should run.- Parameters:
column
- the column value to set.- Returns:
- the WorkspacePurgeBodyFilters object itself.
-
operator
Get the operator property: A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.- Returns:
- the operator value.
-
withOperator
Set the operator property: A query operator to evaluate over the provided column and value(s). Supported operators are ==, =~, in, in~, >, >=, <, <=, between, and have the same behavior as they would in a KQL query.- Parameters:
operator
- the operator value to set.- Returns:
- the WorkspacePurgeBodyFilters object itself.
-
value
Get the value property: the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values.- Returns:
- the value value.
-
withValue
Set the value property: the value for the operator to function over. This can be a number (e.g., > 100), a string (timestamp >= '2017-09-01') or array of values.- Parameters:
value
- the value value to set.- Returns:
- the WorkspacePurgeBodyFilters object itself.
-
key
Get the key property: When filtering over custom dimensions, this key will be used as the name of the custom dimension.- Returns:
- the key value.
-
withKey
Set the key property: When filtering over custom dimensions, this key will be used as the name of the custom dimension.- Parameters:
key
- the key value to set.- Returns:
- the WorkspacePurgeBodyFilters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-