Compartilhar via


SipRoutingClient.SetTrunksAsync Método

Definição

Defina a configuração de troncos SIP para o recurso. Outras configurações não são afetadas.

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

Parâmetros

trunks
IEnumerable<SipTrunk>

Nova coleção de SipTrunk.

cancellationToken
CancellationToken

Token de cancelamento opcional.

Retornos

Aplica-se a