DiagnosticSettingsOperationsExtensions.GetDiagnosticProactiveLogCollectionSettingsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the proactive log collection settings of the specified Data Box Edge/Data Box Gateway device.
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)
Parameters
- operations
- IDiagnosticSettingsOperations
The operations group for this extension method.
- deviceName
- String
The device name.
- resourceGroupName
- String
The resource group name.
- cancellationToken
- CancellationToken
The cancellation token.