Compartilhar via


LogProfilesOperationsExtensions.UpdateAsync Método

Definição

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

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.LogProfileResource> UpdateAsync (this Microsoft.Azure.Management.Monitor.ILogProfilesOperations operations, string logProfileName, Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch logProfilesResource, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Monitor.ILogProfilesOperations * string * Microsoft.Azure.Management.Monitor.Models.LogProfileResourcePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.LogProfileResource>
<Extension()>
Public Function UpdateAsync (operations As ILogProfilesOperations, logProfileName As String, logProfilesResource As LogProfileResourcePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of LogProfileResource)

Parâmetros

operations
ILogProfilesOperations

O grupo de operações para esse método de extensão.

logProfileName
String

O nome do perfil de log.

logProfilesResource
LogProfileResourcePatch

Parâmetros fornecidos para a operação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a