Class LogAnalyticsQueryPackQueryInner

java.lang.Object
com.azure.resourcemanager.loganalytics.models.AzureResourceProperties
com.azure.resourcemanager.loganalytics.fluent.models.LogAnalyticsQueryPackQueryInner

public final class LogAnalyticsQueryPackQueryInner extends AzureResourceProperties
A Log Analytics QueryPack-Query definition.
  • Constructor Details

    • LogAnalyticsQueryPackQueryInner

      public LogAnalyticsQueryPackQueryInner()
  • Method Details

    • idPropertiesId

      public String idPropertiesId()
      Get the id property: The unique ID of your application. This field cannot be changed.
      Returns:
      the id value.
    • displayName

      public String displayName()
      Get the displayName property: Unique display name for your query within the Query Pack.
      Returns:
      the displayName value.
    • withDisplayName

      public LogAnalyticsQueryPackQueryInner withDisplayName(String displayName)
      Set the displayName property: Unique display name for your query within the Query Pack.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • timeCreated

      public OffsetDateTime timeCreated()
      Get the timeCreated property: Creation Date for the Log Analytics Query, in ISO 8601 format.
      Returns:
      the timeCreated value.
    • timeModified

      public OffsetDateTime timeModified()
      Get the timeModified property: Last modified date of the Log Analytics Query, in ISO 8601 format.
      Returns:
      the timeModified value.
    • author

      public String author()
      Get the author property: Object Id of user creating the query.
      Returns:
      the author value.
    • description

      public String description()
      Get the description property: Description of the query.
      Returns:
      the description value.
    • withDescription

      public LogAnalyticsQueryPackQueryInner withDescription(String description)
      Set the description property: Description of the query.
      Parameters:
      description - the description value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • body

      public String body()
      Get the body property: Body of the query.
      Returns:
      the body value.
    • withBody

      public LogAnalyticsQueryPackQueryInner withBody(String body)
      Set the body property: Body of the query.
      Parameters:
      body - the body value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • related

      Get the related property: The related metadata items for the function.
      Returns:
      the related value.
    • withRelated

      Set the related property: The related metadata items for the function.
      Parameters:
      related - the related value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • tags

      public Map<String,List<String>> tags()
      Get the tags property: Tags associated with the query.
      Returns:
      the tags value.
    • withTags

      Set the tags property: Tags associated with the query.
      Parameters:
      tags - the tags value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • properties

      public Object properties()
      Get the properties property: Additional properties that can be set for the query.
      Returns:
      the properties value.
    • withProperties

      public LogAnalyticsQueryPackQueryInner withProperties(Object properties)
      Set the properties property: Additional properties that can be set for the query.
      Parameters:
      properties - the properties value to set.
      Returns:
      the LogAnalyticsQueryPackQueryInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AzureResourceProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.