feat: implement interactive quota check script with user inputs #128
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces several changes to improve the validation and deployment of AI models in Azure services. Key updates include enhanced parameter validation, better handling of missing deployments, and improved quota checks across regions. The changes span multiple scripts and configuration files, ensuring more robust and user-friendly workflows.
Enhancements to Parameter Validation and Error Handling:
scripts/validate_model_deployment_quota.sh
andscripts/validate_model_deployment_quota.ps1
for consistency (--subscription
→--SubscriptionId
,--location
→--Location
,--models-parameter
→--ModelsParameter
) and improved error messages for missing or unknown parameters. [1] [2].sh
and.ps1
scripts, skipping quota validation if all required deployments are provisioned. [1] [2]Improvements to Quota Validation Logic:
scripts/validate_model_quota.ps1
to allow user selection of regions with sufficient quota, including a table display of all checked regions. [1] [2]Configuration Updates:
interactive
mode for PowerShell hooks inazure.yaml
totrue
for better user interaction during execution.AZURE_AIFOUNDRY_NAME
ininfra/main.bicep
for easier reference to AI Foundry resources.Resource Adjustments:
infra/main.parameters.json
from 200 to 50 to optimize resource usage.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information