gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-02 23:08:35 25 4
gpt4 key购买 nike

据我所知,查询允许在 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

最佳答案

也许你可以在这个 article 中找到最大的故障域:

enter image description here enter image description here

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

关于powershell - 如何查找 Azure 区域中可用的最大更新域/故障域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49779604/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com