Interface CapabilitiesByLocations


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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<Capability>
    list(String locationName)
    Lists the capabilities available in a given location for a specific subscription.
    com.azure.core.http.rest.PagedIterable<Capability>
    list(String locationName, com.azure.core.util.Context context)
    Lists the capabilities available in a given location for a specific subscription.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Capability> list(String locationName)
      Lists the capabilities available in a given location for a specific subscription.
      Parameters:
      locationName - The name of the location.
      Returns:
      list of capabilities for the Azure Database for PostgreSQL flexible server 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.
    • list

      com.azure.core.http.rest.PagedIterable<Capability> list(String locationName, com.azure.core.util.Context context)
      Lists the capabilities available in a given location for a specific subscription.
      Parameters:
      locationName - The name of the location.
      context - The context to associate with this operation.
      Returns:
      list of capabilities for the Azure Database for PostgreSQL flexible server 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.