Skip to content
Docs Try Aspire

ParameterResource Properties

Class Properties 7 members
Represents a parameter resource.
Represents how the default value of the parameter should be retrieved.
public ParameterDefault? Default { get; set; }
Description Section titled Description nullable string?
Gets a description of the parameter resource.
public string? Description { get; set; }
EnableDescriptionMarkdown Section titled EnableDescriptionMarkdown bool
Gets or sets a value indicating whether the description should be rendered as Markdown.
public bool EnableDescriptionMarkdown { get; set; }
IsConnectionString Section titled IsConnectionString bool
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).
ValueExpression Section titled ValueExpression string
Gets the expression used in the manifest to reference the value of the parameter.
public string ValueExpression { get; }