withDescription

Method
📦 Aspire.Hosting v17.0.0
interface ParameterResource {
// ... omitted for brevity
withDescription(
description: string,
enableMarkdown?: boolean): ParameterResource;
}

Signature

methodwithDescriptionbuilder
Sets the description of the parameter resource.
withDescription(
description: string,
enableMarkdown?: boolean): ParameterResource
descriptionstringThe parameter description.
enableMarkdownbooleanoptional= FalseA value indicating whether the description should be rendered as Markdown. `true` allows the description to contain Markdown elements such as links, text decoration and lists.
ParameterResource

Applies to

This method applies to the following types: