Udostępnij za pośrednictwem


SipRoutingClient.SetRoutes Method

Definition

Set SIP routing configuration for resource. Other configuration settings are not affected.

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

Parameters

cancellationToken
CancellationToken

Optional cancellation token.

Returns

Applies to