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

VMware.WorkloadNetworksCreatePortMirroringWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring> WorkloadNetworksCreatePortMirroringWithResult (string subscriptionId, string resourceGroupName, string privateCloudName, string portMirroringId, Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring body, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.WorkloadNetworksCreatePortMirroringWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkPortMirroring>
Public Function WorkloadNetworksCreatePortMirroringWithResult (subscriptionId As String, resourceGroupName As String, privateCloudName As String, portMirroringId As String, body As IWorkloadNetworkPortMirroring, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IWorkloadNetworkPortMirroring)

Parameters

subscriptionId
String
resourceGroupName
String
privateCloudName
String
portMirroringId
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to