SupportsListingInResourceGroupByTag<T> Interface

Type Parameters

T

the fluent type of the resource

public interface SupportsListingInResourceGroupByTag

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 Summary

Modifier and Type Method and Description
abstract PagedIterable<T> listByTag(String resourceGroupName, String tagName, String tagValue)

Lists all the resources with the specified tag.

abstract PagedFlux<T> listByTagAsync(String resourceGroupName, String tagName, String tagValue)

Lists all the resources with the specified tag.

Method Details

listByTag

public abstract PagedIterable 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

public abstract PagedFlux 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<T> of the requested resources

Applies to