BicepValueFactoryProxy
Handle
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;}32 members
Methods
method
asString Creates an explicitly typed Bicep string expression.
asString(value: BicepValueProxy): BicepValueProxyParameters
valueBicepValueProxy Returns
BicepValueProxy method
binaryCreates a binary Bicep expression.
binary( left: BicepValueProxy, operator: BinaryBicepOperator, right: BicepValueProxy): BicepValueProxyParameters
leftBicepValueProxy operatorBinaryBicepOperator rightBicepValueProxy Returns
BicepValueProxy method
booleanCreates a Boolean literal.
boolean(value: boolean): BicepValueProxyParameters
valuebooleanReturns
BicepValueProxy method
concatCreates a Bicep expression that concatenates string values.
concat(values: BicepValueProxy[]): BicepValueProxyParameters
valuesBicepValueProxy[] Returns
BicepValueProxy method
conditionalCreates a conditional Bicep expression.
conditional( condition: BicepValueProxy, consequent: BicepValueProxy, alternate: BicepValueProxy): BicepValueProxyParameters
conditionBicepValueProxy consequentBicepValueProxy alternateBicepValueProxy Returns
BicepValueProxy method
createGuid Creates a deterministic GUID from the supplied values.
createGuid(values: BicepValueProxy[]): BicepValueProxyParameters
valuesBicepValueProxy[] Returns
BicepValueProxy method
createStringBuilder Creates a builder for an interpolated Bicep string.
createStringBuilder(): BicepStringBuilderProxyReturns
BicepStringBuilderProxy method
deploymentCreates an expression for the current deployment.
deployment(): BicepValueProxyReturns
BicepValueProxy method
doubleCreates a double-precision numeric literal.
double(value: number): BicepValueProxyParameters
valuenumberReturns
BicepValueProxy method
functionCreates a Bicep function-call expression.
function( name: string, args: BicepValueProxy[]): BicepValueProxyParameters
namestringargsBicepValueProxy[] Returns
BicepValueProxy method
guidCreates a GUID literal.
guid(value: guid): BicepValueProxyParameters
valueguidReturns
BicepValueProxy method
identifierCreates a Bicep identifier expression.
identifier(bicepIdentifier: string): BicepValueProxyParameters
bicepIdentifier stringReturns
BicepValueProxy method
indexCreates an expression that accesses an indexed value.
index( value: BicepValueProxy, index: string | number | BicepValueProxy): BicepValueProxyParameters
valueBicepValueProxy indexstring | number | BicepValueProxy Returns
BicepValueProxy method
integerCreates an integer literal.
integer(value: number): BicepValueProxyParameters
valuenumberReturns
BicepValueProxy method
locationCreates an Azure location literal.
location(name: string): BicepValueProxyParameters
namestringReturns
BicepValueProxy method
memberCreates an expression that accesses a named member.
member( value: BicepValueProxy, member: string): BicepValueProxyParameters
valueBicepValueProxy memberstringReturns
BicepValueProxy method
parameterCreates a Bicep parameter reference for an Aspire parameter.
parameter( parameter: ParameterResource, bicepIdentifier?: string): BicepValueProxyParameters
parameterParameterResource bicepIdentifier stringoptionalReturns
BicepValueProxy method
parseJson Creates an expression that parses a JSON string.
parseJson(value: BicepValueProxy): BicepValueProxyParameters
valueBicepValueProxy Returns
BicepValueProxy method
referenceExpression Creates a Bicep parameter reference for an Aspire reference expression.
referenceExpression( expression: ReferenceExpression, bicepIdentifier?: string, isSecure?: boolean): BicepValueProxyParameters
expressionReferenceExpression bicepIdentifier stringoptionalisSecure booleanoptionalReturns
BicepValueProxy method
resourceGroup Creates an expression for the current resource group.
resourceGroup(): BicepValueProxyReturns
BicepValueProxy method
resourceIdentifier Creates a Bicep identifier expression for a provisionable resource.
resourceIdentifier(resource: ProvisionableResourceProxy): BicepValueProxyParameters
resourceProvisionableResourceProxy Returns
BicepValueProxy method
stringCreates a string literal.
string(value: string): BicepValueProxyParameters
valuestringReturns
BicepValueProxy method
subscriptionCreates an expression for the current subscription.
subscription(): BicepValueProxyReturns
BicepValueProxy method
subscriptionResourceId Creates a subscription-scoped resource identifier.
subscriptionResourceId(values: BicepValueProxy[]): BicepValueProxyParameters
valuesBicepValueProxy[] Returns
BicepValueProxy method
takeCreates a Bicep expression that takes characters from the start of a string.
take( value: string | BicepValueProxy, count: number | BicepValueProxy): BicepValueProxyParameters
valuestring | BicepValueProxy countnumber | BicepValueProxy Returns
BicepValueProxy method
tenantCreates an expression for the current tenant.
tenant(): BicepValueProxyReturns
BicepValueProxy method
timeSpan Creates a time-span literal.
timeSpan(value: timespan): BicepValueProxyParameters
valuetimespanReturns
BicepValueProxy method
toLower Creates a lowercase string expression.
toLower(value: BicepValueProxy): BicepValueProxyParameters
valueBicepValueProxy Returns
BicepValueProxy method
toUpper Creates an uppercase string expression.
toUpper(value: BicepValueProxy): BicepValueProxyParameters
valueBicepValueProxy Returns
BicepValueProxy method
unaryCreates a unary Bicep expression.
unary( operator: UnaryBicepOperator, value: BicepValueProxy): BicepValueProxyParameters
operatorUnaryBicepOperator valueBicepValueProxy Returns
BicepValueProxy method
uniqueString Creates a deterministic unique string from the supplied values.
uniqueString(values: BicepValueProxy[]): BicepValueProxyParameters
valuesBicepValueProxy[] Returns
BicepValueProxy method
uriCreates a URI literal.
uri(value: uri): BicepValueProxyParameters
valueuriReturns
BicepValueProxy