QueryRequest Class
- java.
lang. Object - com.
microsoft. azure. management. resourcegraph. v2019_04_01.QueryRequest
- com.
public class QueryRequest
Describes a query to be executed.
Constructor Summary
Constructor | Description | |
---|---|---|
QueryRequest() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Facet |
facets()
Get an array of facet requests to be computed against the query result. |
Query |
options()
Get the query evaluation options. |
java.lang.String |
query()
Get the resources query. |
java.util.List<java.lang.String> |
subscriptions()
Get azure subscriptions against which to execute the query. |
Query |
withFacets(List<FacetRequest> facets)
Set an array of facet requests to be computed against the query result. |
Query |
withOptions(QueryRequestOptions options)
Set the query evaluation options. |
Query |
withQuery(String query)
Set the resources query. |
Query |
withSubscriptions(List<String> subscriptions)
Set azure subscriptions against which to execute the query. |
Methods inherited from java.lang.Object
Constructor Details
QueryRequest
public QueryRequest()
Method Details
facets
public List
Get an array of facet requests to be computed against the query result.
Returns:
options
public QueryRequestOptions options()
Get the query evaluation options.
Returns:
query
public String query()
Get the resources query.
Returns:
subscriptions
public List
Get azure subscriptions against which to execute the query.
Returns:
withFacets
public QueryRequest withFacets(List
Set an array of facet requests to be computed against the query result.
Parameters:
Returns:
withOptions
public QueryRequest withOptions(QueryRequestOptions options)
Set the query evaluation options.
Parameters:
Returns:
withQuery
public QueryRequest withQuery(String query)
Set the resources query.
Parameters:
Returns:
withSubscriptions
public QueryRequest withSubscriptions(List
Set azure subscriptions against which to execute the query.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for