Share via


ConnectedMachine.MachineRunCommandsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IMachineRunCommand> MachineRunCommandsCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string machineName, string runCommandName, 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.MachineRunCommandsCreateOrUpdateWithResult : string * string * string * 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 MachineRunCommandsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, machineName As String, runCommandName 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

subscriptionId
String
resourceGroupName
String
machineName
String
runCommandName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to