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
ConstructorsConstructorDescriptionCreates an instance of LogAnalyticsQueryPackProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(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.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Get the queryPackId property: The unique ID of your application. This field cannot be changed.- Returns:
- the queryPackId value.
-
timeCreated
Get the timeCreated property: Creation Date for the Log Analytics QueryPack, in ISO 8601 format.- Returns:
- the timeCreated value.
-
timeModified
Get the timeModified property: Last modified date of the Log Analytics QueryPack, in ISO 8601 format.- Returns:
- the timeModified value.
-
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
- Specified by:
toJsonin interfacecom.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.
-