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

New-AzConnectedLicenseProfileFeature

Create an in-memory object for ProductFeature.

Syntax

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

Description

Create an in-memory object for ProductFeature.

Examples

Example 1: Create an object to pass into license profile

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

Create an object to pass into license profile

Parameters

-Name

Product feature name.

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

-SubscriptionStatus

Indicates the current status of the product features.

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

Outputs

ProductFeature