The Azure Naming Tool is a .NET 8 Blazor application, with a RESTful API. The UI consists of several pages to allow the configuration and generation of Azure Resource names. The API provides a programmatic interface for the functionality.
Describe the bug
When generating a name for Compute/VirtualMachines - Windows (vm), the max length does not appear to be validated, which allows names longer than 15 characters to be generated successfully.
To Reproduce
Steps to reproduce the behavior:
Go to 'Generate'
Click on 'Type to search resource types'
Scroll down to 'Compute/virtualMachines - Windows (vm)'
Fill out parameters and pad out instance field to make it longer than 15 characters
Click Generate
Expected behavior
Validation fails and error is returned indicating name is too long.
Screenshots
Installation Method
Azure Web App Using GitHub Action
Thank you for your feedback The issue is related to the auto-complete field on the Generate page and identifying the correct resource type to validate. This will be fixed int he next release.
Describe the bug When generating a name for Compute/VirtualMachines - Windows (vm), the max length does not appear to be validated, which allows names longer than 15 characters to be generated successfully.
To Reproduce Steps to reproduce the behavior:
Expected behavior Validation fails and error is returned indicating name is too long.
Screenshots
Installation Method Azure Web App Using GitHub Action
Additional context