Partilhar via


ElasticMonitorResource.Update Método

Definição

Atualizar um recurso de monitor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}
  • Operação IdMonitors_Update
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 atualização do modelo de recurso elástico.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a