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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<ResourceTypeSku>
    List all the available Skus in the region and information related to them.
    com.azure.core.http.rest.PagedIterable<ResourceTypeSku>
    list(String filter, com.azure.core.util.Context context)
    List all the available Skus in the region and information related to them.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<ResourceTypeSku> list()
      List all the available Skus in the region and information related to them.
      Returns:
      list of SKU Information objects as paginated response with PagedIterable.
      Throws:
      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.
    • list

      com.azure.core.http.rest.PagedIterable<ResourceTypeSku> list(String filter, com.azure.core.util.Context context)
      List all the available Skus in the region and information related to them.
      Parameters:
      filter - Specify $filter='location eq <location>' to filter on location.
      context - The context to associate with this operation.
      Returns:
      list of SKU Information objects 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.