Partilhar via


NewRelicObservabilityTagRuleResource.UpdateAsync Método

Definição

Atualizar um TagRule

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}
  • IdTagRules_Update de operação
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

As propriedades do recurso a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a