Interface SupportsListingByTag<T>

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

    public interface SupportsListingByTag<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 tagName,
                                                            String tagValue)
        Lists all the resources with the specified tag.
        Parameters:
        tagName - tag's name as the key
        tagValue - tag's value
        Returns:
        a PagedIterable of resources
      • listByTagAsync

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