Freigeben über


NotificationHubsOperationsExtensions.CreateOrUpdateAsync Methode

Definition

Erstellt/aktualisiert einen NotificationHub in einem Namespace.

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

Parameter

operations
INotificationHubsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

namespaceName
String

Der Namespacename.

notificationHubName
String

Der Name des Notification Hubs.

parameters
NotificationHubCreateOrUpdateParameters

Parameter, die für das Erstellen/Aktualisieren einer NotificationHub-Ressource bereitgestellt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: