Beispiel #1
0
 /// <summary>
 /// Lists the MongoDB databases under an existing Azure Cosmos DB database
 /// account.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of an Azure resource group.
 /// </param>
 /// <param name='accountName'>
 /// Cosmos DB database account name.
 /// </param>
 public static IEnumerable <MongoDBDatabaseGetResults> ListMongoDBDatabases(this IMongoDBResourcesOperations operations, string resourceGroupName, string accountName)
 {
     return(operations.ListMongoDBDatabasesAsync(resourceGroupName, accountName).GetAwaiter().GetResult());
 }