无法为Synapse Analytics调用暂停工作区预览

问题描述

我能够调用api来检查db状态,但是当我尝试在“ pause”端点上发帖时,我得到以下信息:

The client '7713...' with object id '7713...' has permission to perform action 'Microsoft.sql/servers/databases/pause/action' on scope '/subscriptions/9116.../resourceGroups/workspacemanagedrg-8b.../providers/Microsoft.sql/servers/syeduanalyticscisd3/databases/EduDW/pause'; however,the access is denied because of the deny assignment with name '8ba...' and Id '8ba...' at scope '/subscriptions/9116.../resourceGroups/workspacemanagedrg-8ba...

我无法找到和/或删除拒绝分配。 Synapse Analytics(工作区预览)是否无法访问暂停端点?

解决方法

用于Synapse Analytics的正确API是: https://docs.microsoft.com/en-us/rest/api/synapse/sqlpools

我可以通过使用此端点使其工作: https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/pause?api-version=2019-06-01-preview