LogAnalyticsQueryPackQueryInner Class

public final class LogAnalyticsQueryPackQueryInner
extends ProxyResource

A Log Analytics QueryPack-Query definition.

Constructor Summary

Constructor Description
LogAnalyticsQueryPackQueryInner()

Creates an instance of LogAnalyticsQueryPackQueryInner class.

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 displayName property: Unique display name for your query within the Query Pack.

static LogAnalyticsQueryPackQueryInner fromJson(JsonReader jsonReader)

Reads an instance of LogAnalyticsQueryPackQueryInner from the JsonReader.

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.

LogAnalyticsQueryPackQueryPropertiesRelated related()

Get the related property: The related metadata items for the function.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,List<String>> tags()

Get the tags property: Tags associated with the query.

OffsetDateTime timeCreated()

Get the timeCreated property: Creation Date for the Log Analytics Query, in ISO 8601 format.

OffsetDateTime timeModified()

Get the timeModified property: Last modified date of the Log Analytics Query, in ISO 8601 format.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

LogAnalyticsQueryPackQueryInner withBody(String body)

Set the body property: Body of the query.

LogAnalyticsQueryPackQueryInner withDescription(String description)

Set the description property: Description of the query.

LogAnalyticsQueryPackQueryInner withDisplayName(String displayName)

Set the displayName property: Unique display name for your query within the Query Pack.

LogAnalyticsQueryPackQueryInner withProperties(Object properties)

Set the properties property: Additional properties that can be set for the query.

LogAnalyticsQueryPackQueryInner withRelated(LogAnalyticsQueryPackQueryPropertiesRelated related)

Set the related property: The related metadata items for the function.

LogAnalyticsQueryPackQueryInner 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:

the author value.

body

public String body()

Get the body property: Body of the query.

Returns:

the body value.

description

public String description()

Get the description property: Description of the query.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: Unique display name for your query within the Query Pack.

Returns:

the displayName value.

fromJson

public static LogAnalyticsQueryPackQueryInner fromJson(JsonReader jsonReader)

Reads an instance of LogAnalyticsQueryPackQueryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LogAnalyticsQueryPackQueryInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

LogAnalyticsQueryPackQueryInner.id()

Returns:

the id value.

idPropertiesId

public String idPropertiesId()

Get the id property: The unique ID of your application. This field cannot be changed.

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LogAnalyticsQueryPackQueryInner.name()

Returns:

the name value.

properties

public Object properties()

Get the properties property: Additional properties that can be set for the query.

Returns:

the properties value.

related

public LogAnalyticsQueryPackQueryPropertiesRelated related()

Get the related property: The related metadata items for the function.

Returns:

the related value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,List<String>> tags()

Get the tags property: Tags associated with the query.

Returns:

the tags value.

timeCreated

public OffsetDateTime timeCreated()

Get the timeCreated property: Creation Date for the Log Analytics Query, in ISO 8601 format.

Returns:

the timeCreated value.

timeModified

public OffsetDateTime timeModified()

Get the timeModified property: Last modified date of the Log Analytics Query, in ISO 8601 format.

Returns:

the timeModified value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LogAnalyticsQueryPackQueryInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LogAnalyticsQueryPackQueryInner.type()

Returns:

the type value.

withBody

public LogAnalyticsQueryPackQueryInner withBody(String body)

Set the body property: Body of the query.

Parameters:

body - the body value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

withDescription

public LogAnalyticsQueryPackQueryInner withDescription(String description)

Set the description property: Description of the query.

Parameters:

description - the description value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

withDisplayName

public LogAnalyticsQueryPackQueryInner withDisplayName(String displayName)

Set the displayName property: Unique display name for your query within the Query Pack.

Parameters:

displayName - the displayName value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

withProperties

public LogAnalyticsQueryPackQueryInner withProperties(Object properties)

Set the properties property: Additional properties that can be set for the query.

Parameters:

properties - the properties value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

withRelated

public LogAnalyticsQueryPackQueryInner withRelated(LogAnalyticsQueryPackQueryPropertiesRelated related)

Set the related property: The related metadata items for the function.

Parameters:

related - the related value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

withTags

public LogAnalyticsQueryPackQueryInner withTags(Map<String,List<String>> tags)

Set the tags property: Tags associated with the query.

Parameters:

tags - the tags value to set.

Returns:

the LogAnalyticsQueryPackQueryInner object itself.

Applies to