Interface UsagesClient
-
public interface UsagesClientAn instance of this class provides access to all the operations defined in UsagesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.http.rest.PagedIterable<UsageInner>listByLocation(String location)Gets the current usage count and the limit for the resources of the location under the subscription.com.azure.core.http.rest.PagedIterable<UsageInner>listByLocation(String location, com.azure.core.util.Context context)Gets the current usage count and the limit for the resources of the location under the subscription.com.azure.core.http.rest.PagedFlux<UsageInner>listByLocationAsync(String location)Gets the current usage count and the limit for the resources of the location under the subscription.
-
-
-
Method Detail
-
listByLocationAsync
com.azure.core.http.rest.PagedFlux<UsageInner> listByLocationAsync(String location)
Gets the current usage count and the limit for the resources of the location under the subscription.- Parameters:
location- The location of the Azure Storage resource.- Returns:
- the current usage count and the limit for the resources of the location under the subscription.
- 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.
-
listByLocation
com.azure.core.http.rest.PagedIterable<UsageInner> listByLocation(String location)
Gets the current usage count and the limit for the resources of the location under the subscription.- Parameters:
location- The location of the Azure Storage resource.- Returns:
- the current usage count and the limit for the resources of the location under the subscription.
- 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.
-
listByLocation
com.azure.core.http.rest.PagedIterable<UsageInner> listByLocation(String location, com.azure.core.util.Context context)
Gets the current usage count and the limit for the resources of the location under the subscription.- Parameters:
location- The location of the Azure Storage resource.context- The context to associate with this operation.- Returns:
- the current usage count and the limit for the resources of the location under the subscription.
- 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.
-
-