Share via


ServiceBus.RulesCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRule> RulesCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string namespaceName, string topicName, string subscriptionName, string ruleName, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRule body, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.RulesCreateOrUpdateWithResult : string * string * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRule * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IRule>
Public Function RulesCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, namespaceName As String, topicName As String, subscriptionName As String, ruleName As String, body As IRule, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IRule)

Parameters

subscriptionId
String
resourceGroupName
String
namespaceName
String
topicName
String
subscriptionName
String
ruleName
String
body
IRule
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to