MongoDBDatabaseResource

Handle
📦 Aspire.Hosting.MongoDB v17.0.0
interface MongoDBDatabaseResource
extends IExpressionValue,
IManifestExpressionProvider,
IResource,
IResourceWithConnectionString,
IResourceWithParent,
MongoDBServerResource]],
IValueProvider,
IValueWithReferences {
readonly connectionStringExpression: ReferenceExpression;
readonly databaseName: string;
readonly parent: MongoDBServerResource;
readonly resourceTypeDisplayName: string;
readonly uriExpression: ReferenceExpression;
}

Properties

propertyconnectionStringExpressionReferenceExpressionget
Gets the connection string expression for the MongoDB database.
propertydatabaseNamestringget
Gets the database name.
propertyparentMongoDBServerResourceget
Gets the parent MongoDB container resource.
propertyresourceTypeDisplayNamestringget
Gets the ResourceTypeDisplayName property
propertyuriExpressionReferenceExpressionget
Gets the connection URI expression for the MongoDB database.