Interface AzureTrafficCollectorsBySubscriptions


public interface AzureTrafficCollectorsBySubscriptions
Resource collection API of AzureTrafficCollectorsBySubscriptions.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.azure.core.http.rest.PagedIterable<AzureTrafficCollector>
    Return list of Azure Traffic Collectors in a subscription.
    com.azure.core.http.rest.PagedIterable<AzureTrafficCollector>
    list(com.azure.core.util.Context context)
    Return list of Azure Traffic Collectors in a subscription.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<AzureTrafficCollector> list()
      Return list of Azure Traffic Collectors in a subscription.
      Returns:
      response for the ListTrafficCollectors API service call 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<AzureTrafficCollector> list(com.azure.core.util.Context context)
      Return list of Azure Traffic Collectors in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      response for the ListTrafficCollectors API service call 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.