Interface LocationsClient
-
public interface LocationsClient
An instance of this class provides access to all the operations defined in LocationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaInner
checkQuotaAvailability(String location)
Return quota for subscription by region.com.azure.core.http.rest.Response<QuotaInner>
checkQuotaAvailabilityWithResponse(String location, com.azure.core.util.Context context)
Return quota for subscription by region.TrialInner
checkTrialAvailability(String location)
Return trial status for subscription by region.com.azure.core.http.rest.Response<TrialInner>
checkTrialAvailabilityWithResponse(String location, com.azure.core.util.Context context)
Return trial status for subscription by region.
-
-
-
Method Detail
-
checkTrialAvailability
TrialInner checkTrialAvailability(String location)
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.
-
checkTrialAvailabilityWithResponse
com.azure.core.http.rest.Response<TrialInner> checkTrialAvailabilityWithResponse(String location, com.azure.core.util.Context context)
Return trial status for subscription by region.- Parameters:
location
- Azure region.context
- The context to associate with this operation.- 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.
-
checkQuotaAvailability
QuotaInner checkQuotaAvailability(String location)
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.
-
checkQuotaAvailabilityWithResponse
com.azure.core.http.rest.Response<QuotaInner> 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.
- 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.
-
-