Partager via


VoiceServicesExtensions.GetVoiceServicesCommunicationsGatewayAsync 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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>> GetVoiceServicesCommunicationsGatewayAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string communicationsGatewayName, System.Threading.CancellationToken cancellationToken = default);
static member GetVoiceServicesCommunicationsGatewayAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.VoiceServices.VoiceServicesCommunicationsGatewayResource>>
<Extension()>
Public Function GetVoiceServicesCommunicationsGatewayAsync (resourceGroupResource As ResourceGroupResource, communicationsGatewayName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VoiceServicesCommunicationsGatewayResource))

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

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 à