Share via


NewRelicObservabilityTagRuleResource.UpdateAsync Method

Definition

Update a TagRule

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}/tagRules/{ruleSetName}
  • Operation Id: TagRules_Update
  • Default Api Version: 2024-03-01
  • Resource: NewRelicObservabilityTagRuleResource
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))

Parameters

patch
NewRelicObservabilityTagRulePatch

The resource properties to be updated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

patch is null.

Applies to