Share via


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