NotificationHubsOperationsExtensions.PatchAsync(INotificationHubsOperations, String, String, String, NotificationHubPatchParameters, CancellationToken) Method

Definition

Patch a NotificationHub in a namespace.

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

Parameters

operations
INotificationHubsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

namespaceName
System.String

The namespace name.

notificationHubName
System.String

The notification hub name.

parameters
NotificationHubPatchParameters

Parameters supplied to patch a NotificationHub Resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<NotificationHubResource>

Applies to