Compartilhar via


DiagnosticSettingsOperationsExtensions.GetDiagnosticProactiveLogCollectionSettingsAsync Método

Definição

Obtém as configurações proativas de coleta de logs do dispositivo Data Box Edge/Data Box Gateway especificado.

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)

Parâmetros

operations
IDiagnosticSettingsOperations

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

deviceName
String

O nome do dispositivo.

resourceGroupName
String

O nome do grupo de recursos.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a