Skip to content
Docs Try Aspire

IResourceWithConnectionString

Interface TypeScript
📦 Aspire.Hosting.Azure.PostgreSQL v13.2.0-preview.1.26159.1
interface IResourceWithConnectionString {
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString;
withConnectionPropertyValue(
name: string,
value: string): IResourceWithConnectionString;
}

Methods

method withConnectionProperty builder
Adds a connection property with a reference expression
withConnectionProperty(
name: string,
value: ReferenceExpression): IResourceWithConnectionString
name string
value ReferenceExpression
IResourceWithConnectionString
method withConnectionPropertyValue builder
Adds a connection property with a string value
withConnectionPropertyValue(
name: string,
value: string): IResourceWithConnectionString
name string
value string
IResourceWithConnectionString