Interface SavedSearch
public interface SavedSearch
An immutable client-side representation of SavedSearch.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the SavedSearch definition.static interface
The SavedSearch definition stages.static interface
The template for SavedSearch update.static interface
The SavedSearch update stages. -
Method Summary
Modifier and TypeMethodDescriptioncategory()
Gets the category property: The category of the saved search.Gets the displayName property: Saved search display name.etag()
Gets the etag property: The ETag of the saved search.Gets the functionAlias property: The function alias if query serves as a function.Gets the functionParameters property: The optional function parameters if query serves as a function.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchInner object.name()
Gets the name property: The name of the resource.query()
Gets the query property: The query expression for the saved search.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.tags()
Gets the tags property: The tags attached to the saved search.type()
Gets the type property: The type of the resource.update()
Begins update for the SavedSearch resource.version()
Gets the version property: The version number of the query language.
-
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: The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag.- Returns:
- the etag value.
-
category
String category()Gets the category property: The category of the saved search. This helps the user to find a saved search faster.- Returns:
- the category value.
-
displayName
String displayName()Gets the displayName property: Saved search display name.- Returns:
- the displayName value.
-
query
String query()Gets the query property: The query expression for the saved search.- Returns:
- the query value.
-
functionAlias
String functionAlias()Gets the functionAlias property: The function alias if query serves as a function.- Returns:
- the functionAlias value.
-
functionParameters
String functionParameters()Gets the functionParameters property: The optional function parameters if query serves as a function. Value should be in the following format: 'param-name1:type1 = default_value1, param-name2:type2 = default_value2'. For more examples and proper syntax please refer to https://docs.microsoft.com/en-us/azure/kusto/query/functions/user-defined-functions.- Returns:
- the functionParameters value.
-
version
Long version()Gets the version property: The version number of the query language. The current version is 2 and is the default.- Returns:
- the version value.
-
tags
Gets the tags property: The tags attached to the saved search.- Returns:
- the tags value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
SavedSearchInner innerModel()Gets the inner com.azure.resourcemanager.loganalytics.fluent.models.SavedSearchInner object.- Returns:
- the inner object.
-
update
SavedSearch.Update update()Begins update for the SavedSearch resource.- Returns:
- the stage of resource update.
-
refresh
SavedSearch 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.
-