添加 az_pre.sh
This commit is contained in:
1 parent
6a06a5f58a
commit
e126617de6
1 file changed
+8
@@ -0,0 +1,8 @@
|
||||
#请在终端执行以下命令,告诉 Azure 你的订阅需要使用“标准安全类型”:
|
||||
az feature register --namespace Microsoft.Compute --name UseStandardSecurityType
|
||||
|
||||
#注册不是实时的,通常需要 10-15 分钟。请反复运行下面的命令检查状态:
|
||||
az feature show --namespace Microsoft.Compute --name UseStandardSecurityType
|
||||
|
||||
#当状态变为 Registered 后,执行一次刷新命令以确保生效:
|
||||
az provider register -n Microsoft.Compute
|
||||
Reference in new issue
Block a user