Partager via


DiagnosticSettingsOperationsExtensions.GetDiagnosticProactiveLogCollectionSettingsAsync Méthode

Définition

Obtient les paramètres de collecte proactive des journaux de l’appareil Data Box Edge/Data Box Gateway spécifié.

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

Paramètres

operations
IDiagnosticSettingsOperations

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

deviceName
String

Le nom de l'appareil.

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à