Watch Aspire live streamsDocsTry Aspire

BicepValueFactoryProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning v13.6.0-preview.1.26478.8
interface BicepValueFactoryProxy {
asString(value: BicepValueProxy): BicepValueProxy;
binary(
left: BicepValueProxy,
operator: BinaryBicepOperator,
right: BicepValueProxy): BicepValueProxy;
boolean(value: boolean): BicepValueProxy;
concat(values: BicepValueProxy[]): BicepValueProxy;
conditional(
condition: BicepValueProxy,
consequent: BicepValueProxy,
alternate: BicepValueProxy): BicepValueProxy;
createGuid(values: BicepValueProxy[]): BicepValueProxy;
createStringBuilder(): BicepStringBuilderProxy;
deployment(): BicepValueProxy;
double(value: number): BicepValueProxy;
function(
name: string,
args: BicepValueProxy[]): BicepValueProxy;
guid(value: guid): BicepValueProxy;
identifier(bicepIdentifier: string): BicepValueProxy;
index(
value: BicepValueProxy,
index: string | number | BicepValueProxy): BicepValueProxy;
integer(value: number): BicepValueProxy;
location(name: string): BicepValueProxy;
member(
value: BicepValueProxy,
member: string): BicepValueProxy;
parameter(
parameter: ParameterResource,
bicepIdentifier?: string): BicepValueProxy;
parseJson(value: BicepValueProxy): BicepValueProxy;
referenceExpression(
expression: ReferenceExpression,
bicepIdentifier?: string,
isSecure?: boolean): BicepValueProxy;
resourceGroup(): BicepValueProxy;
resourceIdentifier(resource: ProvisionableResourceProxy): BicepValueProxy;
string(value: string): BicepValueProxy;
subscription(): BicepValueProxy;
subscriptionResourceId(values: BicepValueProxy[]): BicepValueProxy;
take(
value: string | BicepValueProxy,
count: number | BicepValueProxy): BicepValueProxy;
tenant(): BicepValueProxy;
timeSpan(value: timespan): BicepValueProxy;
toLower(value: BicepValueProxy): BicepValueProxy;
toUpper(value: BicepValueProxy): BicepValueProxy;
unary(
operator: UnaryBicepOperator,
value: BicepValueProxy): BicepValueProxy;
uniqueString(values: BicepValueProxy[]): BicepValueProxy;
uri(value: uri): BicepValueProxy;
}

Methods

methodasString
Creates an explicitly typed Bicep string expression.
asString(value: BicepValueProxy): BicepValueProxy
valueBicepValueProxy
BicepValueProxy
methodbinary
Creates a binary Bicep expression.
binary(
left: BicepValueProxy,
operator: BinaryBicepOperator,
right: BicepValueProxy): BicepValueProxy
leftBicepValueProxy
operatorBinaryBicepOperator
rightBicepValueProxy
BicepValueProxy
methodboolean
Creates a Boolean literal.
boolean(value: boolean): BicepValueProxy
valueboolean
BicepValueProxy
methodconcat
Creates a Bicep expression that concatenates string values.
concat(values: BicepValueProxy[]): BicepValueProxy
valuesBicepValueProxy[]
BicepValueProxy
Creates a conditional Bicep expression.
conditional(
condition: BicepValueProxy,
consequent: BicepValueProxy,
alternate: BicepValueProxy): BicepValueProxy
conditionBicepValueProxy
consequentBicepValueProxy
alternateBicepValueProxy
BicepValueProxy
Creates a deterministic GUID from the supplied values.
createGuid(values: BicepValueProxy[]): BicepValueProxy
valuesBicepValueProxy[]
BicepValueProxy
Creates a builder for an interpolated Bicep string.
createStringBuilder(): BicepStringBuilderProxy
BicepStringBuilderProxy
Creates an expression for the current deployment.
deployment(): BicepValueProxy
BicepValueProxy
methoddouble
Creates a double-precision numeric literal.
double(value: number): BicepValueProxy
valuenumber
BicepValueProxy
methodfunction
Creates a Bicep function-call expression.
function(
name: string,
args: BicepValueProxy[]): BicepValueProxy
namestring
argsBicepValueProxy[]
BicepValueProxy
methodguid
Creates a GUID literal.
guid(value: guid): BicepValueProxy
valueguid
BicepValueProxy
Creates a Bicep identifier expression.
identifier(bicepIdentifier: string): BicepValueProxy
bicepIdentifierstring
BicepValueProxy
methodindex
Creates an expression that accesses an indexed value.
index(
value: BicepValueProxy,
index: string | number | BicepValueProxy): BicepValueProxy
valueBicepValueProxy
indexstring | number | BicepValueProxy
BicepValueProxy
methodinteger
Creates an integer literal.
integer(value: number): BicepValueProxy
valuenumber
BicepValueProxy
methodlocation
Creates an Azure location literal.
location(name: string): BicepValueProxy
namestring
BicepValueProxy
methodmember
Creates an expression that accesses a named member.
member(
value: BicepValueProxy,
member: string): BicepValueProxy
valueBicepValueProxy
memberstring
BicepValueProxy
methodparameter
Creates a Bicep parameter reference for an Aspire parameter.
parameter(
parameter: ParameterResource,
bicepIdentifier?: string): BicepValueProxy
parameterParameterResource
bicepIdentifierstringoptional
BicepValueProxy
methodparseJson
Creates an expression that parses a JSON string.
parseJson(value: BicepValueProxy): BicepValueProxy
valueBicepValueProxy
BicepValueProxy
Creates a Bicep parameter reference for an Aspire reference expression.
referenceExpression(
expression: ReferenceExpression,
bicepIdentifier?: string,
isSecure?: boolean): BicepValueProxy
expressionReferenceExpression
bicepIdentifierstringoptional
isSecurebooleanoptional
BicepValueProxy
Creates an expression for the current resource group.
resourceGroup(): BicepValueProxy
BicepValueProxy
Creates a Bicep identifier expression for a provisionable resource.
resourceIdentifier(resource: ProvisionableResourceProxy): BicepValueProxy
resourceProvisionableResourceProxy
BicepValueProxy
methodstring
Creates a string literal.
string(value: string): BicepValueProxy
valuestring
BicepValueProxy
Creates an expression for the current subscription.
subscription(): BicepValueProxy
BicepValueProxy
Creates a subscription-scoped resource identifier.
subscriptionResourceId(values: BicepValueProxy[]): BicepValueProxy
valuesBicepValueProxy[]
BicepValueProxy
methodtake
Creates a Bicep expression that takes characters from the start of a string.
take(
value: string | BicepValueProxy,
count: number | BicepValueProxy): BicepValueProxy
valuestring | BicepValueProxy
countnumber | BicepValueProxy
BicepValueProxy
methodtenant
Creates an expression for the current tenant.
tenant(): BicepValueProxy
BicepValueProxy
methodtimeSpan
Creates a time-span literal.
timeSpan(value: timespan): BicepValueProxy
valuetimespan
BicepValueProxy
methodtoLower
Creates a lowercase string expression.
toLower(value: BicepValueProxy): BicepValueProxy
valueBicepValueProxy
BicepValueProxy
methodtoUpper
Creates an uppercase string expression.
toUpper(value: BicepValueProxy): BicepValueProxy
valueBicepValueProxy
BicepValueProxy
methodunary
Creates a unary Bicep expression.
unary(
operator: UnaryBicepOperator,
value: BicepValueProxy): BicepValueProxy
operatorUnaryBicepOperator
valueBicepValueProxy
BicepValueProxy
Creates a deterministic unique string from the supplied values.
uniqueString(values: BicepValueProxy[]): BicepValueProxy
valuesBicepValueProxy[]
BicepValueProxy
methoduri
Creates a URI literal.
uri(value: uri): BicepValueProxy
valueuri
BicepValueProxy