LogAnalyticsQueryPackQueryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. loganalytics. fluent. models. LogAnalyticsQueryPackQueryInner
- com.
- com.
public final class LogAnalyticsQueryPackQueryInner
extends ProxyResource
A Log Analytics QueryPack-Query definition.
Constructor Summary
| Constructor | Description |
|---|---|
| LogAnalyticsQueryPackQueryInner() |
Creates an instance of Log |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
author()
Get the author property: Object Id of user creating the query. |
| String |
body()
Get the body property: Body of the query. |
| String |
description()
Get the description property: Description of the query. |
| String |
displayName()
Get the display |
|
static
Log |
fromJson(JsonReader jsonReader)
Reads an instance of Log |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
idPropertiesId()
Get the id property: The unique ID of your application. |
| String |
name()
Get the name property: The name of the resource. |
| Object |
properties()
Get the properties property: Additional properties that can be set for the query. |
|
Log |
related()
Get the related property: The related metadata items for the function. |
|
System |
systemData()
Get the system |
| Map<String,List<String>> |
tags()
Get the tags property: Tags associated with the query. |
|
Offset |
timeCreated()
Get the time |
|
Offset |
timeModified()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Log |
withBody(String body)
Set the body property: Body of the query. |
|
Log |
withDescription(String description)
Set the description property: Description of the query. |
|
Log |
withDisplayName(String displayName)
Set the display |
|
Log |
withProperties(Object properties)
Set the properties property: Additional properties that can be set for the query. |
|
Log |
withRelated(LogAnalyticsQueryPackQueryPropertiesRelated related)
Set the related property: The related metadata items for the function. |
|
Log |
withTags(Map<String,List<String>> tags)
Set the tags property: Tags associated with the query. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
LogAnalyticsQueryPackQueryInner
public LogAnalyticsQueryPackQueryInner()
Creates an instance of LogAnalyticsQueryPackQueryInner class.
Method Details
author
public String author()
Get the author property: Object Id of user creating the query.
Returns:
body
public String body()
Get the body property: Body of the query.
Returns:
description
public String description()
Get the description property: Description of the query.
Returns:
displayName
public String displayName()
Get the displayName property: Unique display name for your query within the Query Pack.
Returns:
fromJson
public static LogAnalyticsQueryPackQueryInner fromJson(JsonReader jsonReader)
Reads an instance of LogAnalyticsQueryPackQueryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
LogAnalyticsQueryPackQueryInner.id()Returns:
idPropertiesId
public String idPropertiesId()
Get the id property: The unique ID of your application. This field cannot be changed.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
LogAnalyticsQueryPackQueryInner.name()Returns:
properties
public Object properties()
Get the properties property: Additional properties that can be set for the query.
Returns:
related
public LogAnalyticsQueryPackQueryPropertiesRelated related()
Get the related property: The related metadata items for the function.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,List<String>> tags()
Get the tags property: Tags associated with the query.
Returns:
timeCreated
public OffsetDateTime timeCreated()
Get the timeCreated property: Creation Date for the Log Analytics Query, in ISO 8601 format.
Returns:
timeModified
public OffsetDateTime timeModified()
Get the timeModified property: Last modified date of the Log Analytics Query, in ISO 8601 format.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
LogAnalyticsQueryPackQueryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
LogAnalyticsQueryPackQueryInner.type()Returns:
withBody
public LogAnalyticsQueryPackQueryInner withBody(String body)
Set the body property: Body of the query.
Parameters:
Returns:
withDescription
public LogAnalyticsQueryPackQueryInner withDescription(String description)
Set the description property: Description of the query.
Parameters:
Returns:
withDisplayName
public LogAnalyticsQueryPackQueryInner withDisplayName(String displayName)
Set the displayName property: Unique display name for your query within the Query Pack.
Parameters:
Returns:
withProperties
public LogAnalyticsQueryPackQueryInner withProperties(Object properties)
Set the properties property: Additional properties that can be set for the query.
Parameters:
Returns:
withRelated
public LogAnalyticsQueryPackQueryInner withRelated(LogAnalyticsQueryPackQueryPropertiesRelated related)
Set the related property: The related metadata items for the function.
Parameters:
Returns:
withTags
public LogAnalyticsQueryPackQueryInner withTags(Map<String,List<String>> tags)
Set the tags property: Tags associated with the query.
Parameters:
Returns: