Partager via


VoiceServicesCommunicationsGatewayCollection.GetAsync Méthode

Définition

Obtenir un CommunicationsGateway

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • IdCommunicationsGateways_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>> GetAsync (string communicationsGatewayName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
Public Overridable Function GetAsync (communicationsGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCommunicationsGatewayResource))

Paramètres

communicationsGatewayName
String

Identificateur unique pour ce déploiement.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

communicationsGatewayName est une chaîne vide et devait être non vide.

communicationsGatewayName a la valeur null.

S’applique à