QueryRequest Class

Definition

Describes a query to be executed.

public class QueryRequest
type QueryRequest = class
Public Class QueryRequest
Inheritance
QueryRequest

Constructors

QueryRequest()

Initializes a new instance of the QueryRequest class.

QueryRequest(IList<String>, String, QueryRequestOptions, IList<FacetRequest>)

Initializes a new instance of the QueryRequest class. This constructor is used in the older versions of ResourceGraph package and is needed for the backward compatibility.

QueryRequest(String, IList<String>, IList<String>, QueryRequestOptions, IList<FacetRequest>)

Initializes a new instance of the QueryRequest class.

Properties

Facets

Gets or sets an array of facet requests to be computed against the query result.

ManagementGroups

Gets or sets azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ]

Options

Gets or sets the query evaluation options

Query

Gets or sets the resources query.

Subscriptions

Gets or sets azure subscriptions against which to execute the query.

Methods

Validate()

Validate the object.

Applies to