ResourceProviders Interface

public interface ResourceProviders

Resource collection API of ResourceProviders.

Method Summary

Modifier and Type Method and Description
abstract QueryResponse resources(QueryRequest query)

Queries the resources managed by Azure Resource Manager for scopes specified in the request.

abstract Response<QueryResponse> 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 resourcesWithResponse(QueryRequest query, Context context)

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>.

Applies to