diff --git a/az_pre.sh b/az_pre.sh new file mode 100644 index 0000000..f6c3385 --- /dev/null +++ b/az_pre.sh @@ -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 \ No newline at end of file