Interface CapabilitiesByServers
public interface CapabilitiesByServers
Resource collection API of CapabilitiesByServers.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<Capability> Lists the capabilities available for a given server.com.azure.core.http.rest.PagedIterable<Capability> Lists the capabilities available for a given server.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Capability> list(String resourceGroupName, String serverName) Lists the capabilities available for a given server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.- 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 resourceGroupName, String serverName, com.azure.core.util.Context context) Lists the capabilities available for a given server.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.serverName- The name of the server.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.
-