Skip to content
DocsTry Aspire
DocsTry

ClickHouseServerResource Properties

ClassProperties8 members
A resource that represents a ClickHouse container.
ConnectionStringExpressionSection titled ConnectionStringExpressionReferenceExpression
Gets the connection string expression for the ClickHouse server.
public ReferenceExpression ConnectionStringExpression { get; }
DatabasesSection titled DatabasesIReadOnlyDictionary<string, string>
A dictionary where the key is the resource name and the value is the database name.
public IReadOnlyDictionary<string, string> Databases { get; }
HostSection titled HostEndpointReferenceExpression
Gets the host expression for this resource.
public EndpointReferenceExpression Host { get; }
PasswordParameterSection titled PasswordParameternullableParameterResource?
Gets the parameter that contains the ClickHouse server password.
public ParameterResource? PasswordParameter { get; }
PortSection titled PortEndpointReferenceExpression
Gets the port expression for this resource.
public EndpointReferenceExpression Port { get; }
PrimaryEndpointSection titled PrimaryEndpointEndpointReference
Gets the primary endpoint for the ClickHouse server.
public EndpointReference PrimaryEndpoint { get; }
UserNameParameterSection titled UserNameParameternullableParameterResource?
Gets the parameter that contains the ClickHouse server username.
public ParameterResource? UserNameParameter { get; }
UserNameReferenceSection titled UserNameReferenceReferenceExpression
Gets a reference to the user name for the ClickHouse server.
public ReferenceExpression UserNameReference { get; }
Returns the user name parameter if specified, otherwise returns the default user name "default".