共用方式為


New-AzConnectedLicenseProfileFeature

建立 ProductFeature 的記憶體內部物件。

語法

New-AzConnectedLicenseProfileFeature
   [-Name <String>]
   [-SubscriptionStatus <String>]
   [<CommonParameters>]

Description

建立 ProductFeature 的記憶體內部物件。

範例

範例 1:建立物件以傳遞至授權配置檔

$productfeature = New-AzConnectedLicenseProfileFeature -Name "Hotpatch" -SubscriptionStatus "Enable"
$productfeature | Should -Not -BeNullOrEmpty

建立物件以傳遞至授權配置檔

參數

-Name

產品名稱。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SubscriptionStatus

指出產品功能的目前狀態。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出