Compartilhar via


SipRoutingClient.GetTrunkAsync(String, CancellationToken) Método

Definição

Obtenha SipTrunk o FQDN fornecido.

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