Interface CdnPeeringPrefixesClient


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

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<CdnPeeringPrefixInner>
    list(String peeringLocation)
    Lists all of the advertised prefixes for the specified peering location.
    com.azure.core.http.rest.PagedIterable<CdnPeeringPrefixInner>
    list(String peeringLocation, com.azure.core.util.Context context)
    Lists all of the advertised prefixes for the specified peering location.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<CdnPeeringPrefixInner> list(String peeringLocation)
      Lists all of the advertised prefixes for the specified peering location.
      Parameters:
      peeringLocation - The peering location.
      Returns:
      the paginated list of CDN peering prefixes 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<CdnPeeringPrefixInner> list(String peeringLocation, com.azure.core.util.Context context)
      Lists all of the advertised prefixes for the specified peering location.
      Parameters:
      peeringLocation - The peering location.
      context - The context to associate with this operation.
      Returns:
      the paginated list of CDN peering prefixes 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.