Interface CapabilitiesByLocationsClient
public interface CapabilitiesByLocationsClient
An instance of this class provides access to all the operations defined in CapabilitiesByLocationsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<CapabilityInner> Lists the capabilities available in a given location for a specific subscription.com.azure.core.http.rest.PagedIterable<CapabilityInner> Lists the capabilities available in a given location for a specific subscription.com.azure.core.http.rest.PagedFlux<CapabilityInner> Lists the capabilities available in a given location for a specific subscription.
-
Method Details
-
listAsync
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
PagedFlux. - 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
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<CapabilityInner> 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.
-