Partager via


InsightQueryItemProperties Class

Definition

Represents Insight Query.

public class InsightQueryItemProperties : Azure.ResourceManager.SecurityInsights.Models.EntityQueryItemProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityInsights.Models.InsightQueryItemProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityInsights.Models.InsightQueryItemProperties>
type InsightQueryItemProperties = class
    inherit EntityQueryItemProperties
    interface IJsonModel<InsightQueryItemProperties>
    interface IPersistableModel<InsightQueryItemProperties>
Public Class InsightQueryItemProperties
Inherits EntityQueryItemProperties
Implements IJsonModel(Of InsightQueryItemProperties), IPersistableModel(Of InsightQueryItemProperties)
Inheritance
InsightQueryItemProperties
Implements

Properties

AdditionalQuery

The activity query definitions.

BaseQuery

The base query of the insight.

BeforeRange

Additional query time for looking back.

ChartQuery

The insight chart query.

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

DataTypes

Data types for template.

(Inherited from EntityQueryItemProperties)
DefaultTimeRange

The insight chart query.

Description

The insight description.

DisplayName

The insight display name.

EntitiesFilter

The query applied only to entities matching to all filters

To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from EntityQueryItemProperties)
InputEntityType

The type of the entity.

(Inherited from EntityQueryItemProperties)
RequiredInputFieldsSets

Data types for template.

(Inherited from EntityQueryItemProperties)
TableQuery

The insight table query.

Explicit Interface Implementations

IJsonModel<EntityQueryItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from EntityQueryItemProperties)
IJsonModel<EntityQueryItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from EntityQueryItemProperties)
IJsonModel<InsightQueryItemProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<InsightQueryItemProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EntityQueryItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from EntityQueryItemProperties)
IPersistableModel<EntityQueryItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from EntityQueryItemProperties)
IPersistableModel<EntityQueryItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from EntityQueryItemProperties)
IPersistableModel<InsightQueryItemProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InsightQueryItemProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<InsightQueryItemProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to