Condividi tramite


SipRoutingClient.GetTrunks(CancellationToken) Method

Definition

Get List of configured SipTrunk.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk>> GetTrunks (System.Threading.CancellationToken cancellationToken = default);
abstract member GetTrunks : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk>>
override this.GetTrunks : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.PhoneNumbers.SipRouting.SipTrunk>>
Public Overridable Function GetTrunks (Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of SipTrunk))

Parameters

cancellationToken
CancellationToken

Optional cancellation token.

Returns

List of configured trunks.

Applies to