共用方式為


SipRoutingClient.SetTrunk(SipTrunk, CancellationToken) Method

Definition

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

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

Parameters

trunk
SipTrunk

SIP trunk configuration.

cancellationToken
CancellationToken

Optional cancellation token.

Returns

Applies to