Understanding ARM errors

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

When working with Azure Resource Manager (ARM) templates, you might see errors like following one:

'The domain name label dnsLBIP is invalid. It must conform to the following
[ERROR] regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.'

In this case DNS Loadbalancer IP address was not named correctly. According to specified Regular-Expression the used name ‘dnsLBIP ‘ is not allowed.

Here are few examples: which might help to understand the expression:

Not correct:

aaaBBB 
111aaa

Correct:

aaa123
aa-bb
aaa-bb-10
mydns-lbip


Posted Mar 11 2016, 09:16 AM by Damir Dobric

Comments

moljac Miljenko Cvjetko wrote re: Understanding ARM errors
on 03-17-2016 10:23

Bottom line:

  + it is case sensitive

  + doesn't like uppercase letters

developers.de is a .Net Community Blog powered by daenet GmbH.