Compartir a través de


ApplicationInsightsComponentResource.UpdateAsync Método

Definición

Novedades las etiquetas de un componente existente. Para actualizar otros campos, use el método CreateOrUpdate.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}
  • IdComponents_UpdateTags de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>> UpdateAsync (Azure.ResourceManager.ApplicationInsights.Models.ComponentTag componentTags, 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.ApplicationInsightsComponentResource>>
override this.UpdateAsync : Azure.ResourceManager.ApplicationInsights.Models.ComponentTag * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApplicationInsights.ApplicationInsightsComponentResource>>
Public Overridable Function UpdateAsync (componentTags As ComponentTag, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplicationInsightsComponentResource))

Parámetros

componentTags
ComponentTag

Se ha actualizado la información de etiqueta para establecerla en la instancia del componente.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

componentTags es null.

Se aplica a