Partager via


DiagnosticSettingsOperationsExtensions.UpdateDiagnosticProactiveLogCollectionSettingsAsync Méthode

Définition

Mises à jour les paramètres de collecte proactive des journaux sur un appareil 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

Paramètres

operations
IDiagnosticSettingsOperations

Groupe d’opérations pour cette méthode d’extension.

deviceName
String

Le nom de l'appareil.

proactiveLogCollectionSettings
DiagnosticProactiveLogCollectionSettings

Paramètres de collecte proactive des journaux.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à