Interface PeeringServiceCountriesClient
public interface PeeringServiceCountriesClient
An instance of this class provides access to all the operations defined in PeeringServiceCountriesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<PeeringServiceCountryInner> list()Lists all of the available countries for peering service.com.azure.core.http.rest.PagedIterable<PeeringServiceCountryInner> list(com.azure.core.util.Context context) Lists all of the available countries for peering service.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PeeringServiceCountryInner> list()Lists all of the available countries for peering service.- Returns:
- the paginated list of peering service countries 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<PeeringServiceCountryInner> list(com.azure.core.util.Context context) Lists all of the available countries for peering service.- Parameters:
context- The context to associate with this operation.- Returns:
- the paginated list of peering service countries 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.
-