Share via


DesktopVirtualizationClient.HostPoolsCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
hostPoolName
String
body
IHostPool
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to