SipRoutingClient.SetTrunkAsync(SipTrunk, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set SipTrunk for resource. Other configuration settings are not affected.
public virtual System.Threading.Tasks.Task<Azure.Response> SetTrunkAsync (Azure.Communication.PhoneNumbers.SipRouting.SipTrunk trunk, System.Threading.CancellationToken cancellationToken = default);
abstract member SetTrunkAsync : Azure.Communication.PhoneNumbers.SipRouting.SipTrunk * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetTrunkAsync : Azure.Communication.PhoneNumbers.SipRouting.SipTrunk * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetTrunkAsync (trunk As SipTrunk, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- trunk
- SipTrunk
SIP trunk configuration.
- cancellationToken
- CancellationToken
Optional cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET