SipRoutingClient.GetTrunk(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get SipTrunk with provided FQDN.
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)
Parameters
- fqdn
- String
SIP trunk FQDN.
- cancellationToken
- CancellationToken
Optional cancellation token.
Returns
Trunk configuration.
Exceptions
Route with specified name wasn't found.