Skip to content
DocsTry Aspire
DocsTry

ParameterResource Properties

ClassProperties7 members
Represents a parameter resource.
Represents how the default value of the parameter should be retrieved.
public ParameterDefault? Default { get; set; }
DescriptionSection titled Descriptionnullablestring?
Gets a description of the parameter resource.
public string? Description { get; set; }
EnableDescriptionMarkdownSection titled EnableDescriptionMarkdownbool
Gets or sets a value indicating whether the description should be rendered as Markdown.
public bool EnableDescriptionMarkdown { get; set; }
IsConnectionStringSection titled IsConnectionStringbool
Gets or sets a value indicating whether the parameter is a connection string.
public bool IsConnectionString { get; set; }
Gets a value indicating whether the parameter is secret.
public bool Secret { get; }
Gets the value of the parameter.
public string Value { get; }
This property is obsolete. Use ParameterResource.GetValueAsync for async access or pass the ParameterResource directly to methods that accept it (e.g., environment variables).
ValueExpressionSection titled ValueExpressionstring
Gets the expression used in the manifest to reference the value of the parameter.
public string ValueExpression { get; }