SavedSearch Class

Definition

Value object for saved search results.

[Microsoft.Rest.Serialization.JsonTransformation]
public class SavedSearch : Microsoft.Azure.Management.OperationalInsights.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SavedSearch = class
    inherit ProxyResource
Public Class SavedSearch
Inherits ProxyResource
Inheritance
Attributes

Constructors

SavedSearch()

Initializes a new instance of the SavedSearch class.

SavedSearch(String, String, String, String, String, String, String, String, String, Nullable<Int64>, IList<Tag>)

Initializes a new instance of the SavedSearch class.

Properties

Category

Gets or sets the category of the saved search. This helps the user to find a saved search faster.

DisplayName

Gets or sets saved search display name.

Etag

Gets or sets the ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag

FunctionAlias

Gets or sets the function alias if query serves as a function.

FunctionParameters

Gets or sets 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.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
Query

Gets or sets the query expression for the saved search.

Tags

Gets or sets the tags attached to the saved search.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)
Version

Gets or sets the version number of the query language. The current version is 2 and is the default.

Methods

Validate()

Validate the object.

Applies to