Class LogAnalyticsQueryPackQuerySearchProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.models.LogAnalyticsQueryPackQuerySearchProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchProperties>
public final class LogAnalyticsQueryPackQuerySearchProperties
extends Object
implements com.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchProperties>
Properties that define an Log Analytics QueryPack-Query search properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LogAnalyticsQueryPackQuerySearchProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LogAnalyticsQueryPackQuerySearchProperties from the JsonReader.related()Get the related property: The related metadata items for the function.tags()Get the tags property: Tags associated with the query.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Set the related property: The related metadata items for the function.Set the tags property: Tags associated with the query.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
-
LogAnalyticsQueryPackQuerySearchProperties
public LogAnalyticsQueryPackQuerySearchProperties()Creates an instance of LogAnalyticsQueryPackQuerySearchProperties class.
-
-
Method Details
-
withRelated
public LogAnalyticsQueryPackQuerySearchProperties withRelated(LogAnalyticsQueryPackQuerySearchPropertiesRelated related) Set the related property: The related metadata items for the function.- Parameters:
related- the related value to set.- Returns:
- the LogAnalyticsQueryPackQuerySearchProperties object itself.
-
tags
-
withTags
Set the tags property: Tags associated with the query.- Parameters:
tags- the tags value to set.- Returns:
- the LogAnalyticsQueryPackQuerySearchProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LogAnalyticsQueryPackQuerySearchProperties>- Throws:
IOException
-
fromJson
public static LogAnalyticsQueryPackQuerySearchProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of LogAnalyticsQueryPackQuerySearchProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of LogAnalyticsQueryPackQuerySearchProperties 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 LogAnalyticsQueryPackQuerySearchProperties.