public interface UsagesClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.http.rest.PagedIterable<UsageInner> |
list(String location)
Gets, for the specified location, the current compute resource usage information as well as the limits for
compute resources under the subscription.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
list(String location,
com.azure.core.util.Context context)
Gets, for the specified location, the current compute resource usage information as well as the limits for
compute resources under the subscription.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listAsync(String location)
Gets, for the specified location, the current compute resource usage information as well as the limits for
compute resources under the subscription.
|
com.azure.core.http.rest.PagedFlux<UsageInner> listAsync(String location)
location
- The location for which resource usage is queried.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.com.azure.core.http.rest.PagedIterable<UsageInner> list(String location)
location
- The location for which resource usage is queried.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.com.azure.core.http.rest.PagedIterable<UsageInner> list(String location, com.azure.core.util.Context context)
location
- The location for which resource usage is queried.context
- The context to associate with this operation.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.Copyright © 2020 Microsoft Corporation. All rights reserved.