Compartilhar via


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