/// <summary>
 /// Create a new SIP Trunk Endpoint IP Address
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// </param>
 /// <param name='id'>
 /// SIP Trunk Id
 /// </param>
 /// <param name='model'>
 /// Endpoint Model
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <SipTrunkEndpointModel> CreateTrunkEndpointAsync(this ITrunks operations, string subscriptionId, int id, NewSipTrunkEndpointModel model, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateTrunkEndpointWithHttpMessagesAsync(subscriptionId, id, model, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Create a new SIP Trunk Endpoint IP Address
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='subscriptionId'>
 /// </param>
 /// <param name='id'>
 /// SIP Trunk Id
 /// </param>
 /// <param name='model'>
 /// Endpoint Model
 /// </param>
 public static SipTrunkEndpointModel CreateTrunkEndpoint(this ITrunks operations, string subscriptionId, int id, NewSipTrunkEndpointModel model)
 {
     return(operations.CreateTrunkEndpointAsync(subscriptionId, id, model).GetAwaiter().GetResult());
 }