Interface PeeringServiceLocations
public interface PeeringServiceLocations
Resource collection API of PeeringServiceLocations.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<PeeringServiceLocation> list()Lists all of the available locations for peering service.com.azure.core.http.rest.PagedIterable<PeeringServiceLocation> Lists all of the available locations for peering service.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<PeeringServiceLocation> list()Lists all of the available locations for peering service.- Returns:
- the paginated list of peering service locations 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<PeeringServiceLocation> list(String country, com.azure.core.util.Context context) Lists all of the available locations for peering service.- Parameters:
country- The country of interest, in which the locations are to be present.context- The context to associate with this operation.- Returns:
- the paginated list of peering service locations 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.
-