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

New-AzConnectedLicenseDetail

为 LicenseDetails 创建内存中对象。

语法

Default (默认值)

New-AzConnectedLicenseDetail
    [-Edition <String>]
    [-Processor <Int32>]
    [-State <String>]
    [-Target <String>]
    [-Type <String>]
    [-VolumeLicenseDetail <IVolumeLicenseDetails[]>]
    [<CommonParameters>]

说明

为 LicenseDetails 创建内存中对象。

示例

示例 1:获取 ESU 许可证的详细信息

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 :

获取 ESU 许可证的详细信息

参数

-Edition

描述许可证的版本。 这些值为标准或数据中心。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Processor

描述处理器数。

参数属性

类型:Int32
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-State

描述许可证的状态。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Target

描述许可证目标服务器。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Type

描述许可证核心类型(pCore 或 vCore)。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-VolumeLicenseDetail

批量许可证详细信息的列表。

参数属性

类型:

IVolumeLicenseDetails[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输出

LicenseDetails