DocumentDBServerResource
Classnet10.0
A resource that represents a DocumentDB container.
namespace Aspire.Hosting.ApplicationModel;
public class DocumentDBServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IExpressionValue, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...}ContainerResourceIExpressionValueIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
9 members
Constructors2
Section titled ConstructorsDocumentDBServerResource(string) A resource that represents a DocumentDB container.
DocumentDBServerResource(string, ParameterResource?, ParameterResource?) Initialize a resource that represents a DocumentDB container.
Properties7
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string for the DocumentDB server.
Databasesget The databases created under this server.
PasswordParametergetParameterResource? Gets the parameter that contains the DocumentDB server password.
PostgresConnectionStringExpressiongetReferenceExpression Gets the PostgreSQL connection string for the DocumentDB server in the standard
postgresql://user:password@host:port/postgres URI form. PostgresEndpointgetEndpointReference Gets the PostgreSQL backend endpoint for the DocumentDB server.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the DocumentDB server.
UserNameParametergetParameterResource? Gets the parameter that contains the DocumentDB server username.