- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过 Powershell 在 Azure 中创建虚拟机,作为下个月参加 AZ-300 考试的准备工作的一部分。我正在运行 powershell 7.0.3 和 Azure Powershell 模块。这是一个 Visual Studio Azure 订阅 - 我过去曾在其中创建过 VM,但不是通过 Powershell 模块我在 Win10 机器上运行此程序并收到错误:New-AzVM:属性“securityProfile.encryptionAtHost”无效,因为未为此订阅启用“Microsoft.Compute/EncryptionAtHost”功能。
我没有尝试在主机上设置加密,并且根据此 cmdlet 上的文档,“EncryptionatHost”标志默认设置为 false。
New-AzVM -ResourceGroupName 'az-300-mw-test-pwsh' -name 'az-300-pwsh' -Location 'UKSouth' -VirtualNetworkName 'az-300-pwsh' -SubnetName 'default' -SecurityGroupName 'az-300-pwsh' -PublicIpAddressName 'az-300-pwsh' -OpenPorts 3389
最佳答案
看起来这是 Azure 方面的一个问题,随着 Az 4.6.1 和 Az.Compute 4.3.1 的发布,该问题很快就会得到解决,如相关 GitHub 问题中所述: https://github.com/Azure/azure-powershell/issues/12776
关于azure - New-AzVM 错误 - 属性 'securityProfile.encryptionAtHost' 无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63594275/
我正在尝试通过 Powershell 在 Azure 中创建虚拟机,作为下个月参加 AZ-300 考试的准备工作的一部分。我正在运行 powershell 7.0.3 和 Azure Powershe
我正在尝试通过 Powershell 在 Azure 中创建虚拟机,作为下个月参加 AZ-300 考试的准备工作的一部分。我正在运行 powershell 7.0.3 和 Azure Powershe
我是一名优秀的程序员,十分优秀!