Interface SupportsListingInResourceGroupByTag<T>

  • Type Parameters:
    T - the fluent type of the resource
    All Known Subinterfaces:
    GenericResources

    public interface SupportsListingInResourceGroupByTag<T>
    Provides access to listing Azure resources of a specific type based on their tag.

    (Note: this interface is not intended to be implemented by user code)

    • Method Detail

      • listByTag

        com.azure.core.http.rest.PagedIterable<T> listByTag​(String resourceGroupName,
                                                            String tagName,
                                                            String tagValue)
        Lists all the resources with the specified tag.
        Parameters:
        resourceGroupName - the name of the resource group
        tagName - tag's name as the key
        tagValue - tag's value
        Returns:
        the list of resources
      • listByTagAsync

        com.azure.core.http.rest.PagedFlux<T> listByTagAsync​(String resourceGroupName,
                                                             String tagName,
                                                             String tagValue)
        Lists all the resources with the specified tag.
        Parameters:
        resourceGroupName - the name of the resource group
        tagName - tag's name as the key
        tagValue - tag's value
        Returns:
        a PagedFlux of the requested resources