ResourceProviders Interface
public interface ResourceProviders
Resource collection API of ResourceProviders.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Query |
resources(QueryRequest query)
Queries the resources managed by Azure Resource Manager for scopes specified in the request. |
abstract
Response<Query |
resourcesWithResponse(QueryRequest query, Context context)
Queries the resources managed by Azure Resource Manager for scopes specified in the request. |
Method Details
resources
public abstract QueryResponse resources(QueryRequest query)
Queries the resources managed by Azure Resource Manager for scopes specified in the request.
Parameters:
query
- Request specifying query and its options.
Returns:
query result.
resourcesWithResponse
public abstract Response
Queries the resources managed by Azure Resource Manager for scopes specified in the request.
Parameters:
query
- Request specifying query and its options.
context
- The context to associate with this operation.
Returns:
query result along with Response<T>.