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<QuotaUsageResultInner> listBySubscription(String location) Get a list of all Azure AI Search quota usages across the subscription.com.azure.core.http.rest.PagedIterable<QuotaUsageResultInner> listBySubscription(String location, UUID clientRequestId, com.azure.core.util.Context context) Get a list of all Azure AI Search quota usages across the subscription.com.azure.core.http.rest.PagedFlux<QuotaUsageResultInner> listBySubscriptionAsync(String location) Get a list of all Azure AI Search quota usages across the subscription.com.azure.core.http.rest.PagedFlux<QuotaUsageResultInner> listBySubscriptionAsync(String location, UUID clientRequestId) Get a list of all Azure AI Search quota usages across the subscription.
-
Method Details
-
listBySubscriptionAsync
com.azure.core.http.rest.PagedFlux<QuotaUsageResultInner> listBySubscriptionAsync(String location, UUID clientRequestId) Get a list of all Azure AI Search quota usages across the subscription.- Parameters:
location- The unique location name for a Microsoft Azure geographic region.clientRequestId- A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.- Returns:
- a list of all Azure AI Search quota usages across the subscription as paginated response with
PagedFlux. - 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.
-
listBySubscriptionAsync
Get a list of all Azure AI Search quota usages across the subscription.- Parameters:
location- The unique location name for a Microsoft Azure geographic region.- Returns:
- a list of all Azure AI Search quota usages across the subscription as paginated response with
PagedFlux. - 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.
-
listBySubscription
Get a list of all Azure AI Search quota usages across the subscription.- Parameters:
location- The unique location name for a Microsoft Azure geographic region.- Returns:
- a list of all Azure AI Search quota usages across the 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.
-
listBySubscription
com.azure.core.http.rest.PagedIterable<QuotaUsageResultInner> listBySubscription(String location, UUID clientRequestId, com.azure.core.util.Context context) Get a list of all Azure AI Search quota usages across the subscription.- Parameters:
location- The unique location name for a Microsoft Azure geographic region.clientRequestId- A client-generated GUID value that identifies this request. If specified, this will be included in response information as a way to track the request.context- The context to associate with this operation.- Returns:
- a list of all Azure AI Search quota usages across the 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.
-