Freigeben über


ElasticMonitorResource.UpdateAsync Methode

Definition

Aktualisieren sie eine Monitorressource.

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

Parameter

patch
ElasticMonitorResourcePatch

Parameter des Elastischen Ressourcenmodells.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: