ResourceGraphClientExtensions.Resources(IResourceGraphClient, QueryRequest) Method

Definition

Queries the resources managed by Azure Resource Manager for scopes specified in the request. https://aka.ms/resource-graph/learntoquery

public static Microsoft.Azure.Management.ResourceGraph.Models.QueryResponse Resources (this Microsoft.Azure.Management.ResourceGraph.IResourceGraphClient operations, Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest query);
static member Resources : Microsoft.Azure.Management.ResourceGraph.IResourceGraphClient * Microsoft.Azure.Management.ResourceGraph.Models.QueryRequest -> Microsoft.Azure.Management.ResourceGraph.Models.QueryResponse
<Extension()>
Public Function Resources (operations As IResourceGraphClient, query As QueryRequest) As QueryResponse

Parameters

operations
IResourceGraphClient

The operations group for this extension method.

query
QueryRequest

Request specifying query and its options.

Returns

QueryResponse

Applies to