Compartir a través de


LogProfileResource.UpdateAsync(LogProfilePatch, CancellationToken) Método

Definición

Novedades un logProfilesResource existente. Para actualizar otros campos, use el método CreateOrUpdate.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.Insights/logprofiles/{logProfileName}
  • IdLogProfiles_Update de operaciones
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 proporcionados a la operación.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

patch es null.

Se aplica a