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

ArmCognitiveServicesModelFactory.CommitmentTier 方法

定义

初始化 CommitmentTier 的新实例。

public static Azure.ResourceManager.CognitiveServices.Models.CommitmentTier CommitmentTier (string kind = default, string skuName = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel? hostingModel = default, string planType = default, string tier = default, int? maxCount = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota quota = default, Azure.ResourceManager.CognitiveServices.Models.CommitmentCost cost = default);
static member CommitmentTier : string * string * Nullable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountHostingModel> * string * string * Nullable<int> * Azure.ResourceManager.CognitiveServices.Models.CommitmentQuota * Azure.ResourceManager.CognitiveServices.Models.CommitmentCost -> Azure.ResourceManager.CognitiveServices.Models.CommitmentTier
Public Shared Function CommitmentTier (Optional kind As String = Nothing, Optional skuName As String = Nothing, Optional hostingModel As Nullable(Of ServiceAccountHostingModel) = Nothing, Optional planType As String = Nothing, Optional tier As String = Nothing, Optional maxCount As Nullable(Of Integer) = Nothing, Optional quota As CommitmentQuota = Nothing, Optional cost As CommitmentCost = Nothing) As CommitmentTier

参数

kind
String

资源的种类。

skuName
String

SKU 的名称。 例如 - P3。 它通常是字母+数字代码。

hostingModel
Nullable<ServiceAccountHostingModel>

帐户托管模型。

planType
String

承诺计划类型。

tier
String

承诺期承诺层。

maxCount
Nullable<Int32>

承诺期承诺最大计数。

quota
CommitmentQuota

认知服务帐户承诺配额。

cost
CommitmentCost

认知服务帐户承诺成本。

返回

用于模拟的新 CommitmentTier 实例。

适用于