尽管未达到限制,但Azure存储帐户请求受到限制

时间:2018-08-09 12:55:04

标签: azure azure-storage azure-powershell azure-rm

运行Set-AzureRmStorageAccount cmdlet时,我间歇性地遇到以下异常:

Set-AzureRmStorageAccount : The request is being throttled.
At D:\StorageAccount.psm1:36 char:4
+             Set-AzureRmStorageAccount -ResourceGroupName $Resource.Re ...
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Set-AzureRmStorageAccount], CloudExce 
   ption
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Management.Storage.SetAzureSt 
   orageAccountCommand

我正在运行的cmdlet是

Set-AzureRmStorageAccount -ResourceGroupName "RG" -Name "SA" -EnableHttpsTrafficOnly $true

因此,为了解决此问题,我将上述cmdlet放入了while循环中并执行了它。

但是,我立即再次开始看到节流错误,当我检查门户网站的总交易量时,它甚至还没有达到documentation中指定的限制:

    The following limits apply when performing management operations using the Azure Resource Manager only.

    Resource                                     Default Limit   
Storage account management operations (read)    800 per 5 minutes    
Storage account management operations (write)   200 per hour     
Storage account management operations (list)    100 per 5 minutes

azure门户的屏幕快照仅显示约75个请求,如下所示

Screenshot of requests to storage account from azure portal

有人可以帮助我理解为什么我这么快看到此节流错误,并且是否可以查看存储帐户的请求来源吗?

谢谢!

0 个答案:

没有答案