Share via


StackHcivm.GuestAgentCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent> GuestAgentCreateWithResult (string resourceUri, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent body, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.GuestAgentCreateWithResult : string * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Models.IGuestAgent>
Public Function GuestAgentCreateWithResult (resourceUri As String, body As IGuestAgent, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.StackHCIVM.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IGuestAgent)

Parameters

resourceUri
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to