Class LogAnalyticsIdentifier

java.lang.Object
com.azure.resourcemanager.security.models.ResourceIdentifier
com.azure.resourcemanager.security.models.LogAnalyticsIdentifier

public final class LogAnalyticsIdentifier extends ResourceIdentifier
Represents a Log Analytics workspace scope identifier.
  • Constructor Details

    • LogAnalyticsIdentifier

      public LogAnalyticsIdentifier()
  • Method Details

    • workspaceId

      public String workspaceId()
      Get the workspaceId property: The LogAnalytics workspace id that stores this alert.
      Returns:
      the workspaceId value.
    • workspaceSubscriptionId

      public String workspaceSubscriptionId()
      Get the workspaceSubscriptionId property: The azure subscription id for the LogAnalytics workspace storing this alert.
      Returns:
      the workspaceSubscriptionId value.
    • workspaceResourceGroup

      public String workspaceResourceGroup()
      Get the workspaceResourceGroup property: The azure resource group for the LogAnalytics workspace storing this alert.
      Returns:
      the workspaceResourceGroup value.
    • 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:
      validate in class ResourceIdentifier
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.