Freigeben über


TagResource.GetAsync(CancellationToken) Methode

Definition

Ruft den gesamten Satz von Tags für eine Ressource oder ein Abonnement ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Resources/tags/default
  • Vorgang IdTags_GetAtScope
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TagResource>> GetAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TagResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.TagResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TagResource))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Die Tags werden der Ressource zugeordnet.

Gilt für: