Compartilhar via


VoiceServicesExtensions.GetVoiceServicesCommunicationsGatewayAsync Método

Definição

Obter um CommunicationsGateway

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VoiceServices/communicationsGateways/{communicationsGatewayName}
  • Operação IdCommunicationsGateways_Get
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))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

communicationsGatewayName
String

Identificador exclusivo para essa implantação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

communicationsGatewayName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

communicationsGatewayName é nulo.

Aplica-se a