Open marcobaldo opened 3 years ago
Would be helpful if az next recommended steps if the issue is pretty common on the internet, not just based on the usage of the CLI.
@marcobaldo Hi, this is a very good suggestion! !
Since we don't collect enough information about similar errors, so error solution recommendation is not a mature feature at present, there are often no recommendations.
We have a data scientist team that uses crawlers to get those information and do things like that. (TRY THIS
is the recommendation they provide). We will consider integrating these two capabilities in the future.
By the way, may I ask have you experienced other two types of recommendation? (command recommendation and E2E scenario recommendation) If so, do you have any experience and suggestions on them?
Hi @zhoxing-ms! I have not actually experienced either. I was looking for an E2E scenario when trying to create a webapp, actually, but didn't get any recommendations.
Context is, I ran az webapp create
, but after the first try, realized I also needed a corresponding appservice plan. In the portal, you can do the creation in a single step. So when I provided az webapp create --resource-group xyz --name abc
, I was missing the --plan
option. Upon running az next
, I was expecting it to recommend me something similar to the guide due to it just a missing parameter, but I did not get a recommendation. Additionally I was hoping it either recommend me:
az appservice plan list
to get my existing plans; oraz appservice plan create ....
to create a new plan; and thenThis is my most common usage scenario since I tend to deploy a lot of web apps (with new plans) and was hoping to have easy recommendations for next steps!
[MarcFeedback] I understand the tool will recommend solutions based on what other users frequently do. However, trivial samples like the first two are similar to the first sample in the guidance doc but in my case did not recommend anything.
For this next one, the error I got was pretty unhelpful - invalid status code 'Conflict'.
az next
had no recommendation, but later on I found out through the internet that it's due to the appservice plan not being empty.Would be helpful if
az next
recommended steps if the issue is pretty common on the internet, not just based on the usage of the CLI.The last one seems to be a separate CLI issue, and
az next
didn't know what to do. I've yet to figure out what the problem is so I can file a separate report.