SipRoutingClient.SetDomainsAsync 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 SIP domains configuration for resource. Other configuration settings are not affected.
public virtual System.Threading.Tasks.Task<Azure.Response> SetDomainsAsync(System.Collections.Generic.IEnumerable<Azure.Communication.PhoneNumbers.SipRouting.SipDomain> domains, System.Threading.CancellationToken cancellationToken = default);
abstract member SetDomainsAsync : seq<Azure.Communication.PhoneNumbers.SipRouting.SipDomain> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.SetDomainsAsync : seq<Azure.Communication.PhoneNumbers.SipRouting.SipDomain> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function SetDomainsAsync (domains As IEnumerable(Of SipDomain), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- domains
- IEnumerable<SipDomain>
New collection of SipDomain.
- cancellationToken
- CancellationToken
Optional cancellation token.