Share via


ConnectedMachine.GatewaysCreateOrUpdateWithResult Method

Definition

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

subscriptionId
String
resourceGroupName
String
gatewayName
String
body
IGateway
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to