Watch Aspire live streamsDocsTry Aspire

withDescription

Method
📦 Aspire.Hosting v13.6.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: