Partilhar via


DataCollectionEndpointResource.UpdateAsync Método

Definição

Atualizações parte de um ponto de extremidade de coleta de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}
  • Operação IdDataCollectionEndpoints_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.ResourceForUpdate body, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.ResourceForUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.ResourceForUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.DataCollectionEndpointResource>>
Public Overridable Function UpdateAsync (body As ResourceForUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataCollectionEndpointResource))

Parâmetros

body
ResourceForUpdate

A carga.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

body é nulo.

Aplica-se a