ArmOperationalInsightsModelFactory.OperationalInsightsSavedSearchData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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, Azure.ETag? eTag = default);
static member OperationalInsightsSavedSearchData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * Nullable<int64> * seq<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsTag> * Nullable<Azure.ETag> -> 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 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, Optional eTag As Nullable(Of ETag) = Nothing) As OperationalInsightsSavedSearchData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
The version number of the query language. The current version is 2 and is the default.
The tags attached to the saved search.
The ETag of the saved search. To override an existing saved search, use "*" or specify the current Etag.
Returns
A new OperationalInsightsSavedSearchData instance for mocking.
Exceptions
category, displayName or query is null.