Share via


ArmSecurityCenterModelFactory.LogAnalyticsIdentifier Method

Definition

Initializes a new instance of LogAnalyticsIdentifier.

public static Azure.ResourceManager.SecurityCenter.Models.LogAnalyticsIdentifier LogAnalyticsIdentifier (Guid? workspaceId = default, string workspaceSubscriptionId = default, string workspaceResourceGroup = default, Guid? agentId = default);
static member LogAnalyticsIdentifier : Nullable<Guid> * string * string * Nullable<Guid> -> Azure.ResourceManager.SecurityCenter.Models.LogAnalyticsIdentifier
Public Shared Function LogAnalyticsIdentifier (Optional workspaceId As Nullable(Of Guid) = Nothing, Optional workspaceSubscriptionId As String = Nothing, Optional workspaceResourceGroup As String = Nothing, Optional agentId As Nullable(Of Guid) = Nothing) As LogAnalyticsIdentifier

Parameters

workspaceId
Nullable<Guid>

The LogAnalytics workspace id that stores this alert.

workspaceSubscriptionId
String

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

workspaceResourceGroup
String

The azure resource group for the LogAnalytics workspace storing this alert.

agentId
Nullable<Guid>

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

Returns

A new LogAnalyticsIdentifier instance for mocking.

Applies to