Partilhar via


ISupportsListingByTag<T>.ListByTagAsync Método

Definição

Lista todos os recursos com a marca especificada.

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))

Parâmetros

tagName
String

nome da marca como a chave

tagValue
String

valor da marca

loadAllPages
Boolean
cancellationToken
CancellationToken

cancellationToken o token de cancelamento

Retornos

Aplica-se a