Hello TM,
In another QA, there's a question similar to yours, where it's mentioned that the API has been removed from the data plane and replaced with the management plane API for querying deployments.
Although the use cases might differ slightly, this could at least partially resolve your issue.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/deployments?api-version=2023-05-01
Sample Response
{
"value": [
{
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.CognitiveServices/accounts/accountName/deployments/deploymentName",
"name": "deploymentName",
"type": "Microsoft.CognitiveServices/accounts/deployments",
"properties": {
"model": {
"format": "OpenAI",
"name": "ada",
"version": "1"
},
"scaleSettings": {
"scaleType": "Manual",
"capacity": 1
},
"provisioningState": "Succeeded"
}
}
]
}
Best regards,
Charlie
If you find my response helpful, please consider accepting this answer and voting 'yes' to support the community. Thank you!