Interface Locations
public interface Locations
Resource collection API of Locations.
-
Method Summary
Modifier and TypeMethodDescriptioncheckQuotaAvailability
(String location) Return quota for subscription by region.com.azure.core.http.rest.Response<Quota>
checkQuotaAvailabilityWithResponse
(String location, com.azure.core.util.Context context) Return quota for subscription by region.checkTrialAvailability
(String location) Return trial status for subscription by region.com.azure.core.http.rest.Response<Trial>
checkTrialAvailabilityWithResponse
(String location, Sku sku, com.azure.core.util.Context context) Return trial status for subscription by region.
-
Method Details
-
checkTrialAvailabilityWithResponse
com.azure.core.http.rest.Response<Trial> checkTrialAvailabilityWithResponse(String location, Sku sku, com.azure.core.util.Context context) Return trial status for subscription by region.- Parameters:
location
- Azure region.sku
- The sku to check for trial availability.context
- The context to associate with this operation.- Returns:
- subscription trial availability 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.
-
checkTrialAvailability
Return trial status for subscription by region.- Parameters:
location
- Azure region.- Returns:
- subscription trial availability.
- 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.
-
checkQuotaAvailabilityWithResponse
com.azure.core.http.rest.Response<Quota> checkQuotaAvailabilityWithResponse(String location, com.azure.core.util.Context context) Return quota for subscription by region.- Parameters:
location
- Azure region.context
- The context to associate with this operation.- Returns:
- subscription quotas 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.
-
checkQuotaAvailability
Return quota for subscription by region.- Parameters:
location
- Azure region.- Returns:
- subscription quotas.
- 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.
-