azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

[Spike] Preflight Checks API integration

Open savannahostrowski opened this issue 2 years ago • 8 comments

image

Steps to repro:

  1. Create a free account
  2. Pick a template (I believe Mandy used a node template)
  3. Choose East US 2 as region (apparently Central US region worked)

savannahostrowski avatar Aug 12 '22 17:08 savannahostrowski

@savannahostrowski a few clarifying questions:

  • Is the first step Create a free account something that the user has done prior to this error in the CLI?
  • Is a free account the same as a regular Azure account you can create using the Azure web UI or is it something more specific/nuanced?

Austinauth avatar Oct 11 '22 16:10 Austinauth

  1. Yes + you'll need to auth with the free account
  2. Free account with $200 credits link - https://azure.microsoft.com/en-us/free/

savannahostrowski avatar Oct 14 '22 21:10 savannahostrowski

Moved this to November!

savannahostrowski avatar Oct 20 '22 00:10 savannahostrowski

This is part of planned work we have for Gallium to improve error messaging.

savannahostrowski avatar Apr 18 '23 22:04 savannahostrowski

Important for: https://github.com/Azure-Samples/azure-search-openai-demo/pull/252

savannahostrowski avatar May 31 '23 16:05 savannahostrowski

There is a Preflight API which is implemented across services/RP's. which does the following types of checks.

  • Static validations
  • Resource name check
  • Quota check
  • Capacity check
  • SKUs
  • Region availability

@ChrisHMSFT do you know the status and coverage of the preflight API's on the RP's?

rajeshkamal5050 avatar Mar 22 '24 05:03 rajeshkamal5050

Yes, all except the capacity check is supported today. You can use: https://learn.microsoft.com/en-us/rest/api/resources/deployments/validate?view=rest-resources-2021-04-01

ChrisHMSFT avatar Mar 22 '24 17:03 ChrisHMSFT