SubscriptionResource.GetAllPredefinedTagsAsync(CancellationToken) Method

Definition

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.

  • Request Path: /subscriptions/{subscriptionId}/tagNames
  • Operation Id: Tags_List
  • Default Api Version: 2022-09-01
  • Resource: SubscriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.PredefinedTag> GetAllPredefinedTagsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPredefinedTagsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.PredefinedTag>
override this.GetAllPredefinedTagsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.Models.PredefinedTag>
Public Overridable Function GetAllPredefinedTagsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PredefinedTag)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of PredefinedTag that may take multiple service requests to iterate over.

Applies to