Partager via


CommunicationServiceResource.LinkNotificationHubAsync Méthode

Définition

Lie un hub de notification Azure à ce service de communication.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/linkNotificationHub
  • IdCommunicationServices_LinkNotificationHub d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub>> LinkNotificationHubAsync (Azure.ResourceManager.Communication.Models.LinkNotificationHubContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member LinkNotificationHubAsync : Azure.ResourceManager.Communication.Models.LinkNotificationHubContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub>>
override this.LinkNotificationHubAsync : Azure.ResourceManager.Communication.Models.LinkNotificationHubContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Communication.Models.LinkedNotificationHub>>
Public Overridable Function LinkNotificationHubAsync (Optional content As LinkNotificationHubContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LinkedNotificationHub))

Paramètres

content
LinkNotificationHubContent

Paramètres fournis à l’opération.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à