1

运行 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 循环中并执行它。

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

    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 个请求,如下所示

从 Azure 门户请求存储帐户的屏幕截图

有人可以帮助我理解为什么我这么快就看到了这个限制错误,以及是否有办法查看对存储帐户的请求来源?

谢谢!

4

0 回答 0