LogAnalyticsIdentifier Class

public final class LogAnalyticsIdentifier
extends ResourceIdentifier

Represents a Log Analytics workspace scope identifier.

Constructor Summary

Constructor Description
LogAnalyticsIdentifier()

Creates an instance of LogAnalyticsIdentifier class.

Method Summary

Modifier and Type Method and Description
String agentId()

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

void validate()

Validates the instance.

String workspaceId()

Get the workspaceId property: The LogAnalytics workspace id that stores this alert.

String workspaceResourceGroup()

Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.

String workspaceSubscriptionId()

Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.

Methods inherited from ResourceIdentifier

Methods inherited from java.lang.Object

Constructor Details

LogAnalyticsIdentifier

public LogAnalyticsIdentifier()

Creates an instance of LogAnalyticsIdentifier class.

Method Details

agentId

public String agentId()

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

Returns:

the agentId value.

validate

public void validate()

Validates the instance.

Overrides:

LogAnalyticsIdentifier.validate()

workspaceId

public String workspaceId()

Get the workspaceId property: The LogAnalytics workspace id that stores this alert.

Returns:

the workspaceId value.

workspaceResourceGroup

public String workspaceResourceGroup()

Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.

Returns:

the workspaceResourceGroup value.

workspaceSubscriptionId

public String workspaceSubscriptionId()

Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.

Returns:

the workspaceSubscriptionId value.

Applies to