Azure-docs: Validation rule for Shared Image Gallery and Image Definition

Created on 16 Nov 2020  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

The validation rule for Shared Image gallery and Image definition names in the Documentation page may need to be updated. The current pattern mentioned in the document is '^[^_\W][\w-._]{0,79}(?<![-.])$ which still allows dashes. My tests show that the right pattern would be ^[^_\W][\w_._]{0,79}(?<![-.])$ .

Page : https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/virtual-machines/troubleshooting-shared-images.md

Please advise.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri3 assigned-to-author doc-bug imaginsubsvc triaged virtual-machinesvc

All 4 comments

@benhurjoel
Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate.

@olayemio
Can you please check and add your comments on this doc update request as applicable.

We will make the changes in the error messages of our API and once they have been updated, I will update the error message.

Thank you @VikasPullagura-MSFT and @olayemio

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulmarshall picture paulmarshall  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

Ponant picture Ponant  Â·  3Comments