创建Azure NAT网关时,SKU字段的价值应该是什么?
我想创建一个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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的, nat 仅与标准 SKU公共IP,公共IP前缀和负载平衡器资源兼容。
不支持与基本和其他 SKU的一起工作。
您可以参考此msft- 文档限制。
您也可以参考此Terraform- 文档这是Azure PowerShell上的包装器,清楚地提到Nat Sku Field仅支持标准。
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.