Freigeben über


WebTestResource.UpdateAsync(ComponentTag, CancellationToken) Methode

Definition

Updates die Tags, die einem Application Insights-Webtest zugeordnet sind.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/webtests/{webTestName}
  • Vorgangs-IdWebTests_UpdateTags
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.WebTestResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.Models.ComponentTag webTestTags, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ComponentTag * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.WebTestResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ComponentTag * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.WebTestResource>>
Public Overridable Function UpdateAsync (webTestTags As ComponentTag, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebTestResource))

Parameter

webTestTags
ComponentTag

Taginformationen aktualisiert, um sie der Webtestressource zuzuordnen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

webTestTags ist NULL.

Gilt für: