Skip to content
DocsTry Aspire
DocsTry

DocumentDBServerResource Properties

ClassProperties5 members
A resource that represents a DocumentDB container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string for the DocumentDB server.
public ReferenceExpression ConnectionStringExpression { get; }
The databases created under this server.
public IReadOnlyList<DocumentDBDatabaseResource> Databases { get; }
PasswordParameterSection titled PasswordParameternullableParameterResource?
Gets the parameter that contains the DocumentDB server password.
public ParameterResource? PasswordParameter { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary endpoint for the DocumentDB server.
public EndpointReference PrimaryEndpoint { get; }
UserNameParameterSection titled UserNameParameternullableParameterResource?
Gets the parameter that contains the DocumentDB server username.
public ParameterResource? UserNameParameter { get; }