MongoDBDatabaseResource(String, String, MongoDBServerResource) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.