Compartir a través de


NewRelicMonitorResource.UpdateAsync Método

Definición

Actualizar un newRelicMonitorResource

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • IdMonitors_Update de operación
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))

Parámetros

patch
NewRelicMonitorResourcePatch

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