Interface LocationsClient


public interface LocationsClient
An instance of this class provides access to all the operations defined in LocationsClient.
  • Method Details

    • checkTrialAvailabilityWithResponse

      com.azure.core.http.rest.Response<TrialInner> 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

      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.
    • 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 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

      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.