INetworkWatcher.GetFlowLogSettingsAsync(String, CancellationToken) 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 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