Share via


ConnectedMachine.MachineRunCommandsCreateOrUpdateViaIdentityWithResult Method

Definition

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

Parameters

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to