你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmOperationalInsightsModelFactory.LogAnalyticsQueryData 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.
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
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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.