DocumentDBDatabaseResource
Class net10.0
A resource that represents a DocumentDB database. This is a child resource of a
DocumentDBServerResource. namespace Aspire.Hosting.ApplicationModel;
public class DocumentDBDatabaseResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.DocumentDBServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<DocumentDBServerResource>IValueProviderIValueWithReferences
Constructors1
Section titled ConstructorsDocumentDBDatabaseResource(string, string, DocumentDBServerResource) A resource that represents a DocumentDB database. This is a child resource of a
DocumentDBServerResource. Properties3
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the DocumentDB database.
DatabaseNamegetstring Gets the database name.
Parentget Gets the parent DocumentDB container resource.