Class LogAnalyticsInputBase

java.lang.Object
com.azure.resourcemanager.compute.models.LogAnalyticsInputBase
Direct Known Subclasses:
RequestRateByIntervalInput, ThrottledRequestsInput

public class LogAnalyticsInputBase extends Object
Api input base class for LogAnalytics Api.
  • Constructor Details

    • LogAnalyticsInputBase

      public LogAnalyticsInputBase()
  • Method Details

    • blobContainerSasUri

      public String blobContainerSasUri()
      Get the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
      Returns:
      the blobContainerSasUri value.
    • withBlobContainerSasUri

      public LogAnalyticsInputBase withBlobContainerSasUri(String blobContainerSasUri)
      Set the blobContainerSasUri property: SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
      Parameters:
      blobContainerSasUri - the blobContainerSasUri value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • fromTime

      public OffsetDateTime fromTime()
      Get the fromTime property: From time of the query.
      Returns:
      the fromTime value.
    • withFromTime

      public LogAnalyticsInputBase withFromTime(OffsetDateTime fromTime)
      Set the fromTime property: From time of the query.
      Parameters:
      fromTime - the fromTime value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • toTime

      public OffsetDateTime toTime()
      Get the toTime property: To time of the query.
      Returns:
      the toTime value.
    • withToTime

      public LogAnalyticsInputBase withToTime(OffsetDateTime toTime)
      Set the toTime property: To time of the query.
      Parameters:
      toTime - the toTime value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • groupByThrottlePolicy

      public Boolean groupByThrottlePolicy()
      Get the groupByThrottlePolicy property: Group query result by Throttle Policy applied.
      Returns:
      the groupByThrottlePolicy value.
    • withGroupByThrottlePolicy

      public LogAnalyticsInputBase withGroupByThrottlePolicy(Boolean groupByThrottlePolicy)
      Set the groupByThrottlePolicy property: Group query result by Throttle Policy applied.
      Parameters:
      groupByThrottlePolicy - the groupByThrottlePolicy value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • groupByOperationName

      public Boolean groupByOperationName()
      Get the groupByOperationName property: Group query result by Operation Name.
      Returns:
      the groupByOperationName value.
    • withGroupByOperationName

      public LogAnalyticsInputBase withGroupByOperationName(Boolean groupByOperationName)
      Set the groupByOperationName property: Group query result by Operation Name.
      Parameters:
      groupByOperationName - the groupByOperationName value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • groupByResourceName

      public Boolean groupByResourceName()
      Get the groupByResourceName property: Group query result by Resource Name.
      Returns:
      the groupByResourceName value.
    • withGroupByResourceName

      public LogAnalyticsInputBase withGroupByResourceName(Boolean groupByResourceName)
      Set the groupByResourceName property: Group query result by Resource Name.
      Parameters:
      groupByResourceName - the groupByResourceName value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • groupByClientApplicationId

      public Boolean groupByClientApplicationId()
      Get the groupByClientApplicationId property: Group query result by Client Application ID.
      Returns:
      the groupByClientApplicationId value.
    • withGroupByClientApplicationId

      public LogAnalyticsInputBase withGroupByClientApplicationId(Boolean groupByClientApplicationId)
      Set the groupByClientApplicationId property: Group query result by Client Application ID.
      Parameters:
      groupByClientApplicationId - the groupByClientApplicationId value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • groupByUserAgent

      public Boolean groupByUserAgent()
      Get the groupByUserAgent property: Group query result by User Agent.
      Returns:
      the groupByUserAgent value.
    • withGroupByUserAgent

      public LogAnalyticsInputBase withGroupByUserAgent(Boolean groupByUserAgent)
      Set the groupByUserAgent property: Group query result by User Agent.
      Parameters:
      groupByUserAgent - the groupByUserAgent value to set.
      Returns:
      the LogAnalyticsInputBase object itself.
    • validate

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