IDistributedApplicationBuilder.addParameterFromConfiguration
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addParameterFromConfiguration( name: string, configurationKey: string, secret?: boolean): ParameterResource;}Signature
method
addParameterFromConfiguration builderAdds a parameter resource to the application, with a value coming from configuration.
addParameterFromConfiguration( name: string, configurationKey: string, secret?: boolean): ParameterResourceParameters
namestringName of parameter resourceconfigurationKey stringConfiguration key used to get the value of the parametersecretbooleanoptional= FalseOptional flag indicating whether the parameter should be regarded as secret.Returns
ParameterResource Defined on
This method is defined on the following type: