Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
410 stars 198 forks source link

[Spike] Preflight Checks API integration #468

Open savannahostrowski opened 2 years ago

savannahostrowski commented 2 years ago

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)
Austinauth commented 2 years ago

@savannahostrowski a few clarifying questions:

savannahostrowski commented 2 years ago
  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 commented 2 years ago

Moved this to November!

savannahostrowski commented 1 year ago

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

savannahostrowski commented 1 year ago

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

rajeshkamal5050 commented 7 months ago

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

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

ChrisHMSFT commented 7 months ago

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

hemarina commented 2 months ago

Preflight API has validation and deployment API. We already have deployment API. The enhancement is to add validation API to check failure before provision. The validation API is not working with all nested resources and our todo templates are using nested resources/module. However, adding validation API will help users validating their custom non-nested resources. There is a bug in azure-sdk-for-go preflight validate function: https://github.com/Azure/azure-sdk-for-go/issues/23350 needs to resolve in order to add the enhancement to azd.