Interface ResourceProviders


  • public interface ResourceProviders
    Resource collection API of ResourceProviders.
    • Method Detail

      • resources

        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resourcesWithResponse

        com.azure.core.http.rest.Response<QueryResponse> resourcesWithResponse​(QueryRequest query,
                                                                               com.azure.core.util.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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.