Compartir a través de


ElasticMonitorResource.Update Método

Definición

Actualice un recurso de supervisión.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • IdMonitors_Update de operación
public virtual Azure.Response<Azure.ResourceManager.Elastic.ElasticMonitorResource> Update (Azure.ResourceManager.Elastic.Models.ElasticMonitorResourcePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Elastic.Models.ElasticMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.ElasticMonitorResource>
override this.Update : Azure.ResourceManager.Elastic.Models.ElasticMonitorResourcePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.ElasticMonitorResource>
Public Overridable Function Update (patch As ElasticMonitorResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ElasticMonitorResource)

Parámetros

patch
ElasticMonitorResourcePatch

Parámetros de actualización del modelo de recursos elásticos.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a