Share via


TagsOperationsExtensions.ListAsync(ITagsOperations, CancellationToken) Method

Definition

Gets a summary of tag usage under the subscription.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.TagDetails>> ListAsync (this Microsoft.Azure.Management.ResourceManager.ITagsOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ResourceManager.ITagsOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.TagDetails>>
<Extension()>
Public Function ListAsync (operations As ITagsOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of TagDetails))

Parameters

operations
ITagsOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This operation performs a union of predefined tags, resource tags, resource group tags and subscription tags, and returns a summary of usage for each tag name and value under the given subscription. In case of a large number of tags, this operation may return a previously cached result.

Applies to