ISupportsListingInResourceGroupByTag<T>.ListByTag Method

Definition

Lists all the resources with the specified tag.

public System.Collections.Generic.IEnumerable<T> ListByTag (string resourceGroupName, string tagName, string tagValue);
abstract member ListByTag : string * string * string -> seq<'T>
Public Function ListByTag (resourceGroupName As String, tagName As String, tagValue As String) As IEnumerable(Of T)

Parameters

resourceGroupName
String

The name of the resource group to list the resources from.

tagName
String

tag's name as the key

tagValue
String

tag's value

Returns

Applies to