Compartir a través de


NewRelicObservabilityTagRuleResource.UpdateAsync Método

Definición

Actualizar un TagRule

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}
  • IdTagRules_Update de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>> UpdateAsync (Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityTagRulePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityTagRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>>
override this.UpdateAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicObservabilityTagRulePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicObservabilityTagRuleResource>>
Public Overridable Function UpdateAsync (patch As NewRelicObservabilityTagRulePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NewRelicObservabilityTagRuleResource))

Parámetros

patch
NewRelicObservabilityTagRulePatch

Propiedades de recursos que se van a actualizar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a