Skip to content
Docs Try Aspire
Docs Try

DocumentDBServerResource Properties

Class Properties 5 members
A resource that represents a DocumentDB container.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string for the DocumentDB server.
public ReferenceExpression ConnectionStringExpression { get; }
The databases created under this server.
public IReadOnlyList<DocumentDBDatabaseResource> Databases { get; }
PasswordParameter Section titled PasswordParameter nullable ParameterResource?
Gets the parameter that contains the DocumentDB server password.
public ParameterResource? PasswordParameter { get; }
PrimaryEndpoint Section titled PrimaryEndpoint EndpointReference
Gets the primary endpoint for the DocumentDB server.
public EndpointReference PrimaryEndpoint { get; }
UserNameParameter Section titled UserNameParameter nullable ParameterResource?
Gets the parameter that contains the DocumentDB server username.
public ParameterResource? UserNameParameter { get; }