Udostępnij za pośrednictwem


SavedSearch Constructors

Definition

Overloads

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.

SavedSearch()

Initializes a new instance of the SavedSearch class.

public SavedSearch ();
Public Sub New ()

Applies to

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

Initializes a new instance of the SavedSearch class.

public SavedSearch (string category, string displayName, string query, string id = default, string name = default, string type = default, string etag = default, string functionAlias = default, string functionParameters = default, long? version = default, System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.Tag> tags = default);
new Microsoft.Azure.Management.OperationalInsights.Models.SavedSearch : string * string * string * string * string * string * string * string * string * Nullable<int64> * System.Collections.Generic.IList<Microsoft.Azure.Management.OperationalInsights.Models.Tag> -> Microsoft.Azure.Management.OperationalInsights.Models.SavedSearch
Public Sub New (category As String, displayName As String, query As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional functionAlias As String = Nothing, Optional functionParameters As String = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional tags As IList(Of Tag) = Nothing)

Parameters

category
String

The category of the saved search. This helps the user to find a saved search faster.

displayName
String

Saved search display name.

query
String

The query expression for the saved search.

id
String

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

name
String

The name of the resource

type
String

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

etag
String

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

functionAlias
String

The function alias if query serves as a function.

functionParameters
String

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.

version
Nullable<Int64>

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

tags
IList<Tag>

The tags attached to the saved search.

Applies to