Share via


DesktopVirtualizationClient.ScalingPlansCreateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
scalingPlanName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to