Compartilhar via


SipRoutingClient.SetRoutes Método

Definição

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

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

Parâmetros

routes
IReadOnlyList<SipTrunkRoute>

Nova lista de SipTrunkRoute.

cancellationToken
CancellationToken

Token de cancelamento opcional.

Retornos

Aplica-se a