Freigeben über


SubscriptionsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.SBSubscription> CreateOrUpdateAsync (this Microsoft.Azure.Management.ServiceBus.ISubscriptionsOperations operations, string resourceGroupName, string namespaceName, string topicName, string subscriptionName, Microsoft.Azure.Management.ServiceBus.Models.SBSubscription parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.ServiceBus.ISubscriptionsOperations * string * string * string * string * Microsoft.Azure.Management.ServiceBus.Models.SBSubscription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ServiceBus.Models.SBSubscription>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISubscriptionsOperations, resourceGroupName As String, namespaceName As String, topicName As String, subscriptionName As String, parameters As SBSubscription, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SBSubscription)

Parameter

operations
ISubscriptionsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe innerhalb des Azure-Abonnements.

namespaceName
String

Der Namespacename

topicName
String

Der Name des Themas.

subscriptionName
String

Der Abonnementname.

parameters
SBSubscription

Parameter, die zum Erstellen einer Abonnementressource bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: