Share via


VMware.WorkloadNetworksCreateSegmentsViaIdentityWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment> WorkloadNetworksCreateSegmentsViaIdentityWithResult (string viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment 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.WorkloadNetworksCreateSegmentsViaIdentityWithResult : string * Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IWorkloadNetworkSegment * 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.IWorkloadNetworkSegment>
Public Function WorkloadNetworksCreateSegmentsViaIdentityWithResult (viaIdentity As String, body As IWorkloadNetworkSegment, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.VMware.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IWorkloadNetworkSegment)

Parameters

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to