你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GraphQueryResource Class

Definition

Graph Query entity definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.GraphQueryResourceTypeConverter))]
public class GraphQueryResource : Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.IGraphQueryResource, Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.GraphQueryResourceTypeConverter))>]
type GraphQueryResource = class
    interface IGraphQueryResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class GraphQueryResource
Implements IGraphQueryResource, IValidates
Inheritance
GraphQueryResource
Attributes
Implements

Constructors

GraphQueryResource()

Creates an new GraphQueryResource instance.

Properties

Description

The description of a graph query.

Id

Azure resource Id

Location

The location of the resource

Name

Azure resource name. This is GUID value. The display name should be assigned within properties field.

Query

KQL query that will be graph.

ResultKind

Enum indicating a type of graph query.

Tag

Resource tags

TimeModified

Date and time in UTC of the last modification that was made to this graph query definition.

Type

Azure resource type

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GraphQueryResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GraphQueryResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ResourceGraph.Models.Api20180901Preview.IGraphQueryResource.

FromJsonString(String)

Creates a new instance of GraphQueryResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GraphQueryResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to