Azure / azure-cli-extensions

Public Repository for Extensions of Azure CLI.

Home Page:https://docs.microsoft.com/en-us/cli/azure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ az ml online-endpoint create ] can not create an Endpoint with a previously used name.

anshgandhi opened this issue · comments

Describe the bug

  1. create an endpoint -> 'endpoint_1'
  2. delete the endpoint -> 'endpoint_1'
  3. re-create an endpoint -> 'endpoint_1'

Related command

az ml online-endpoint create -n endpoint_1

Errors

"code": "NotFound",
"message": "The specified resource was not found.",
"details": [
{
"code": "InferencingClientCallFailed",
"message": "{{"title":"Not Found"}}",
"details": [],
"additionalInfo": []
}
],

Issue script & Debug output

"code": "NotFound",
"message": "The specified resource was not found.",
"details": [
{
"code": "InferencingClientCallFailed",
"message": "{{"title":"Not Found"}}",
"details": [],
"additionalInfo": []
}
],

Expected behavior

should be able to re-use an endpoint name that has already been deleted.

Environment Summary

azure-cli 2.61.0
core 2.61.0
telemetry 1.1.0

Extensions:
ml 2.26.0

Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1

Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]

Additional context

No response

Thank you for opening this issue, we will look into it.