Edit

Share via


New-AzConnectedLicenseProfileFeature

Create an in-memory object for ProductFeature.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionStatus

Indicates the current status of the product features.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ProductFeature