你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FlowLogsOperationsExtensions.CreateOrUpdate 方法

定义

为指定的网络安全组创建或更新流日志。

public static Microsoft.Azure.Management.Network.Models.FlowLog CreateOrUpdate (this Microsoft.Azure.Management.Network.IFlowLogsOperations operations, string resourceGroupName, string networkWatcherName, string flowLogName, Microsoft.Azure.Management.Network.Models.FlowLog parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IFlowLogsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.FlowLog -> Microsoft.Azure.Management.Network.Models.FlowLog
<Extension()>
Public Function CreateOrUpdate (operations As IFlowLogsOperations, resourceGroupName As String, networkWatcherName As String, flowLogName As String, parameters As FlowLog) As FlowLog

参数

operations
IFlowLogsOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

networkWatcherName
String

网络观察程序的名称。

flowLogName
String

流日志的名称。

parameters
FlowLog

定义创建或更新流日志资源的参数。

返回

适用于