Compartilhar via


SipRoutingClient.GetTrunk(String, CancellationToken) Método

Definição

Obtenha SipTrunk o FQDN fornecido.

public virtual Azure.Response<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk> GetTrunk (string fqdn, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrunk : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk>
override this.GetTrunk : string * System.Threading.CancellationToken -> Azure.Response<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk>
Public Overridable Function GetTrunk (fqdn As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SipTrunk)

Parâmetros

fqdn
String

FQDN do tronco SIP.

cancellationToken
CancellationToken

Token de cancelamento opcional.

Retornos

Configuração do tronco.

Exceções

A rota com o nome especificado não foi encontrada.

Aplica-se a