Partager via


ISupportsListingByTag<T>.ListByTagAsync Méthode

Définition

Répertorie toutes les ressources avec la balise spécifiée.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<T>> ListByTagAsync (string tagName, string tagValue, bool loadAllPages = true, System.Threading.CancellationToken cancellationToken = default);
abstract member ListByTagAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ResourceManager.Fluent.Core.IPagedCollection<'T>>
Public Function ListByTagAsync (tagName As String, tagValue As String, Optional loadAllPages As Boolean = true, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPagedCollection(Of T))

Paramètres

tagName
String

nom de la balise en tant que clé

tagValue
String

valeur de la balise

loadAllPages
Boolean
cancellationToken
CancellationToken

cancellationPourken le jeton d’annulation

Retours

S’applique à