Compartilhar via


NetworkWatchersOperationsExtensions.SetFlowLogConfigurationAsync Método

Definição

Configura o log de fluxo e a análise de tráfego (opcional) em um recurso especificado.

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

Parâmetros

operations
INetworkWatchersOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos do observador de rede.

networkWatcherName
String

O nome do recurso do observador de rede.

parameters
FlowLogInformationInner

Parâmetros que definem a configuração do log de fluxo.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a