14
Oct
In the Bicep Language, just like in the arm template, variables and parameters have a data type: string, int, array, object, Boolean, secure string, and secure object.Each datatype has its properties you can use in your bicep files. But did you know that you can build your datatype?Creating your own or user-defined datatype has some advantages: better control over parameters and user input, limiting the number of parameters and variables for the same resources, and better-readable code.Let's dive deep into user-defined data types.The syntax to create a user-defined type is simple type nameOfType = Type definition Enter fullscreen mode Exit…