Share via


ConnectedVMware.HostsCreateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
hostName
String
body
IHost
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to