Interface AzureTrafficCollectorsByResourceGroups
public interface AzureTrafficCollectorsByResourceGroups
Resource collection API of AzureTrafficCollectorsByResourceGroups.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.http.rest.PagedIterable<AzureTrafficCollector>
listByResourceGroup
(String resourceGroupName) Return list of Azure Traffic Collectors in a Resource Group.com.azure.core.http.rest.PagedIterable<AzureTrafficCollector>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Return list of Azure Traffic Collectors in a Resource Group.
-
Method Details
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AzureTrafficCollector> listByResourceGroup(String resourceGroupName) Return list of Azure Traffic Collectors in a Resource Group.- Parameters:
resourceGroupName
- The name of the resource group.- 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AzureTrafficCollector> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Return list of Azure Traffic Collectors in a Resource Group.- Parameters:
resourceGroupName
- The name of the resource group.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.
-