/// <summary>
 /// Add Database principals permissions.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The name of the resource group containing the Kusto cluster.
 /// </param>
 /// <param name='clusterName'>
 /// The name of the Kusto cluster.
 /// </param>
 /// <param name='databaseName'>
 /// The name of the database in the Kusto cluster.
 /// </param>
 /// <param name='databasePrincipalsToAdd'>
 /// List of database principals to add.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <DatabasePrincipalListResult> AddPrincipalsAsync(this IDatabasesOperations operations, string resourceGroupName, string clusterName, string databaseName, DatabasePrincipalListRequest databasePrincipalsToAdd, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.AddPrincipalsWithHttpMessagesAsync(resourceGroupName, clusterName, databaseName, databasePrincipalsToAdd, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }