Interface QuotasClient
public interface QuotasClient
An instance of this class provides access to all the operations defined in QuotasClient.
-
Method Summary
Modifier and TypeMethodDescriptioncheckAvailability
(String location, String quotaBucketName, QuotaBucketRequest quotaBucketRequest) Check Quota Availability on quota bucket per region per subscription.com.azure.core.http.rest.Response<CheckQuotaAvailabilityResponseInner>
checkAvailabilityWithResponse
(String location, String quotaBucketName, QuotaBucketRequest quotaBucketRequest, com.azure.core.util.Context context) Check Quota Availability on quota bucket per region per subscription.Get the available quota for a quota bucket per region per subscription.com.azure.core.http.rest.Response<QuotaResourceInner>
getWithResponse
(String location, String quotaBucketName, com.azure.core.util.Context context) Get the available quota for a quota bucket per region per subscription.com.azure.core.http.rest.PagedIterable<QuotaResourceInner>
Lists all the available quota per region per subscription.com.azure.core.http.rest.PagedIterable<QuotaResourceInner>
Lists all the available quota per region per subscription.
-
Method Details
-
list
Lists all the available quota per region per subscription.- Parameters:
location
- The name of Azure region.- Returns:
- list of quota bucket 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<QuotaResourceInner> list(String location, com.azure.core.util.Context context) Lists all the available quota per region per subscription.- Parameters:
location
- The name of Azure region.context
- The context to associate with this operation.- Returns:
- list of quota bucket 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.
-
getWithResponse
com.azure.core.http.rest.Response<QuotaResourceInner> getWithResponse(String location, String quotaBucketName, com.azure.core.util.Context context) Get the available quota for a quota bucket per region per subscription.- Parameters:
location
- The name of Azure region.quotaBucketName
- Quota Bucket name.context
- The context to associate with this operation.- Returns:
- the available quota for a quota bucket per region per subscription along with
Response
. - 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.
-
get
Get the available quota for a quota bucket per region per subscription.- Parameters:
location
- The name of Azure region.quotaBucketName
- Quota Bucket name.- Returns:
- the available quota for a quota bucket per region per 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.
-
checkAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckQuotaAvailabilityResponseInner> checkAvailabilityWithResponse(String location, String quotaBucketName, QuotaBucketRequest quotaBucketRequest, com.azure.core.util.Context context) Check Quota Availability on quota bucket per region per subscription.- Parameters:
location
- The name of Azure region.quotaBucketName
- Quota Bucket name.quotaBucketRequest
- Quota Bucket Request data.context
- The context to associate with this operation.- Returns:
- check quota availability response object along with
Response
. - 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.
-
checkAvailability
CheckQuotaAvailabilityResponseInner checkAvailability(String location, String quotaBucketName, QuotaBucketRequest quotaBucketRequest) Check Quota Availability on quota bucket per region per subscription.- Parameters:
location
- The name of Azure region.quotaBucketName
- Quota Bucket name.quotaBucketRequest
- Quota Bucket Request data.- Returns:
- check quota availability response object.
- 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.
-