ParameterResource Properties
ClassProperties8 members
Represents a parameter resource.
Represents how the default value of the parameter should be retrieved.
public ParameterDefault? Default { get; set; } Gets a description of the parameter resource.
public string? Description { get; set; } Gets or sets a value indicating whether the description should be rendered as Markdown.
public bool EnableDescriptionMarkdown { get; set; } Gets or sets a value indicating whether the parameter is a connection string.
public bool IsConnectionString { get; set; } Gets a value indicating whether this parameter must have a value before it can be resolved.
public bool Required { get; }Remarks
Use
ParameterResourceBuilderExtensions.AsRequired or ParameterResourceBuilderExtensions.AsOptional to change this value. Optional parameters that do not have values resolve to null from ParameterResource.GetValueAsync . The obsolete ParameterResource.Value property returns an empty string for unset optional parameters because its signature is non-nullable. Gets a value indicating whether the parameter is secret.
public bool Secret { get; } Gets the value of the parameter.
public string Value { get; }Remarks
This property is obsolete. Use
ParameterResource.GetValueAsync for async access or pass the ParameterResource directly to methods that accept it (e.g., environment variables). Gets the expression used in the manifest to reference the value of the parameter.
public string ValueExpression { get; }