DesktopVirtualizationClient.SessionHostsUpdateWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHost> SessionHostsUpdateWithResult (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, bool? force, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHostPatch 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.SessionHostsUpdateWithResult : string * string * string * string * Nullable<bool> * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHostPatch * 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.ISessionHost>
Public Function SessionHostsUpdateWithResult (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, force As Nullable(Of Boolean), body As ISessionHostPatch, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of ISessionHost)
Parameters
- subscriptionId
- String
- resourceGroupName
- String
- hostPoolName
- String
- sessionHostName
- String
- body
- ISessionHostPatch
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode