Share via


DesktopVirtualizationClient.WorkspacesCreateOrUpdateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
workspaceName
String
body
IWorkspace
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to