WithConnectionProperty
Method
func (ResourceWithConnectionString) WithConnectionProperty( name string, value any,) ResourceWithConnectionStringSignature
method
WithConnectionProperty builderAdds a connection property annotation to the resource being built.
WithConnectionProperty( name string, value any,) ResourceWithConnectionStringParameters
namestringThe name of the connection property to add.valueanyThe value to assign to the connection property, specified as a string or reference expression.Returns
ResourceWithConnectionString The same resource builder instance with the specified connection property annotation applied.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: