Compartilhar via


SipRoutingClient.SetTrunk(SipTrunk, CancellationToken) Método

Definição

Defina SipTrunk para o recurso. Outras configurações não são afetadas.

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

Parâmetros

trunk
SipTrunk

Configuração do tronco SIP.

cancellationToken
CancellationToken

Token de cancelamento opcional.

Retornos

Aplica-se a