Interface PeeringServiceLocationsClient


public interface PeeringServiceLocationsClient
An instance of this class provides access to all the operations defined in PeeringServiceLocationsClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<PeeringServiceLocationInner>
    Lists all of the available locations for peering service.
    com.azure.core.http.rest.PagedIterable<PeeringServiceLocationInner>
    list(String country, com.azure.core.util.Context context)
    Lists all of the available locations for peering service.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<PeeringServiceLocationInner> 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<PeeringServiceLocationInner> 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.