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

ArmCognitiveServicesModelFactory.CognitiveServicesAccountDeploymentProperties 方法

定义

初始化 CognitiveServicesAccountDeploymentProperties 的新实例。

public static Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProperties CognitiveServicesAccountDeploymentProperties (Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProvisioningState? provisioningState = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel model = default, Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings scaleSettings = default, System.Collections.Generic.IReadOnlyDictionary<string,string> capabilities = default, string raiPolicyName = default, Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit callRateLimit = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule> rateLimits = default, Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption? versionUpgradeOption = default);
static member CognitiveServicesAccountDeploymentProperties : Nullable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProvisioningState> * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel * Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentScaleSettings * System.Collections.Generic.IReadOnlyDictionary<string, string> * string * Azure.ResourceManager.CognitiveServices.Models.ServiceAccountCallRateLimit * seq<Azure.ResourceManager.CognitiveServices.Models.ServiceAccountThrottlingRule> * Nullable<Azure.ResourceManager.CognitiveServices.Models.DeploymentModelVersionUpgradeOption> -> Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentProperties
Public Shared Function CognitiveServicesAccountDeploymentProperties (Optional provisioningState As Nullable(Of CognitiveServicesAccountDeploymentProvisioningState) = Nothing, Optional model As CognitiveServicesAccountDeploymentModel = Nothing, Optional scaleSettings As CognitiveServicesAccountDeploymentScaleSettings = Nothing, Optional capabilities As IReadOnlyDictionary(Of String, String) = Nothing, Optional raiPolicyName As String = Nothing, Optional callRateLimit As ServiceAccountCallRateLimit = Nothing, Optional rateLimits As IEnumerable(Of ServiceAccountThrottlingRule) = Nothing, Optional versionUpgradeOption As Nullable(Of DeploymentModelVersionUpgradeOption) = Nothing) As CognitiveServicesAccountDeploymentProperties

参数

provisioningState
Nullable<CognitiveServicesAccountDeploymentProvisioningState>

获取调用操作时资源的状态。

model
CognitiveServicesAccountDeploymentModel

认知服务帐户部署模型的属性。

scaleSettings
CognitiveServicesAccountDeploymentScaleSettings

认知服务帐户部署模型的属性。

capabilities
IReadOnlyDictionary<String,String>

功能。

raiPolicyName
String

RAI 策略的名称。

callRateLimit
ServiceAccountCallRateLimit

调用速率限制认知服务帐户。

versionUpgradeOption
Nullable<DeploymentModelVersionUpgradeOption>

部署模型版本升级选项。

返回

用于模拟的新 CognitiveServicesAccountDeploymentProperties 实例。

适用于