Share via


SipRoutingClient.SetTrunkAsync(SipTrunk, CancellationToken) Method

Definition

Set SipTrunk for resource. Other configuration settings are not affected.

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

Parameters

trunk
SipTrunk

SIP trunk configuration.

cancellationToken
CancellationToken

Optional cancellation token.

Returns

Applies to