Interface AvailableVersions


public interface AvailableVersions
Resource collection API of AvailableVersions.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<AvailableVersion>
    List AvailableVersion resources by location.
    com.azure.core.http.rest.PagedIterable<AvailableVersion>
    listByLocation(String location, String kubernetesVersion, com.azure.core.util.Context context)
    List AvailableVersion resources by location.
  • Method Details

    • listByLocation

      com.azure.core.http.rest.PagedIterable<AvailableVersion> listByLocation(String location)
      List AvailableVersion resources by location.
      Parameters:
      location - The name of the Azure region.
      Returns:
      the response of a AvailableVersion list operation 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.
    • listByLocation

      com.azure.core.http.rest.PagedIterable<AvailableVersion> listByLocation(String location, String kubernetesVersion, com.azure.core.util.Context context)
      List AvailableVersion resources by location.
      Parameters:
      location - The name of the Azure region.
      kubernetesVersion - Kubernetes version to filter profiles.
      context - The context to associate with this operation.
      Returns:
      the response of a AvailableVersion list operation 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.