Interface LocationsClient


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

    • getQuotasWithResponse

      com.azure.core.http.rest.Response<BatchLocationQuotaInner> getQuotasWithResponse(String locationName, com.azure.core.util.Context context)
      Gets the Batch service quotas for the specified subscription at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service quotas.
      context - The context to associate with this operation.
      Returns:
      the Batch service quotas for the specified subscription at the given location 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.
    • getQuotas

      BatchLocationQuotaInner getQuotas(String locationName)
      Gets the Batch service quotas for the specified subscription at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service quotas.
      Returns:
      the Batch service quotas for the specified subscription at the given location.
      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.
    • listSupportedVirtualMachineSkus

      com.azure.core.http.rest.PagedIterable<SupportedSkuInner> listSupportedVirtualMachineSkus(String locationName)
      Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service supported SKUs.
      Returns:
      the list of Batch supported Virtual Machine VM sizes available at the given location 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.
    • listSupportedVirtualMachineSkus

      com.azure.core.http.rest.PagedIterable<SupportedSkuInner> listSupportedVirtualMachineSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.Context context)
      Gets the list of Batch supported Virtual Machine VM sizes available at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service supported SKUs.
      maxresults - The maximum number of items to return in the response.
      filter - OData filter expression. Valid properties for filtering are "familyName".
      context - The context to associate with this operation.
      Returns:
      the list of Batch supported Virtual Machine VM sizes available at the given location 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.
    • listSupportedCloudServiceSkus

      com.azure.core.http.rest.PagedIterable<SupportedSkuInner> listSupportedCloudServiceSkus(String locationName)
      Gets the list of Batch supported Cloud Service VM sizes available at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service supported SKUs.
      Returns:
      the list of Batch supported Cloud Service VM sizes available at the given location 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.
    • listSupportedCloudServiceSkus

      com.azure.core.http.rest.PagedIterable<SupportedSkuInner> listSupportedCloudServiceSkus(String locationName, Integer maxresults, String filter, com.azure.core.util.Context context)
      Gets the list of Batch supported Cloud Service VM sizes available at the given location.
      Parameters:
      locationName - The region for which to retrieve Batch service supported SKUs.
      maxresults - The maximum number of items to return in the response.
      filter - OData filter expression. Valid properties for filtering are "familyName".
      context - The context to associate with this operation.
      Returns:
      the list of Batch supported Cloud Service VM sizes available at the given location 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.
    • checkNameAvailabilityWithResponse

      com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(String locationName, CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context)
      Checks whether the Batch account name is available in the specified region.
      Parameters:
      locationName - The desired region for the name check.
      parameters - Properties needed to check the availability of a name.
      context - The context to associate with this operation.
      Returns:
      the CheckNameAvailability operation response 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.
    • checkNameAvailability

      CheckNameAvailabilityResultInner checkNameAvailability(String locationName, CheckNameAvailabilityParameters parameters)
      Checks whether the Batch account name is available in the specified region.
      Parameters:
      locationName - The desired region for the name check.
      parameters - Properties needed to check the availability of a name.
      Returns:
      the CheckNameAvailability operation 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.