据我所知,查询允许在 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
最佳答案
关于powershell - 如何查找 Azure 区域中可用的最大更新域/故障域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49779604/