Beispiel #1
0
 /// <summary>
 /// Creates a new NotificationHub in a namespace.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/jj856303.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.Azure.Management.NotificationHubs.INotificationHubOperations.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Required. The name of the resource group.
 /// </param>
 /// <param name='namespaceName'>
 /// Required. The namespace name.
 /// </param>
 /// <param name='notificationHubName'>
 /// Required. The notification hub name.
 /// </param>
 /// <param name='parameters'>
 /// Required. Parameters supplied to the create a Namespace Resource.
 /// </param>
 /// <returns>
 /// Response of the CreateOrUpdate operation on the NotificationHub
 /// </returns>
 public static Task <NotificationHubCreateOrUpdateResponse> UpdateAsync(this INotificationHubOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, NotificationHubCreateOrUpdateParameters parameters)
 {
     return(operations.UpdateAsync(resourceGroupName, namespaceName, notificationHubName, parameters, CancellationToken.None));
 }