DocumentDBServerResource
Class net10.0
A resource that represents a DocumentDB container.
namespace Aspire.Hosting.ApplicationModel;
public class DocumentDBServerResource : Aspire.Hosting.ApplicationModel.ContainerResource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ContainerResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIValueProviderIValueWithReferences
7 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.
Properties5
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.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the DocumentDB server.
UserNameParametergetParameterResource? Gets the parameter that contains the DocumentDB server username.