Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddBicepParameter

Method
📦 Aspire.Hosting.Azure.Provisioning v17.0.0-preview.1.26565.2
func (AzureResourceInfrastructure) AddBicepParameter(
bicepIdentifier string,
type_ ProvisioningValueType,
options ...*AddBicepParameterOptions,
) ProvisioningParameterProxy

Signature

methodAddBicepParameter
Adds a Bicep parameter. Only string, object, and GUID parameters can be secure.
AddBicepParameter(
bicepIdentifier string,
type_ ProvisioningValueType,
options ...*AddBicepParameterOptions,
) ProvisioningParameterProxy
bicepIdentifierstring
type_ProvisioningValueType
options...*AddBicepParameterOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddBicepParameterOptions argument.

IsSecure*bool
ProvisioningParameterProxy

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: