Class LogAnalyticsIdentifier
java.lang.Object
com.azure.resourcemanager.security.models.ResourceIdentifier
com.azure.resourcemanager.security.models.LogAnalyticsIdentifier
Represents a Log Analytics workspace scope identifier.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionagentId()
Get the agentId property: (optional) The LogAnalytics agent id reporting the event that this alert is based on.void
validate()
Validates the instance.Get the workspaceId property: The LogAnalytics workspace id that stores this alert.Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.
-
Constructor Details
-
LogAnalyticsIdentifier
public LogAnalyticsIdentifier()
-
-
Method Details
-
workspaceId
Get the workspaceId property: The LogAnalytics workspace id that stores this alert.- Returns:
- the workspaceId value.
-
workspaceSubscriptionId
Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.- Returns:
- the workspaceSubscriptionId value.
-
workspaceResourceGroup
Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.- Returns:
- the workspaceResourceGroup value.
-
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:
validate
in classResourceIdentifier
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-