Partager via


NewRelicMonitorResource.Update Méthode

Définition

Mettre à jour un NewRelicMonitorResource

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/NewRelic.Observability/monitors/{monitorName}
  • Opération IdMonitors_Update
public virtual Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource> Update (Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
override this.Update : Azure.ResourceManager.NewRelicObservability.Models.NewRelicMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NewRelicObservability.NewRelicMonitorResource>
Public Overridable Function Update (patch As NewRelicMonitorResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NewRelicMonitorResource)

Paramètres

patch
NewRelicMonitorResourcePatch

Propriétés de ressource à mettre à jour.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

patch a la valeur null.

S’applique à