Interface UsagesClient
public interface UsagesClient
An instance of this class provides access to all the operations defined in UsagesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<QuotaInner>Get resource quotas and usage informationcom.azure.core.http.rest.PagedIterable<QuotaInner>Get resource quotas and usage information
-
Method Details
-
list
Get resource quotas and usage informationThis method returns region-specific quotas and resource usage information for the Database Migration Service.
- Parameters:
location- The Azure region of the operation.- Returns:
- oData page of quota objects 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.
-
list
com.azure.core.http.rest.PagedIterable<QuotaInner> list(String location, com.azure.core.util.Context context) Get resource quotas and usage informationThis method returns region-specific quotas and resource usage information for the Database Migration Service.
- Parameters:
location- The Azure region of the operation.context- The context to associate with this operation.- Returns:
- oData page of quota objects 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.
-