Partager via


ConnectedMachine.MachineExtensionsCreateOrUpdateWithResult Method

Definition

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

Parameters

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

Returns

Applies to