Skip to content

Conversation

@Priyanka-Microsoft
Copy link
Contributor

Purpose

  • ...
    This pull request introduces a new script, quota_check_params.sh, to automate the process of checking Azure Cognitive Services quota availability for specified models and regions. The script provides flexibility for user input, robust error handling, and detailed logging for better usability.

Key Features and Changes:

Script Functionality:

  • Added a new script, quota_check_params.sh, to check Azure Cognitive Services quotas for specified models and regions. The script supports user-provided inputs for models and regions, with defaults provided if none are specified.

User Input and Configuration:

  • Introduced command-line arguments (--models, --regions, --verbose) to allow users to customize the models, regions, and verbosity of the script. Default values are used if arguments are not provided.

Azure Subscription Handling:

  • Implemented logic to automatically select a subscription if only one is available or prompt the user to select one from multiple active subscriptions. The selected subscription is then set for the session.

Quota Validation:

  • Added functionality to validate quotas for specified models and regions, including detailed checks for available capacity and logging of insufficient quotas. The results are displayed in a formatted table.

Logging and Error Handling:

  • Introduced a log_verbose function for conditional logging based on the verbosity setting and robust error

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid

  • ...

Other Information

@Roopan-Microsoft Roopan-Microsoft merged commit 8ec3233 into byoc-researcher Jul 11, 2025
5 checks passed
@Roopan-Microsoft Roopan-Microsoft deleted the feat/quota-check-script-and-guide branch July 11, 2025 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants