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

New-AzVMwareAddonSrmPropertyObject

Create an in-memory object for AddonSrmProperties.

Syntax

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

Description

Create an in-memory object for AddonSrmProperties.

Examples

Example 1: Create a local SRM object for the Addon Property parameter

New-AzVMwareAddonSrmPropertyObject -LicenseKey "YourLicenseKeyValue"

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

Create a local SRM object for the Addon Property parameter

Parameters

-LicenseKey

The Site Recovery Manager (SRM) license.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

AddonSrmProperties