【发布时间】:2022-09-23 03:37:13
【问题描述】:
类似于如何验证二头肌模块输入参数(例如允许的字符串长度),是否可以验证字符串变量的长度?
param input1 string
param input2 string
var combo = \'${input1}${input2}\'
// Validate length of \'combo\' to be below or equal to 64 characters here
原因是我希望能够在飞行前验证期间捕获太长(超过 64 个字符)的资源部署名称。
标签: azure azure-resource-manager azure-bicep