ClickHouseServerResource
Classnet10.0
A resource that represents a ClickHouse container.
namespace Aspire.Hosting.ApplicationModel;
public class ClickHouseServerResource : 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
10 members
Constructors2
Section titled ConstructorsClickHouseServerResource(string) A resource that represents a ClickHouse container.
ClickHouseServerResource(string, ParameterResource?, ParameterResource?) Initializes a resource that represents a ClickHouse container.
Properties8
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the ClickHouse server.
DatabasesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the database name.
HostgetEndpointReferenceExpression Gets the host expression for this resource.
PasswordParametergetParameterResource? Gets the parameter that contains the ClickHouse server password.
PortgetEndpointReferenceExpression Gets the port expression for this resource.
PrimaryEndpointgetEndpointReference Gets the primary endpoint for the ClickHouse server.
UserNameParametergetParameterResource? Gets the parameter that contains the ClickHouse server username.
UserNameReferencegetReferenceExpression Gets a reference to the user name for the ClickHouse server.