Modifier

Partager via


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