Compartilhar via


DiagnosticSettingsOperationsExtensions.UpdateDiagnosticProactiveLogCollectionSettingsAsync Método

Definição

Atualizações as configurações proativas de coleta de log em um dispositivo Data Box Edge/Data Box Gateway.

public static System.Threading.Tasks.Task UpdateDiagnosticProactiveLogCollectionSettingsAsync (this Microsoft.Azure.Management.DataBoxEdge.IDiagnosticSettingsOperations operations, string deviceName, Microsoft.Azure.Management.DataBoxEdge.Models.DiagnosticProactiveLogCollectionSettings proactiveLogCollectionSettings, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member UpdateDiagnosticProactiveLogCollectionSettingsAsync : Microsoft.Azure.Management.DataBoxEdge.IDiagnosticSettingsOperations * string * Microsoft.Azure.Management.DataBoxEdge.Models.DiagnosticProactiveLogCollectionSettings * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateDiagnosticProactiveLogCollectionSettingsAsync (operations As IDiagnosticSettingsOperations, deviceName As String, proactiveLogCollectionSettings As DiagnosticProactiveLogCollectionSettings, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IDiagnosticSettingsOperations

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

deviceName
String

O nome do dispositivo.

proactiveLogCollectionSettings
DiagnosticProactiveLogCollectionSettings

As configurações proativas da coleção de logs.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a