Class LogAnalyticsQueryPackProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.LogAnalyticsQueryPackProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<LogAnalyticsQueryPackProperties>

public final class LogAnalyticsQueryPackProperties extends Object implements com.azure.json.JsonSerializable<LogAnalyticsQueryPackProperties>
Properties that define a Log Analytics QueryPack resource.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of LogAnalyticsQueryPackProperties class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of LogAnalyticsQueryPackProperties from the JsonReader.
    Get the provisioningState property: Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined.
    Get the queryPackId property: The unique ID of your application.
    Get the timeCreated property: Creation Date for the Log Analytics QueryPack, in ISO 8601 format.
    Get the timeModified property: Last modified date of the Log Analytics QueryPack, in ISO 8601 format.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • LogAnalyticsQueryPackProperties

      public LogAnalyticsQueryPackProperties()
      Creates an instance of LogAnalyticsQueryPackProperties class.
  • Method Details

    • queryPackId

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

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

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

      public String provisioningState()
      Get the provisioningState property: Current state of this QueryPack: whether or not is has been provisioned within the resource group it is defined. Users cannot change this value but are able to read from it. Values will include Succeeded, Deploying, Canceled, and Failed.
      Returns:
      the provisioningState value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<LogAnalyticsQueryPackProperties>
      Throws:
      IOException
    • fromJson

      public static LogAnalyticsQueryPackProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of LogAnalyticsQueryPackProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of LogAnalyticsQueryPackProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the LogAnalyticsQueryPackProperties.