Skip to content
20 changes: 20 additions & 0 deletions sdk/cognitiveservices/azure-mgmt-cognitiveservices/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Release History

## 15.0.0b4 (2026-07-21)

### Bugs Fixed

- `ComputesOperations.begin_create_or_update` now works for asynchronous compute creation that returns
HTTP 202 (Accepted) and no longer polls the compute operation-status endpoint. Previously the create
failed in two ways: the generated code rejected the 202 response with
`Operation returned an invalid status 'Accepted'`, and (when it did poll) the operation-status endpoint
(`.../locations/{location}/computeOperations/{operationId}`) required the
`Microsoft.CognitiveServices/locations/computeOperations/read` permission, so callers allowed to create a
compute but not granted that read permission were shown a misleading `AuthorizationFailed` error even
though the create succeeded. The 202 is now accepted and the long-running operation is tracked by reading
`provisioningState` from the `list` API, so it only needs the `computes/read` permission that callers
already have. The `list` API is used rather than a `get` on the resource because a `GET` on a just-created
compute returns `404 "Cluster not found"` for an extended period while it provisions, whereas `list`
reflects the compute's state from the moment the create is accepted. The poller still blocks until the
operation reaches a terminal state and surfaces the compute's own error detail (e.g. a quota message) on a
genuine provisioning failure; non-2xx create failures still propagate, and callers can opt out of blocking
with `polling=False`.

## 15.0.0b3 (2026-06-26)

### Features Added
Expand Down
4 changes: 2 additions & 2 deletions sdk/cognitiveservices/azure-mgmt-cognitiveservices/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ namespace azure.mgmt.cognitiveservices.aio.operations
) -> ComputeOperationStatus: ...


class azure.mgmt.cognitiveservices.aio.operations.ComputesOperations:
class azure.mgmt.cognitiveservices.aio.operations.ComputesOperations(_ComputesOperationsGenerated):
Comment thread
swarupecenits marked this conversation as resolved.
Comment thread
swarupecenits marked this conversation as resolved.
Comment thread
swarupecenits marked this conversation as resolved.

def __init__(
self,
Expand Down Expand Up @@ -9523,7 +9523,7 @@ namespace azure.mgmt.cognitiveservices.operations
) -> ComputeOperationStatus: ...


class azure.mgmt.cognitiveservices.operations.ComputesOperations:
class azure.mgmt.cognitiveservices.operations.ComputesOperations(_ComputesOperationsGenerated):
Comment thread
swarupecenits marked this conversation as resolved.
Comment thread
swarupecenits marked this conversation as resolved.
Comment thread
swarupecenits marked this conversation as resolved.

def __init__(
self,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
apiMdSha256: 0012caaf8366e50cf017e38419ca00952dd54561af6c897b4c16b53ba2c122b9
parserVersion: 0.3.28
pythonVersion: 3.13.13
apiMdSha256: d9ccc3bf57442333ddf38636daad902c89fe92f3b76fc124e3ded208f3ba7af3
parserVersion: 0.3.30
pythonVersion: 3.12.10
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "15.0.0b3"
VERSION = "15.0.0b4"
Loading
Loading