Compartilhar via


ArmOperationalInsightsModelFactory.OperationalInsightsSavedSearchData Method

Definition

Initializes a new instance of OperationalInsightsSavedSearchData.

public static Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchData OperationalInsightsSavedSearchData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, string category = default, string displayName = default, string query = default, string functionAlias = default, string functionParameters = default, long? version = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTag> tags = default);
static member OperationalInsightsSavedSearchData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * string * string * string * string * Nullable<int64> * seq<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTag> -> Azure.ResourceManager.OperationalInsights.OperationalInsightsSavedSearchData
Public Shared Function OperationalInsightsSavedSearchData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional category As String = Nothing, Optional displayName As String = Nothing, Optional query As String = Nothing, Optional functionAlias As String = Nothing, Optional functionParameters As String = Nothing, Optional version As Nullable(Of Long) = Nothing, Optional tags As IEnumerable(Of OperationalInsightsTag) = Nothing) As OperationalInsightsSavedSearchData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

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

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.

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
IEnumerable<OperationalInsightsTag>

The tags attached to the saved search.

Returns

A new OperationalInsightsSavedSearchData instance for mocking.

Applies to