Share via


DiagnosticSettingsOperationsExtensions.UpdateDiagnosticProactiveLogCollectionSettingsAsync Method

Definition

Updates the proactive log collection settings on a Data Box Edge/Data Box Gateway device.

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

Parameters

operations
IDiagnosticSettingsOperations

The operations group for this extension method.

deviceName
String

The device name.

proactiveLogCollectionSettings
DiagnosticProactiveLogCollectionSettings

The proactive log collection settings.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to