New-AzConnectedLicenseDetail
Create an in-memory object for LicenseDetails.
Syntax
New-AzConnectedLicenseDetail
[-Edition <String>]
[-Processor <Int32>]
[-State <String>]
[-Target <String>]
[-Type <String>]
[-VolumeLicenseDetail <IVolumeLicenseDetails[]>]
[<CommonParameters>]
Description
Create an in-memory object for LicenseDetails.
Examples
Example 1: get the detail of an ESU license
New-AzConnectedLicenseDetail -State 'Activated' -Target 'Windows Server 2012' -Edition 'Datacenter' -Type 'pCore' -Processor 16
AssignedLicense :
Edition : Datacenter
ImmutableId :
Processor : 16
State : Activated
Target : Windows Server 2012
Type : pCore
VolumeLicenseDetail :
get the detail of an ESU license
Parameters
-Edition
Describes the edition of the license. The values are either Standard or Datacenter.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Processor
Describes the number of processors.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-State
Describes the state of the license.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Target
Describes the license target server.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
Describes the license core type (pCore or vCore).
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VolumeLicenseDetail
A list of volume license details.
Type: | IVolumeLicenseDetails[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell