你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LogAnalyticsIdentifier Class

Definition

Represents a Log Analytics workspace scope identifier.

[Newtonsoft.Json.JsonObject("LogAnalytics")]
public class LogAnalyticsIdentifier : Microsoft.Azure.Management.Security.Models.ResourceIdentifier
[<Newtonsoft.Json.JsonObject("LogAnalytics")>]
type LogAnalyticsIdentifier = class
    inherit ResourceIdentifier
Public Class LogAnalyticsIdentifier
Inherits ResourceIdentifier
Inheritance
LogAnalyticsIdentifier
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

LogAnalyticsIdentifier()

Initializes a new instance of the LogAnalyticsIdentifier class.

LogAnalyticsIdentifier(String, String, String, String)

Initializes a new instance of the LogAnalyticsIdentifier class.

Properties

AgentId

Gets (optional) The LogAnalytics agent id reporting the event that this alert is based on.

WorkspaceId

Gets the LogAnalytics workspace id that stores this alert.

WorkspaceResourceGroup

Gets the azure resource group for the LogAnalytics workspace storing this alert

WorkspaceSubscriptionId

Gets the azure subscription id for the LogAnalytics workspace storing this alert.

Methods

Validate()

Validate the object.

Applies to