/// <summary>
 /// Lists the notification hubs associated with a namespace.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='namespaceName'>
 /// The namespace name.
 /// </param>
 public static IPage <NotificationHubResource> List(this INotificationHubsOperations operations, string resourceGroupName, string namespaceName)
 {
     return(operations.ListAsync(resourceGroupName, namespaceName).GetAwaiter().GetResult());
 }