共用方式為


INetworkWatcher.GetFlowLogSettingsAsync(String, CancellationToken) Method

Definition

Gets the information on the configuration of flow log asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.IFlowLogSettings> GetFlowLogSettingsAsync (string nsgId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFlowLogSettingsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.IFlowLogSettings>
Public Function GetFlowLogSettingsAsync (nsgId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IFlowLogSettings)

Parameters

nsgId
String

The name of the target resource group to get flow log status for.

cancellationToken
CancellationToken

Returns

Applies to