你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzVMwareAddonSrmPropertyObject

为 AddonSrmProperties 创建内存中对象。

语法

New-AzVMwareAddonSrmPropertyObject
   [-LicenseKey <String>]
   [<CommonParameters>]

说明

为 AddonSrmProperties 创建内存中对象。

示例

示例 1:为 Addon 属性参数创建本地 SRM 对象

New-AzVMwareAddonSrmPropertyObject -LicenseKey "YourLicenseKeyValue"

AddonType LicenseKey          ProvisioningState
--------- ----------          -----------------
SRM       YourLicenseKeyValue

为 Addon 属性参数创建本地 SRM 对象

参数

-LicenseKey

站点恢复管理器(SRM)许可证。

类型:String
Position:Named
默认值:None
必需:False
接受管道输入:False
接受通配符:False

输出

AddonSrmProperties