property
primaryEndpoint EndpointReference getGets the primary endpoint for the ClickHouse server.
API references are intentionally omitted from this search. To find API references, please search these dedicated API pages instead:
interface ClickHouseServerResource extends IComputeResource, IExpressionValue, IManifestExpressionProvider, IResource, IResourceWithArgs, IResourceWithConnectionString, IResourceWithEndpoints, IResourceWithEnvironment, IResourceWithProbes, IResourceWithWaitSupport, IValueProvider, IValueWithReferences { readonly connectionStringExpression: ReferenceExpression; readonly databases: Dict<string,string>; readonly host: EndpointReferenceExpression; readonly passwordParameter: ParameterResource; readonly port: EndpointReferenceExpression; readonly primaryEndpoint: EndpointReference; readonly userNameParameter: ParameterResource; readonly userNameReference: ReferenceExpression; addDatabase( name: string, databaseName?: string): ClickHouseDatabaseResource; withDataBindMount( source: string, isReadOnly?: boolean): ClickHouseServerResource; withDataVolume( name?: string, isReadOnly?: boolean): ClickHouseServerResource;}connectionStringExpression ReferenceExpression getdatabasesDict<string,string> gethostEndpointReferenceExpression getpasswordParameter ParameterResource getportEndpointReferenceExpression getprimaryEndpoint EndpointReference getuserNameParameter ParameterResource getuserNameReference ReferenceExpression getaddDatabase( name: string, databaseName?: string): ClickHouseDatabaseResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.databaseName stringoptionalThe name of the database. If not provided, this defaults to the same value as `name`.Returns
ClickHouseDatabaseResource withDataBindMount( source: string, isReadOnly?: boolean): ClickHouseServerResourceParameters
sourcestringThe source directory on the host to mount into the container.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only mount.Returns
ClickHouseServerResource withDataVolume( name?: string, isReadOnly?: boolean): ClickHouseServerResourceParameters
namestringoptionalThe name of the volume. Defaults to an auto-generated name based on the application and resource names.isReadOnly booleanoptional= FalseA flag that indicates if this is a read-only volume.Returns
ClickHouseServerResource