Share via


ConnectedMachine.GatewaysCreateOrUpdateViaIdentityWithResult Method

Definition

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

Parameters

viaIdentity
String
body
IGateway
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to