azure-mgmt-cognitiveservices_15.0.0b4
Pre-release
Pre-release
15.0.0b4 (2026-07-21)
Bugs Fixed
ComputesOperations.begin_create_or_updatenow 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/readpermission, so callers allowed to create a
compute but not granted that read permission were shown a misleadingAuthorizationFailederror even
though the create succeeded. The 202 is now accepted and the long-running operation is tracked by reading
provisioningStatefrom thelistAPI, so it only needs thecomputes/readpermission that callers
already have. ThelistAPI is used rather than ageton the resource because aGETon a just-created
compute returns404 "Cluster not found"for an extended period while it provisions, whereaslist
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
withpolling=False.