Freigeben über


NewRelicMonitorResource.UpdateAsync Methode

Definition

Aktualisieren einer NewRelicMonitorResource

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Vorgang IdMonitors_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>> UpdateAsync (Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>>
override this.UpdateAsync : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>>
Public Overridable Function UpdateAsync (patch As NewRelicMonitorResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NewRelicMonitorResource))

Parameter

patch
NewRelicMonitorResourcePatch

Die zu aktualisierenden Ressourceneigenschaften.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: