Compartilhar via


LogProfileResource.Update(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 Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource> Update (Azure.ResourceManager.Monitor.Models.LogProfilePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Monitor.Models.LogProfilePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource>
override this.Update : Azure.ResourceManager.Monitor.Models.LogProfilePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.LogProfileResource>
Public Overridable Function Update (patch As LogProfilePatch, Optional cancellationToken As CancellationToken = Nothing) As 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