创建Azure NAT网关时,SKU字段的价值应该是什么?

发布于 2025-01-24 20:45:01 字数 585 浏览 4 评论 0原文

我想创建一个NAT网关,并且有一个称为 sku 的参数。这是同样的代码

$nat = @{
        ResourceGroupName = $coreResourceGroupName
        Name = $natGatewayName
        Sku = 'Standard'
        Location = $location
        PublicIpAddress = $publicIP
    }
$natGateway = New-AzNatGateway @nat

,我想知道我是否可以给出 'premium' 代替 '标准'对于 sku 字段。我已经谷歌搜索并看到了多个示例,但是我看到他们在任何地方都使用 '标准'

那么,在创建NAT网关时,Paramenter 'Sku' 的可接受值是什么?

I want to create a NAT gateway and there is a parameter called SKU is there in the list of parameters. Here is the code for the same

$nat = @{
        ResourceGroupName = $coreResourceGroupName
        Name = $natGatewayName
        Sku = 'Standard'
        Location = $location
        PublicIpAddress = $publicIP
    }
$natGateway = New-AzNatGateway @nat

Now I am wondering whether I can give 'Premium' in place of 'Standard' for the Sku field. I have googled and seen multiple examples, but everywhere I see they are using 'Standard' only.

So what are the acceptable values of the paramenter 'Sku' while creating NAT gateway?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

塔塔猫 2025-01-31 20:45:01
So what are the acceptable values of the paramenter _**'Sku'**_ while creating NAT gateway?

是的, nat 仅与标准 SKU公共IP,公共IP前缀和负载平衡器资源兼容。
不支持与基本和其他 SKU的一起工作。

您可以参考此msft- 文档限制。

您也可以参考此Terraform- 文档这是Azure PowerShell上的包装器,清楚地提到Nat Sku Field仅支持标准。

So what are the acceptable values of the paramenter _**'Sku'**_ while creating NAT gateway?

Yes, NAT is only compatible with standard SKU public IP, public IP prefix, and load balancer resources.
It is not supported to work with basic and other SKU's.

You can refer this MSFT-Document for limitations.

You can also refer to this Terraform-Document which is a wrapper over azure powershell where it's clearly mentioned that NAT SKU field supports Standard only.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文