Linter rule - no unused parameters
This rule finds parameters that aren't referenced anywhere in the Bicep file.
Linter rule code
Use the following value in the Bicep configuration file to customize rule settings:
no-unused-params
Solution
To reduce confusion in your template, delete any parameters that are defined but not used. This test finds any parameters that aren't used anywhere in the template. Eliminating unused parameters also makes it easier to deploy your template because you don't have to provide unnecessary values.
You can use Quick Fix to remove the unused parameters:
Next steps
For more information about the linter, see Use Bicep linter.
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за