如何查找Azure区域中可用的最大更新域/故障域

时间:2018-04-11 15:57:30

标签: powershell azure azure-powershell azure-availability-set

我知道查询允许在Azure中创建可用性集的最大更新域或故障域的唯一方法是传递非常大的值,然后解析错误消息。有没有更好的方法来查询最大值?

例如,执行New-AzureRmAvailabilitySet -PlatformUpdateDomainCount 100 -PlatformFaultDomainCount 100 <other parameters>将失败,并显示如下错误:

ErrorCode: InvalidParameter
ErrorMessage: The specified fault domain count 100 must fall in the range 1 to 2.
StatusCode: 400
ReasonPhrase: Bad Request

1 个答案:

答案 0 :(得分:0)

也许您可以在article中找到最大的错误域:

enter image description here enter image description here

默认情况下,最大更新域 20