Interface Locations


  • public interface Locations
    Resource collection API of Locations.
    • Method Detail

      • checkTrialAvailability

        Trial 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<Trial> 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

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