Compartilhar via


LogProfileResource.UpdateAsync(LogProfilePatch, CancellationToken) Método

Definição

Atualizações um LogProfilesResource existente. Para atualizar outros campos, use o método CreateOrUpdate.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}
  • Operação IdLogProfiles_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.LogProfilePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.LogProfilePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.LogProfilePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource>>
Public Overridable Function UpdateAsync (patch As LogProfilePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LogProfileResource))

Parâmetros

patch
LogProfilePatch

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a