Interface PeeringLocations


public interface PeeringLocations
Resource collection API of PeeringLocations.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<PeeringLocation> list(PeeringLocationsKind kind)
      Lists all of the available peering locations for the specified kind of peering.
      Parameters:
      kind - The kind of the peering.
      Returns:
      the paginated list of peering 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.
    • list

      com.azure.core.http.rest.PagedIterable<PeeringLocation> list(PeeringLocationsKind kind, PeeringLocationsDirectPeeringType directPeeringType, com.azure.core.util.Context context)
      Lists all of the available peering locations for the specified kind of peering.
      Parameters:
      kind - The kind of the peering.
      directPeeringType - The type of direct peering.
      context - The context to associate with this operation.
      Returns:
      the paginated list of peering 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.