MongoDBDatabaseResource(String, String, MongoDBServerResource) Constructor

Definition

A resource that represents a MongoDB database. This is a child resource of a MongoDBServerResource.

public MongoDBDatabaseResource (string name, string databaseName, Aspire.Hosting.ApplicationModel.MongoDBServerResource parent);
new Aspire.Hosting.ApplicationModel.MongoDBDatabaseResource : string * string * Aspire.Hosting.ApplicationModel.MongoDBServerResource -> Aspire.Hosting.ApplicationModel.MongoDBDatabaseResource
Public Sub New (name As String, databaseName As String, parent As MongoDBServerResource)

Parameters

name
String

The name of the resource.

databaseName
String

The database name.

parent
MongoDBServerResource

The MongoDB server resource associated with this database.

Applies to