/// <summary>
 /// Creates or updates an interface endpoint in the specified resource group.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group.
 /// </param>
 /// <param name='interfaceEndpointName'>
 /// The name of the interface endpoint.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the create or update interface endpoint operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <InterfaceEndpoint> BeginCreateOrUpdateAsync(this IInterfaceEndpointsOperations operations, string resourceGroupName, string interfaceEndpointName, InterfaceEndpoint parameters, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, interfaceEndpointName, parameters, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }