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

ArmCognitiveServicesModelFactory.CognitiveServicesSkuChangeInfo 方法

定义

初始化 CognitiveServicesSkuChangeInfo 的新实例。

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuChangeInfo CognitiveServicesSkuChangeInfo (float? countOfDowngrades = default, float? countOfUpgradesAfterDowngrades = default, DateTimeOffset? lastChangedOn = default);
static member CognitiveServicesSkuChangeInfo : Nullable<single> * Nullable<single> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesSkuChangeInfo
Public Shared Function CognitiveServicesSkuChangeInfo (Optional countOfDowngrades As Nullable(Of Single) = Nothing, Optional countOfUpgradesAfterDowngrades As Nullable(Of Single) = Nothing, Optional lastChangedOn As Nullable(Of DateTimeOffset) = Nothing) As CognitiveServicesSkuChangeInfo

参数

countOfDowngrades
Nullable<Single>

获取降级的计数。

countOfUpgradesAfterDowngrades
Nullable<Single>

获取降级后的升级计数。

lastChangedOn
Nullable<DateTimeOffset>

获取上次更改日期。

返回

用于模拟的新 CognitiveServicesSkuChangeInfo 实例。

适用于