ISupportsListingInResourceGroupByTag<T>.ListByTag(String, String, String) 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
System.String

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

tagName
System.String

tag's name as the key

tagValue
System.String

tag's value

Returns

System.Collections.Generic.IEnumerable<T>

Applies to