Skip to content

Latest commit

 

History

History
213 lines (157 loc) · 4.09 KB

capabilities.md

File metadata and controls

213 lines (157 loc) · 4.09 KB

Supported capabilities

Functions

Any

Reference

  • Any

Array

Reference

  • array
  • concat
  • contains
  • empty
  • first
  • flatten
  • indexOf
  • intersection
  • items
  • last
  • lastIndexOf
  • length
  • max
  • min
  • range
  • skip
  • take
  • union

CIDR

Reference

  • cidrHost
  • cidrSubnet
  • parseCidr

Date

Reference

  • dateTimeAdd
  • dateTimeFromEpoch
  • dateTimeToEpoch
  • utcNow

Deployment

Reference

  • deployment
  • environment

File

Reference

  • loadFileAsBase64
  • loadJsonContent
  • loadYamlContent
  • loadTextContent

Lambda

Reference

  • filter
  • map
  • reduce
  • sort
  • toObject

Logical

Reference

  • bool

Numeric

Reference

  • int
  • max
  • min

Object

Reference

  • contains
  • empty
  • intersection
  • json
  • length
  • union

Parameters file

Reference

  • readEnvironmentVariable (only used in .bicepparam files)

Resource

Reference

  • extensionResourceId
  • getSecret (used as a resource accessor)
  • listKeys (deprecated)
  • managementGroupResourceId
  • pickZones
  • providers (deprecated)
  • reference
  • resourceId
  • subscriptionResourceId
  • tenantResourceId

Scope

Reference

  • managementGroup
  • resourceGroup
  • subscription
  • tenant

String

Reference

  • base64
  • base64ToJson
  • base64ToString
  • concat
  • contains
  • dataUri
  • dataUriToString
  • empty
  • endsWith
  • first
  • format
  • guid
  • indexOf
  • join
  • last
  • lastIndexOf
  • length
  • newGuid
  • padLeft
  • replace
  • skip
  • split
  • startsWith
  • string
  • substring
  • take
  • toLower
  • toUpper
  • trim
  • uniqueString
  • uri
  • uriComponent
  • uriComponentToString

Operators

Accessor

Reference

  • Index
  • Function
  • Nested resource
  • Property

Comparison

Reference

  • Greater than or equals
  • Greater than
  • Less than or equals
  • Less than
  • Equals
  • Not equals
  • Equals case-insensitive
  • Not equals case-insensitive

Logical

Reference

  • And
  • Or
  • Not (partially, but need further improvements)
  • Coalesce
  • Conditional expression

Numeric

Reference

  • Multiply
  • Divide
  • Modulo
  • Add
  • Subtract
  • Minus