/// <summary> /// Patch a NotificationHub in 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> /// <param name='notificationHubName'> /// The notification hub name. /// </param> /// <param name='parameters'> /// Parameters supplied to patch a NotificationHub Resource. /// </param> public static NotificationHubResource Patch(this INotificationHubsOperations operations, string resourceGroupName, string namespaceName, string notificationHubName, NotificationHubPatchParameters parameters = default(NotificationHubPatchParameters)) { return(operations.PatchAsync(resourceGroupName, namespaceName, notificationHubName, parameters).GetAwaiter().GetResult()); }