Interface UsageModels
public interface UsageModels
Resource collection API of UsageModels.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<UsageModel>
list()
Get the list of Cache Usage Models available to this subscription.com.azure.core.http.rest.PagedIterable<UsageModel>
list
(com.azure.core.util.Context context) Get the list of Cache Usage Models available to this subscription.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<UsageModel> list()Get the list of Cache Usage Models available to this subscription.- Returns:
- the list of Cache Usage Models available to this subscription as paginated response with
PagedIterable
. - Throws:
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.
-
list
Get the list of Cache Usage Models available to this subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- the list of Cache Usage Models available to this subscription as paginated response with
PagedIterable
. - 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.
-