Udostępnij za pośrednictwem


FlowLogsOperationsExtensions.GetAsync Method

Definition

Gets a flow log resource by name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FlowLog> GetAsync (this Microsoft.Azure.Management.Network.IFlowLogsOperations operations, string resourceGroupName, string networkWatcherName, string flowLogName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Network.IFlowLogsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FlowLog>
<Extension()>
Public Function GetAsync (operations As IFlowLogsOperations, resourceGroupName As String, networkWatcherName As String, flowLogName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FlowLog)

Parameters

operations
IFlowLogsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkWatcherName
String

The name of the network watcher.

flowLogName
String

The name of the flow log resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to