QueryRequest Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
QueryRequest()
Initializes a new instance of the QueryRequest class.
public QueryRequest ();
Public Sub New ()
Applies to
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.
public QueryRequest (System.Collections.Generic.IList<string> subscriptions, string query, Microsoft.Azure.Management.ResourceGraph.Models.QueryRequestOptions options = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceGraph.Models.FacetRequest> facets = default);
new Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest : System.Collections.Generic.IList<string> * string * Microsoft.Azure.Management.ResourceGraph.Models.QueryRequestOptions * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceGraph.Models.FacetRequest> -> Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest
Public Sub New (subscriptions As IList(Of String), query As String, Optional options As QueryRequestOptions = Nothing, Optional facets As IList(Of FacetRequest) = Nothing)
Parameters
- query
- String
The resources query.
- options
- QueryRequestOptions
The query evaluation options
- facets
- IList<FacetRequest>
An array of facet requests to be computed against the query result.
Applies to
QueryRequest(String, IList<String>, IList<String>, QueryRequestOptions, IList<FacetRequest>)
Initializes a new instance of the QueryRequest class.
public QueryRequest (string query, System.Collections.Generic.IList<string> subscriptions = default, System.Collections.Generic.IList<string> managementGroups = default, Microsoft.Azure.Management.ResourceGraph.Models.QueryRequestOptions options = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceGraph.Models.FacetRequest> facets = default);
new Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.ResourceGraph.Models.QueryRequestOptions * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceGraph.Models.FacetRequest> -> Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest
Public Sub New (query As String, Optional subscriptions As IList(Of String) = Nothing, Optional managementGroups As IList(Of String) = Nothing, Optional options As QueryRequestOptions = Nothing, Optional facets As IList(Of FacetRequest) = Nothing)
Parameters
- query
- String
The resources query.
Azure management groups against which to execute the query. Example: [ 'mg1', 'mg2' ]
- options
- QueryRequestOptions
The query evaluation options
- facets
- IList<FacetRequest>
An array of facet requests to be computed against the query result.
Applies to
Azure SDK for .NET