你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkWatchersOperationsExtensions.VerifyIPFlowAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在给定当前配置的 NSG 规则的情况下,验证从指定 VM 到某个位置的 IP 流。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VerificationIPFlowResultInner> VerifyIPFlowAsync(this Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations operations, string resourceGroupName, string networkWatcherName, Microsoft.Azure.Management.Network.Fluent.Models.VerificationIPFlowParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member VerifyIPFlowAsync : Microsoft.Azure.Management.Network.Fluent.INetworkWatchersOperations * string * string * Microsoft.Azure.Management.Network.Fluent.Models.VerificationIPFlowParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.Models.VerificationIPFlowResultInner>
<Extension()>
Public Function VerifyIPFlowAsync (operations As INetworkWatchersOperations, resourceGroupName As String, networkWatcherName As String, parameters As VerificationIPFlowParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VerificationIPFlowResultInner)
参数
- operations
- INetworkWatchersOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组的名称。
- networkWatcherName
- String
网络观察程序的名称。
- parameters
- VerificationIPFlowParameters
定义要验证的 IP 流的参数。
- cancellationToken
- CancellationToken
取消标记。