Freigeben über


ArmOperationalInsightsModelFactory.LogAnalyticsQueryData Method

Definition

Initializes a new instance of LogAnalyticsQueryData.

public static Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData LogAnalyticsQueryData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Guid? applicationId = default, string displayName = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, string author = default, string description = default, string body = default, Azure.ResourceManager.OperationalInsights.Models.LogAnalyticsQueryRelatedMetadata related = default, System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> tags = default, BinaryData properties = default);
static member LogAnalyticsQueryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * string * Azure.ResourceManager.OperationalInsights.Models.LogAnalyticsQueryRelatedMetadata * System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>> * BinaryData -> Azure.ResourceManager.OperationalInsights.LogAnalyticsQueryData
Public Shared Function LogAnalyticsQueryData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional applicationId As Nullable(Of Guid) = Nothing, Optional displayName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional author As String = Nothing, Optional description As String = Nothing, Optional body As String = Nothing, Optional related As LogAnalyticsQueryRelatedMetadata = Nothing, Optional tags As IDictionary(Of String, IList(Of String)) = Nothing, Optional properties As BinaryData = Nothing) As LogAnalyticsQueryData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

applicationId
Nullable<Guid>

The unique ID of your application. This field cannot be changed.

displayName
String

Unique display name for your query within the Query Pack.

createdOn
Nullable<DateTimeOffset>

Creation Date for the Log Analytics Query, in ISO 8601 format.

modifiedOn
Nullable<DateTimeOffset>

Last modified date of the Log Analytics Query, in ISO 8601 format.

author
String

Object Id of user creating the query.

description
String

Description of the query.

body
String

Body of the query.

related
LogAnalyticsQueryRelatedMetadata

The related metadata items for the function.

tags
IDictionary<String,IList<String>>

Tags associated with the query.

properties
BinaryData

Additional properties that can be set for the query.

Returns

A new LogAnalyticsQueryData instance for mocking.

Applies to