Interface ResourceProvidersClient
-
public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QueryResponseInner
resources(QueryRequest query)
Queries the resources managed by Azure Resource Manager for scopes specified in the request.com.azure.core.http.rest.Response<QueryResponseInner>
resourcesWithResponse(QueryRequest query, com.azure.core.util.Context context)
Queries the resources managed by Azure Resource Manager for scopes specified in the request.
-
-
-
Method Detail
-
resources
QueryResponseInner 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<QueryResponseInner> 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.
-
-